소스 검색

Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop

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

+ 5 - 3
OASystem/OASystem.Infrastructure/Repositories/Groups/CarTouristGuideGroundRepository.cs

@@ -160,9 +160,9 @@ namespace OASystem.Infrastructure.Repositories.Groups
                     return result;
                 }
 
-                if (!(DateTime.Compare(start,end) < 0))
+                if (DateTime.Compare(end, start) < 0)
                 {
-                    result.Msg = "服务时间区间有误!开始时间应小于结束时间!";
+                    result.Msg = "服务时间区间有误!结束时间不应该小于开始时间!";
                     result.Code = -1;
                     return result;
                 }
@@ -493,7 +493,9 @@ namespace OASystem.Infrastructure.Repositories.Groups
                         carTouristGuides = carTouristGuides,
                         CreditCardPayment = _CreditCardPayment ??= new CarTouristCreditCardPaymentView(),
                         ssdv,
-                        checkedItemId
+                        checkedItemId,
+                        NationalTravelFee,
+                        rate
                     };
                     return result = new Result() { Code = 0, Msg = "查询成功", Data = data };
                 }