chengyao 3 年 前
コミット
df887c1628

+ 1 - 1
src/main/java/com/diagbot/dto/GetEntryDefectImproveDeptDTO.java

@@ -80,6 +80,6 @@ public class GetEntryDefectImproveDeptDTO {
      * 改善率
      */
     @Excel(name = "改善率", width = 10d, orderNum = "9")
-    private String handleStr;
+    private String handleStr= "0.00%";
 
 }

+ 15 - 0
src/main/java/com/diagbot/facade/DataAnalysisFacade.java

@@ -642,6 +642,12 @@ public class DataAnalysisFacade {
     }
 
     private void clickInnerPageSet(GetQcClickInnerPageVO getQcClickInnerPageVO) {
+        if(StringUtils.isNotBlank(getQcClickInnerPageVO.getDoctorId())){
+            getQcClickInnerPageVO.setDoctorId(transferredMeaning(getQcClickInnerPageVO.getDoctorId()));
+        }
+        if(StringUtils.isNotBlank(getQcClickInnerPageVO.getDoctorName())){
+            getQcClickInnerPageVO.setDoctorName(transferredMeaning(getQcClickInnerPageVO.getDoctorName()));
+        }
         //入参验证
         SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
         Date startDate = null;
@@ -658,6 +664,15 @@ public class DataAnalysisFacade {
         getQcClickInnerPageVO.setHospitalId(Long.parseLong(SysUserUtils.getCurrentHospitalID()));
     }
 
+   public String transferredMeaning(String tranStr){
+          if( tranStr.contains("%")){
+              tranStr = tranStr.replace("%", "\\%");
+          }
+           if( tranStr.contains("_")){
+              tranStr = tranStr.replace("_","\\_");
+           }
+       return tranStr;
+    };
     private void entryDefectSet(GetEntryDefectImproveVO getEntryDefectImproveVO) {
         getEntryDefectImproveVO.setCurrent(1L);
         getEntryDefectImproveVO.setSize(Long.MAX_VALUE);

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

@@ -164,7 +164,7 @@ oath.self.address: http://${myhost}:${server.port}
 
 # 加解密开关
 encrypt:
-  enable: true
+  enable: false
 
 swagger:
   enable: true