Forráskód Böngészése

提交药品单查询bug

梁欢 1 hete
szülő
commit
6ef46ac12e

+ 1 - 1
src/main/java/thyyxxk/webserver/service/zhuyuanyiji/MedicineManagementService.java

@@ -87,7 +87,7 @@ public class MedicineManagementService {
             qw.gt("b.drug_flag ","0");
         }
         if(params.getChargeCodes().equals("3")){
-            qw.apply("b.drug_flag = '' or b.drug_flag is null and b.infusion_flag is null or b.infusion_flag = 0");
+            qw.apply("(b.drug_flag = '' or b.drug_flag is null) and (b.infusion_flag is null or b.infusion_flag = 0)");
         }
         if(params.getChargeCodes().equals("4")){
             qw.gt("b.infusion_flag ","0");