lighter 3 vuotta sitten
vanhempi
commit
5e6eda8f97

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/inpatient/DismissDao.java

@@ -131,7 +131,7 @@ public interface DismissDao {
                             @Param("ledgerSn") int ledgerSn);
 
     @Select("select isnull(sum(charge_fee),0) from zy_detail_charge where inpatient_no=#{patNo} and " +
-            "admiss_times=#{times} and ledger_sn=#{ledgerSn} and isnull(charge_status, '1') <> '1' and " +
+            "admiss_times=#{times} and ledger_sn=#{ledgerSn} and isnull(charge_status, '1')!='1' and " +
             "isnull(trans_flag_yb,0)!=2 and charge_date ${compare} #{timeLimit}")
     BigDecimal selectOverTimeLimitFee(@Param("patNo") String patNo,
                                       @Param("times") Integer times,

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/medicalinsurance/SiZyDao.java

@@ -194,7 +194,7 @@ public interface SiZyDao {
             "rtrim(a.dis_diag) as diagCode, " +
             "rtrim(a.dis_diag_comment) as diagName, " +
             "diagDept=(select rtrim(dept_code) from a_employee_mi where code=a.op_id_code), " +
-            "diseDorNo=(select rtrim(isnull(yb_code,code)) from a_employee_mi where code=oper_id), " +
+            "diseDorNo=(select rtrim(isnull(yb_code,code)) from a_employee_mi where code=op_id_code), " +
             "diseDorName=(select rtrim(name) from a_employee_mi where code=a.op_id_code), " +
             "a.op_diag_date as diagTime " +
             "from zy_dis_diag_yb a, t_si_pat_info b " +