|
@@ -44,7 +44,7 @@ public interface SiManageDao {
|
|
|
"and b.times=a.times and b.ledger_sn=a.ledger_sn and (b.fund_pay_type='999996' or b.setl_proc_info='999996'))" +
|
|
|
"from t_si_setlinfo a where insutype=#{insutype} and clr_type=#{clrType} and revoked=0 " +
|
|
|
"and clr_optins=#{clrOptins} and setl_time>=#{start} and setl_time<=#{end} and fund_pay_sumamt!=0 " +
|
|
|
- "and (insuplc_admdvs='439900' or insuplc_admdvs like '4301%')")
|
|
|
+ "and insuplc_admdvs like '43%' ")
|
|
|
List<InstSetlLdgChkBrf> selectSetlChkBrfsWithInsutype(@Param("clrType") String clrType,
|
|
|
@Param("insutype") String insutype,
|
|
|
@Param("clrOptins") String clrOptins,
|
|
@@ -55,7 +55,7 @@ public interface SiManageDao {
|
|
|
"hospPay=(select sum(b.fund_payamt) from t_si_setldetail b where b.pat_no=a.pat_no and b.times=a.times " +
|
|
|
"and b.ledger_sn=a.ledger_sn and (b.fund_pay_type='999996' or b.setl_proc_info='999996'))" +
|
|
|
"from t_si_setlinfo a where clr_type=#{clrType} and revoked=0 and clr_optins=#{clrOptins} and fund_pay_sumamt!=0 " +
|
|
|
- "and setl_time>=#{start} and setl_time<=#{end} and (insuplc_admdvs='439900' or insuplc_admdvs like '4301%')")
|
|
|
+ "and setl_time>=#{start} and setl_time<=#{end} and insuplc_admdvs like '43%' ")
|
|
|
List<InstSetlLdgChkBrf> selectSetlChkBrfs(@Param("clrType") String clrType,
|
|
|
@Param("clrOptins") String clrOptins,
|
|
|
@Param("start") String start,
|