update 取现成功支付回调

This commit is contained in:
2023-08-08 14:16:05 +08:00
parent 304ba6b2e1
commit ce92d1ccdf
6 changed files with 47 additions and 13 deletions

View File

@@ -230,13 +230,12 @@
<insert id="insertOrUpdate" parameterType="com.jsowell.pile.domain.ClearingWithdrawInfo">
<!--@mbg.generated-->
insert into clearing_withdraw_info
(id, withdraw_code, withdraw_status, application_time, arrival_time, create_by, create_time,
update_by, update_time, del_flag)
(id, withdraw_code, withdraw_status, application_time, arrival_time, create_by,
update_by, del_flag)
values
(#{id,jdbcType=INTEGER}, #{withdrawCode,jdbcType=VARCHAR}, #{withdrawStatus,jdbcType=VARCHAR},
#{applicationTime,jdbcType=TIMESTAMP}, #{arrivalTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=VARCHAR})
#{updateBy,jdbcType=VARCHAR}, #{delFlag,jdbcType=VARCHAR})
on duplicate key update
id = #{id,jdbcType=INTEGER},
withdraw_code = #{withdrawCode,jdbcType=VARCHAR},
@@ -244,9 +243,7 @@
application_time = #{applicationTime,jdbcType=TIMESTAMP},
arrival_time = #{arrivalTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=VARCHAR}
</insert>
<insert id="insertOrUpdateSelective" parameterType="com.jsowell.pile.domain.ClearingWithdrawInfo">
@@ -351,4 +348,12 @@
</if>
</trim>
</insert>
<select id="selectByWithdrawCode" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from clearing_withdraw_info
where del_flag = '0'
and withdraw_code = #{withdrawCode,jdbcType=VARCHAR}
</select>
</mapper>