Browse Source

添加一个passToken

lighter 10 months ago
parent
commit
3cfd37f1da

+ 1 - 0
src/main/java/thyyxxk/webserver/controller/medicalinsurance/SiQueryController.java

@@ -77,6 +77,7 @@ public class SiQueryController {
         return service.queryDiagnosisInfo(q);
     }
 
+    @PassToken
     @PostMapping("/querySettlementInfo")
     public ResultVo<SetlInfo> querySettlementInfo(@RequestBody BscQryPrm q) {
         return service.querySettlementInfo(q);

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

@@ -337,14 +337,14 @@ public class SiQueryService {
         if (null != medType) {
             setlInfo.setMedTypeName(medType.getName());
         }
-        Insutype insutype = Insutype.get(setlInfo.getInsutype());
-        if (null != insutype) {
-            setlInfo.setInsutypeName(insutype.getName());
-        }
         PsnType psnType = PsnType.get(setlInfo.getPsnType());
         if (null != psnType) {
             setlInfo.setPsnTypeName(psnType.getName());
         }
+        Insutype insutype = Insutype.get(setlInfo.getInsutype());
+        if (null != insutype) {
+            setlInfo.setInsutypeName(insutype.getName());
+        }
 
         JSONArray setldetail = output.getJSONArray("setldetail");
         if (null != setldetail && !setldetail.isEmpty()) {