Procházet zdrojové kódy

门诊报表明细优化

lihong před 1 rokem
rodič
revize
c3b98f39f2

+ 6 - 6
src/main/java/cn/hnthyy/thmz/mapper/his/mz/MzmxReportMapper.java

@@ -69,7 +69,7 @@ public interface MzmxReportMapper {
             "                                item_no, " +
             "                                bill_item_code " +
             "                         from mz_charge_detail " +
-            "                         where bill_item_code != 'TC' and pay_mark != '9' " +
+            "                         where bill_item_code != 'TC'  " +
             "                         group by patient_id, times, receipt_no, pay_mark, serial_no, charge_date, charge_item_code, " +
             "                                  quantity, unit_price, drug_win, warn_dept, exec_dept, doctor_code, item_no, bill_item_code) b, " +
             "                        zd_charge_item c " +
@@ -155,7 +155,7 @@ public interface MzmxReportMapper {
             "                                bill_item_code, " +
             "                                serial " +
             "                         from mz_charge_detail " +
-            "                         where bill_item_code != 'TC' and pay_mark != '9' " +
+            "                         where bill_item_code != 'TC'  " +
             "                         group by patient_id, times, receipt_no, pay_mark, serial_no, charge_date, charge_item_code, " +
             "                                  quantity, unit_price, drug_win, warn_dept, exec_dept, doctor_code, item_no, bill_item_code, serial) b, " +
             "                        yp_zd_dict c " +
@@ -230,7 +230,7 @@ public interface MzmxReportMapper {
             "               item_no, " +
             "               bill_item_code " +
             "        from mz_charge_detail " +
-            "        where bill_item_code != 'TC' and pay_mark != '9' " +
+            "        where bill_item_code != 'TC'  " +
             "        group by patient_id, times, receipt_no, pay_mark, serial_no, charge_date, charge_item_code, " +
             "                 quantity, unit_price, drug_win, warn_dept, exec_dept, doctor_code, item_no, bill_item_code) b, " +
             "       zd_charge_item c " +
@@ -298,7 +298,7 @@ public interface MzmxReportMapper {
             "               bill_item_code, " +
             "               serial " +
             "        from mz_charge_detail " +
-            "        where bill_item_code != 'TC' and pay_mark != '9' " +
+            "        where bill_item_code != 'TC'  " +
             "        group by patient_id, times, receipt_no, pay_mark, serial_no, charge_date, charge_item_code, " +
             "                 quantity, unit_price, drug_win, warn_dept, exec_dept, doctor_code, item_no, bill_item_code, serial) b, " +
             "       yp_zd_dict c " +
@@ -371,7 +371,7 @@ public interface MzmxReportMapper {
             "               item_no, " +
             "               bill_item_code " +
             "        from mz_charge_detail " +
-            "        where bill_item_code != 'TC' and pay_mark != '9' " +
+            "        where bill_item_code != 'TC'  " +
             "        group by patient_id, times, receipt_no, pay_mark, serial_no, charge_date, charge_item_code, " +
             "                 quantity, unit_price, drug_win, warn_dept, exec_dept, doctor_code, item_no, bill_item_code) b, " +
             "       zd_charge_item c " +
@@ -439,7 +439,7 @@ public interface MzmxReportMapper {
             "               bill_item_code, " +
             "               serial " +
             "        from mz_charge_detail " +
-            "        where bill_item_code != 'TC' and pay_mark != '9' " +
+            "        where bill_item_code != 'TC'  " +
             "        group by patient_id, times, receipt_no, pay_mark, serial_no, charge_date, charge_item_code, " +
             "                 quantity, unit_price, drug_win, warn_dept, exec_dept, doctor_code, item_no, bill_item_code, serial) b, " +
             "       yp_zd_dict c " +