Преглед на файлове

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 };
                 }