lighter преди 4 години
родител
ревизия
6578a0210f
променени са 3 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 2 1
      .gitignore
  2. 3 0
      src/main/java/thyyxxk/webserver/service/medicalinsurance/SiQueryService.java
  3. 1 1
      src/main/resources/application.yml

+ 2 - 1
.gitignore

@@ -2,4 +2,5 @@
 serverlog
 target
 web-server.iml
-src/test
+src/test
+*.zip

+ 3 - 0
src/main/java/thyyxxk/webserver/service/medicalinsurance/SiQueryService.java

@@ -680,6 +680,9 @@ public class SiQueryService {
     }
 
     public ResultVo querySiSetlList(SetlIndex index) {
+        if (StringUtil.isBlank(index.getPsnNo())) {
+            index.setPsnNo(dao.selectPsnNo(index.getPatNo()));
+        }
         YearCuminfo cuminfo = getYearCuminfo(index.getPsnNo());
         if (null == cuminfo) {
             return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "医保中心出错:获取人员累计信息失败!");

+ 1 - 1
src/main/resources/application.yml

@@ -8,7 +8,7 @@ spring:
     cache: false
   datasource:
     dynamic:
-      primary: his
+      primary: dev
       strict: false
       datasource:
         his: