username@email.com
2025-04-27 15eb82df2d6ec539e9d4245bfe08d531e8eb6379
修改培训订单占多个座位
1个文件已修改
14 ■■■■■ 已修改文件
zhengcaioa/Services/OrderBanciOrderService.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zhengcaioa/Services/OrderBanciOrderService.cs
@@ -44,12 +44,16 @@
                    if (!string.IsNullOrEmpty(dto.SeatID))
                    {
                        var orderBanciZuowei = _context.OrderBanciZuoweis.Where(x => x.RecStatus == "A" && x.BanciId == dto.BanciId && x.ZuoweiId == dto.SeatID).FirstOrDefault();
                        if (orderBanciZuowei != null)
                        var seatids = dto.SeatID.Trim(',').Split(',');
                        foreach (var seatid in seatids)
                        {
                            orderBanciZuowei.Status = "1";
                            orderBanciZuowei.Modifier = dto.Creater;
                            orderBanciZuowei.Modifytime = dto.Createtime;
                            var orderBanciZuowei = _context.OrderBanciZuoweis.Where(x => x.RecStatus == "A" && x.BanciId == dto.BanciId && x.ZuoweiId == seatid).FirstOrDefault();
                            if (orderBanciZuowei != null)
                            {
                                orderBanciZuowei.Status = "1";
                                orderBanciZuowei.Modifier = dto.Creater;
                                orderBanciZuowei.Modifytime = dto.Createtime;
                            }
                        }
                    }