保存汇付支付退款回调记录

This commit is contained in:
2023-05-31 16:05:18 +08:00
parent 52884983f5
commit 18670c07e5
10 changed files with 121 additions and 2 deletions

View File

@@ -43,7 +43,14 @@
where del_flag = '0'
and order_code = #{orderCode,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<select id="selectByPaymentId" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from adapay_callback_record
where del_flag = '0'
and payment_id = #{paymentId,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
delete from adapay_callback_record
where id = #{id,jdbcType=VARCHAR}
</delete>