Browse Source

退款id查询

ZC 2 weeks ago
parent
commit
0b0642e549

+ 2 - 2
ruoyi-modules/hh-mast/src/main/resources/mapper/bank/BankRefundMapper.xml

@@ -72,7 +72,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectBankRefundList" parameterType="BankRefund" resultMap="BankRefundResult">
         <include refid="selectBankRefundVo"/>
-        <where>  
+        <where>
+            <if test="refundid != null"> and refundid = #{refundid}</if>
             <if test="ppid != null "> and ppid = #{ppid}</if>
             <if test="trnuid != null  and trnuid != ''"> and trnuid = #{trnuid}</if>
             <if test="rqbody != null  and rqbody != ''"> and rqbody = #{rqbody}</if>
@@ -269,7 +270,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <update id="updateBankRefund" parameterType="BankRefund">
         update bank_refund
         <trim prefix="SET" suffixOverrides=",">
-            <if test="refundid != null">refundid = #{refundid}</if>
             <if test="ppid != null">ppid = #{ppid},</if>
             <if test="trnuid != null and trnuid != ''">trnuid = #{trnuid},</if>
             <if test="rqbody != null">rqbody = #{rqbody},</if>