فهرست منبع

feature: 门诊缴费返回空list测试

wuyongyi 2 سال پیش
والد
کامیت
69e363003e
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      onemini-hospital-empty/src/main/java/com/ywt/alipaympapi/service/impl/IsvPayServiceImpl.java

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

@@ -357,7 +357,10 @@ public class IsvPayServiceImpl implements IsvPayService {
                         long day = 0;
                         day = DateUtil.getDaySub(request.getEndTime(), request.getStartTime());
                         if (day < -15) {
-                            throw new AppMessageException("请选择15天以内");
+//                            throw new AppMessageException("请选择15天以内");
+                            Pagination pagination = new Pagination(pageIndex, pageSize, total);
+                            PageVO<PayHistoryResponseData> res = new PageVO<>(pagination, list);
+                            return res;
                         }
                         GetOutpatientListRequest req3 = GetOutpatientListRequest.newBuilder()
                                 .setPatientId(hisPatientId)