|
@@ -224,7 +224,8 @@ public interface UpIdCollectionDao {
|
|
|
"rtrim(a.pat_no) pat_no,a.times,ledger_sn,psn_name,gend,brdy,insutype,psn_type,mdtrt_id,setl_id,setl_time, " +
|
|
|
" a.med_type,medfee_sumamt,fund_pay_sumamt, " +
|
|
|
" 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=small_dept), " +
|
|
|
+ " outDeptName=(select rtrim(name) from zd_unit_code where code=small_dept)," +
|
|
|
+ " small_dept as out_dept, " +
|
|
|
" 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," +
|