Преглед на файлове

提交药品单查询bug

梁欢 преди 1 седмица
родител
ревизия
6ef46ac12e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/thyyxxk/webserver/service/zhuyuanyiji/MedicineManagementService.java

+ 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");