update 创建汇付企业会员

This commit is contained in:
2023-07-10 17:39:08 +08:00
parent 858568d3c1
commit c41adbe3b3
6 changed files with 44 additions and 3 deletions

View File

@@ -83,6 +83,22 @@
where id = #{id}
</update>
<update id="updateAdapayMemberAccountByMemberId" parameterType="com.jsowell.pile.domain.AdapayMemberAccount">
update adapay_member_account
<trim prefix="SET" suffixOverrides=",">
<if test="status != null">status = #{status},</if>
<if test="merchantId != null">merchant_id = #{merchantId},</if>
<if test="adapayMemberId != null">adapay_member_id = #{adapayMemberId},</if>
<if test="settleAccountId != null">settle_account_id = #{settleAccountId},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
</trim>
where adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}
</update>
<delete id="deleteAdapayMemberAccountById" parameterType="Long">
delete from adapay_member_account where id = #{id}
</delete>