username@email.com
昨天 7b52260c2a83d23adb5447a9e9848d90b4dc018c
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;
                            }
                        }
                    }
                      
@@ -167,6 +171,8 @@
                              && (string.IsNullOrWhiteSpace(searchEntity.BanciId) || a.BanciId == searchEntity.BanciId.Trim())
                               && (string.IsNullOrWhiteSpace(searchEntity.Quyu) || a.Shenfenzheng.Contains(searchEntity.Quyu.Trim()))
                               && ((searchEntity.Kechengleixings==null|| searchEntity.Kechengleixings.Length == 0) || searchEntity.Kechengleixings.Split(new char[] { ',' }).Contains(a.KechengleixingId))