소스 검색

地接费用部分代码修改

yuanrf 8 달 전
부모
커밋
8e32c72901
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      OASystem/OASystem.Infrastructure/Repositories/Groups/CarTouristGuideGroundRepository.cs

+ 2 - 1
OASystem/OASystem.Infrastructure/Repositories/Groups/CarTouristGuideGroundRepository.cs

@@ -1070,7 +1070,8 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 foreach (var item in carTouristList)
                 foreach (var item in carTouristList)
                 {
                 {
 
 
-                    Grp_CarTouristGuideGroundReservationsContent QueryData = _sqlSugar.Queryable<Grp_CarTouristGuideGroundReservationsContent>().First(a => a.SId == item.SId && a.Id == item.Id && a.DiId == item.DiId && a.IsDel == 0);
+                    Grp_CarTouristGuideGroundReservationsContent QueryData = _sqlSugar.Queryable<Grp_CarTouristGuideGroundReservationsContent>().First(a => a.SId == item.SId && a.Id == item.Id && a.DiId == item.DiId
+                    && a.CTGGRId == dto.CTGGRId && a.IsDel == 0);
                     if (QueryData == null)
                     if (QueryData == null)
                     {
                     {
                         int id = await _sqlSugar.Insertable(item).ExecuteReturnIdentityAsync();
                         int id = await _sqlSugar.Insertable(item).ExecuteReturnIdentityAsync();