Browse Source

会诊费用级别问题

xiaochan 11 months ago
parent
commit
d3e0338f88

+ 3 - 3
src/main/java/thyyxxk/webserver/dao/his/inpatient/casefrontsheet/JieShouHuiZhenDao.java

@@ -67,7 +67,7 @@ public interface JieShouHuiZhenDao {
             "        from a_employee_mi with (nolock) " +
             "        where code = hz_doctor2)                                                                            hz_doctor2_name, " +
             "       hz_doctor2, " +
-            "       hz_date," +
+            "       hz_date,dept_code," +
             "       hz_level," +
             "       hz_level_name = (select rtrim(name) from ysh_zd_hz_level where code = hz_level)," +
             "       cast(act_order_no AS decimal)  as act_order_no " +
@@ -104,8 +104,8 @@ public interface JieShouHuiZhenDao {
             "                               infant_flag, charge_status, charge_fee, occ_time, act_order_no, dept_code, ward_code,\n" +
             "                               order_count, exec_unit)\n" +
             "values (#{inpatientNo}, #{admissTimes}, NULL, 0, #{chargeDate}, #{opIdCode}, #{chargeCode},\n" +
-            "        #{infantflag, '1', (SELECT charge_amount FROM zd_charge_item where code = '${chargeCode}'), getdate(), #{actOrderNo},\n" +
+            "        #{infantFlag}, '1', (SELECT charge_amount FROM zd_charge_item where code = '${chargeCode}'), getdate(), #{actOrderNo},\n" +
             "        #{deptCode}, #{deptCode},\n" +
-            "        1, #{execUnit}})")
+            "        1, #{execUnit})")
     void insertYzZyPatientFee(YzZyPatientFee fee);
 }

+ 0 - 3
src/main/java/thyyxxk/webserver/service/inpatient/casefrontsheet/JieShouHuiZhenService.java

@@ -147,9 +147,6 @@ public class JieShouHuiZhenService implements Assertion {
         dao.insertYzZyPatientFee(fee);
     }
 
-
-//    public void insert
-
     /**
      * @param code 医嘱编码
      * @return 返回会诊级别

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

@@ -15,7 +15,7 @@ spring:
     cache: false
   datasource:
     dynamic:
-      primary: his
+      primary: dev
       strict: false
       datasource:
         his: