yuanrf пре 1 година
родитељ
комит
d2e4cbdc35

+ 4 - 0
OASystem/OASystem.Infrastructure/Repositories/Groups/CarTouristGuideGroundRepository.cs

@@ -169,6 +169,9 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 //List<SetDataInfoView> _TableInitialization = _mapper.Map<List<SetDataInfoView>>(TableInitialization);
                 //_TableInitialization= _TableInitialization.OrderBy(a=>a.Name).ToList();
 
+                List<Sys_SetData> ssd = _sqlSugar.Queryable<Sys_SetData>().Where(x => x.STid == 78).ToList();
+                List<SetDataInfoView> ssdv = _mapper.Map<List<Sys_SetData>,List<SetDataInfoView>>(ssd);
+
                 List<Grp_CarTouristGuideGroundReservationsContent> grp_CarTouristsContent = _sqlSugar.Queryable<Grp_CarTouristGuideGroundReservationsContent>().Where(a => a.IsDel == 0 && a.CTGGRId == dto.Id).ToList();
                 List<CarTouristGuideGroundReservationsContentView> carTouristGuides = _mapper.Map<List<CarTouristGuideGroundReservationsContentView>>(grp_CarTouristsContent);
 
@@ -233,6 +236,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
                     CreditCardPayment = _CreditCardPayment,
                     start,
                     end,
+                    ssdv,
                 };
 
                 return result = new Result() { Code = 0, Msg = "查询成功",Data=data };