Ver código fonte

feature: 预约记录列表数目

wuyongyi 2 anos atrás
pai
commit
8060d75c5c

+ 1 - 0
onemini-hospital-empty/src/main/java/com/ywt/alipaympapi/service/impl/IsvPayServiceImpl.java

@@ -338,6 +338,7 @@ public class IsvPayServiceImpl implements IsvPayService {
                         if (res3.getCode() != ResultCode.SUCCEED_VALUE) {
                             throw new RuntimeException(res3.getMsg());
                         }
+                        total = res3.getPaymentList().size();
                         for (PaymentItem payItem : res3.getPaymentList()) {
                             PayHistoryResponseData data = new PayHistoryResponseData();
                             data.setStatus(status);

+ 1 - 1
onemini-hospital-empty/src/main/java/com/ywt/alipaympapi/service/impl/NucleicServiceImpl.java

@@ -75,7 +75,7 @@ public class NucleicServiceImpl implements NucleicService {
 
         int hospitalId = BizUtil.getCurrentHospitalId();
         if (Checker.isNone(request.getDeptCode())) {
-            throw new AppMessageException("depetCode不能为空");
+            throw new AppMessageException("deptCode不能为空");
         }
         String doctorCode = "";
         String serviceCode = "";