|
|
@@ -353,7 +353,7 @@ public interface UpIdCollectionDao extends BaseMapper<SetlinfoUpld> {
|
|
|
" acct_pay,psn_cash_pay,clr_optins,clr_optins_name = (select name from t_region where code=clr_optins), " +
|
|
|
" outDeptName=(select rtrim(name) from zd_unit_code where code=isnull(zk_ward,small_dept))," +
|
|
|
" rtrim(isnull(zk_ward,small_dept)) as out_dept," +
|
|
|
- " insuplc_admdvs, " +
|
|
|
+ " insuplc_admdvs,bmy_bz, " +
|
|
|
" setl_list_id,datediff(day ,b.admiss_date ,b.dis_date) as act_ipt_days,b.operation,b.dec_type," +
|
|
|
" id,req_op_id,rtrim(req_op_name) req_op_name,req_op_date,req_remark," +
|
|
|
"audit_staff,audit_name,audit_date,audit_remark,audit_flag," +
|
|
|
@@ -998,4 +998,7 @@ public interface UpIdCollectionDao extends BaseMapper<SetlinfoUpld> {
|
|
|
Integer queryCountTCaseFrontsheetMain(@Param("inpatientNo") String inpatientNo, @Param("admissTimes") Integer admissTimes);
|
|
|
@Select(" select medfee_sumamt from t_si_setlinfo where pat_no = #{patNo} and times =#{times} and ledger_sn = #{ledgerSn}")
|
|
|
BigDecimal getsetlTotalFee(@Param("patNo") String patNo, @Param("times") Integer times,@Param("ledgerSn")Integer ledgerSn);
|
|
|
+
|
|
|
+ @Update(" update t_si_setlinfo set bmy_bz =#{bmyBz} where pat_no=#{patNo} and times =#{times} and ledger_sn=#{ledgerSn} ")
|
|
|
+ void updateBmyBz(@Param("patNo") String patNo, @Param("times")Integer times, @Param("ledgerSn")Integer ledgerSn, @Param("bmyBz")String bmyBz);
|
|
|
}
|