update 保存提现信息

This commit is contained in:
2023-08-01 16:59:33 +08:00
parent 1674975193
commit 8bedb86374
5 changed files with 60 additions and 3 deletions

View File

@@ -235,4 +235,21 @@
del_flag = #{delFlag,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<select id="selectByMerchantId" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from clearing_bill_info
where del_flag = '0'
and merchant_id = #{merchantId,jdbcType=VARCHAR}
</select>
<update id="updateStatus">
update clearing_bill_info
set bill_status = #{billStatus,jdbcType=VARCHAR}
where id in
<foreach collection="clearingBillIds" item="item" open="(" separator="," close=")">
#{item,jdbcType=INTEGER}
</foreach>
</update>
</mapper>