|
@@ -46,7 +46,7 @@ public interface SiManageDao {
|
|
|
@Select("select pat_no,times,ledger_sn,medfee_sumamt,acct_pay,fund_pay_sumamt,hosp_part_amt " +
|
|
|
"from t_si_setlinfo 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+acct_pay)!=0 and insuplc_admdvs like '43%' ")
|
|
|
+ "fund_pay_sumamt!=0 and insuplc_admdvs like '43%' ")
|
|
|
List<InstSetlLdgChkBrf> selectSetlChkBrfsWithInsutype(@Param("clrType") String clrType,
|
|
|
@Param("insutype") String insutype,
|
|
|
@Param("clrOptins") String clrOptins,
|
|
@@ -82,7 +82,7 @@ public interface SiManageDao {
|
|
|
int mzDepositCount(@Param("patNo") String patNo, @Param("times") String times);
|
|
|
|
|
|
@Select("select pat_no,times,ledger_sn,setl_id,mdtrt_id,psn_no,medfee_sumamt,acct_pay,fund_pay_sumamt,psn_cash_pay,hosp_part_amt " +
|
|
|
- "from t_si_setlinfo where clr_type=#{clrType} and revoked=0 and clr_optins=#{clrOptins} and (fund_pay_sumamt+acct_pay)!=0 " +
|
|
|
+ "from t_si_setlinfo 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 like '43%' ")
|
|
|
List<InstSetlLdgChkBrf> selectSetlChkBrfs(@Param("clrType") String clrType,
|
|
|
@Param("clrOptins") String clrOptins,
|