浏览代码

修改参数传入diag若为null则设为""

lipc 5 年之前
父节点
当前提交
c54c7e6b3e
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tran-service/src/main/java/com/diagbot/web/InquiryInfoController.java

+ 3 - 0
tran-service/src/main/java/com/diagbot/web/InquiryInfoController.java

@@ -248,6 +248,9 @@ public class InquiryInfoController {
     @PostMapping("/getDataService")
     @PostMapping("/getDataService")
     @SysLogger("getDataService")
     @SysLogger("getDataService")
     public RespDTO<String> getDataService(@RequestBody PushJoinVO pushJoinVO) {
     public RespDTO<String> getDataService(@RequestBody PushJoinVO pushJoinVO) {
+        if(pushJoinVO.getDiag() == null){
+            pushJoinVO.setDiag("");
+        }
         GetDiseaseNameVO getDiseaseNameVO = new GetDiseaseNameVO();
         GetDiseaseNameVO getDiseaseNameVO = new GetDiseaseNameVO();
         LisPacsInfoForDJVO lisPacsInfoForDJVO = new LisPacsInfoForDJVO();
         LisPacsInfoForDJVO lisPacsInfoForDJVO = new LisPacsInfoForDJVO();
         List<LisConfigDTO> lisConfigDTO;
         List<LisConfigDTO> lisConfigDTO;