|
@@ -210,17 +210,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select * from bank_uncleardeposit where rtn_tradedate between #{startTime} and #{endTime}
|
|
|
</select>
|
|
|
|
|
|
- <select id="refundBankUnclearList">
|
|
|
- select u.uncleardepositid, u.ppid, u.trnuid, u.rqbody, u.acctno, u.ccycd, u.begdt, u.enddt, u.rtn_trnuid, u.rtn_status, u.rtn_code, u.rtn_severity, u.rtn_message, u.rtn_rsbody, u.rtn_rcrdtotnum, u.rtn_crnpgno, u.rtn_pgrcrdnum, u.rtn_totpgnum, u.rtn_content, u.rtn_tradedate, u.rtn_serialno, u.rtn_assetno, u.rtn_assetname, u.rtn_oppassetno, u.rtn_oppassetname, u.rtn_oppbankno, u.rtn_oppbankname, u.rtn_amt, u.rtn_selfbal, u.rtn_summary,
|
|
|
+ <select id="refundBankUnclearList" parameterType="com.ruoyi.mast.bank.domain.BankUncleardeposit">
|
|
|
+ select u.uncleardepositid, u.ppid, u.trnuid, u.acctno, u.ccycd, u.begdt, u.enddt, u.rtn_trnuid, u.rtn_status, u.rtn_code, u.rtn_severity, u.rtn_message, u.rtn_rcrdtotnum, u.rtn_crnpgno, u.rtn_pgrcrdnum, u.rtn_totpgnum, u.rtn_content, u.rtn_tradedate, u.rtn_serialno, u.rtn_assetno, u.rtn_assetname, u.rtn_oppassetno, u.rtn_oppassetname, u.rtn_oppbankno, u.rtn_oppbankname, u.rtn_amt, u.rtn_selfbal, u.rtn_summary,
|
|
|
u.rtn_adjustreason,r.rtn_xferprccode,u.is_apply
|
|
|
from bank_uncleardeposit u left join bank_uncleardepositrfnd r on u.rtn_serialno = r.serialno
|
|
|
- where u.rtn_summary not like CONCAT('%','服务费','%') and u.rtn_adjustreason not like CONCAT('%','进入不明 原虚户=999999','%') and r.rtn_xferprccode is null and u.is_apply < 3
|
|
|
+ <where>
|
|
|
+ <if test="rtnOppassetname != null">and rtn_oppassetname like concat('%',#{rtnOppassetname},'%') </if>
|
|
|
+ <if test="rtnOppassetno != null">and rtn_oppassetno like concat('%',#{rtnOppassetno},'%') </if>
|
|
|
+ and u.rtn_summary not like CONCAT('%','服务费','%') and u.rtn_adjustreason not like CONCAT('%','进入不明 原虚户=999999','%') and r.rtn_xferprccode is null and u.is_apply < 3
|
|
|
+ </where>
|
|
|
</select>
|
|
|
|
|
|
- <select id="refundBankUnclearInfo">
|
|
|
- select u.uncleardepositid, u.ppid, u.trnuid, u.rqbody, u.acctno, u.ccycd, u.begdt, u.enddt, u.rtn_trnuid, u.rtn_status, u.rtn_code, u.rtn_severity, u.rtn_message, u.rtn_rsbody, u.rtn_rcrdtotnum, u.rtn_crnpgno, u.rtn_pgrcrdnum, u.rtn_totpgnum, u.rtn_content, u.rtn_tradedate, u.rtn_serialno, u.rtn_assetno, u.rtn_assetname, u.rtn_oppassetno, u.rtn_oppassetname, u.rtn_oppbankno, u.rtn_oppbankname, u.rtn_amt, u.rtn_selfbal, u.rtn_summary,
|
|
|
+ <select id="refundBankUnclearInfo" parameterType="com.ruoyi.mast.bank.domain.BankUncleardeposit">
|
|
|
+ select u.uncleardepositid, u.ppid, u.trnuid, u.acctno, u.ccycd, u.begdt, u.enddt, u.rtn_trnuid, u.rtn_status, u.rtn_code, u.rtn_severity, u.rtn_message, u.rtn_rcrdtotnum, u.rtn_crnpgno, u.rtn_pgrcrdnum, u.rtn_totpgnum, u.rtn_content, u.rtn_tradedate, u.rtn_serialno, u.rtn_assetno, u.rtn_assetname, u.rtn_oppassetno, u.rtn_oppassetname, u.rtn_oppbankno, u.rtn_oppbankname, u.rtn_amt, u.rtn_selfbal, u.rtn_summary,
|
|
|
u.rtn_adjustreason,r.rtn_xferprccode,u.is_apply
|
|
|
from bank_uncleardeposit u left join bank_uncleardepositrfnd r on u.rtn_serialno = r.serialno
|
|
|
- where u.rtn_summary not like CONCAT('%','服务费','%') and u.rtn_adjustreason not like CONCAT('%','进入不明 原虚户=999999','%') and r.rtn_xferprccode is null and u.is_apply = 3
|
|
|
+ <where>
|
|
|
+ <if test="rtnOppassetname != null">and rtn_oppassetname like concat('%',#{rtnOppassetname},'%') </if>
|
|
|
+ <if test="rtnOppassetno != null">and rtn_oppassetno like concat('%',#{rtnOppassetno},'%') </if>
|
|
|
+ and u.rtn_summary not like CONCAT('%','服务费','%') and u.rtn_adjustreason not like CONCAT('%','进入不明 原虚户=999999','%') and r.rtn_xferprccode is null and u.is_apply = 3
|
|
|
+ </where>
|
|
|
</select>
|
|
|
</mapper>
|