|
@@ -46,7 +46,7 @@ public interface SiSettleApplyDao {
|
|
|
"and a.ledger_sn=b.ledger_sn and a.pat_no=c.inpatient_no")
|
|
|
List<SiSettleApply> selectUnhandledApplies();
|
|
|
|
|
|
- @Select("select a.pat_no,a.times,a.ledger_sn,a.input_staff,a.input_comment,a.input_datetime,a.status,a.handle_staff, " +
|
|
|
+ @Select("select a.pat_no,a.times,a.ledger_sn,a.input_staff,a.input_comment,a.input_datetime,a.status,a.handle_staff,a.acct_used_flag, " +
|
|
|
"a.handle_comment,a.handle_datetime,a.type,a.settle_datetime,b.med_type, b.insuplc_admdvs,b.insutype,b.mdtrt_id, " +
|
|
|
"detailTotalCharge=(select isnull(sum(charge_fee),0) from zy_detail_charge c with(nolock) where c.inpatient_no=a.pat_no " +
|
|
|
"and c.admiss_times=a.times and c.ledger_sn=a.ledger_sn), " +
|