refactor(ca): 更新 PayAccountInfoMapper 映射文件

- 在插入语句中添加 account_number 字段
- 从删除语句中移除 account_number 字段
This commit is contained in:
jjLv 2025-01-06 13:23:14 +08:00
parent 9ee24dd5f5
commit 9829dd1d58
1 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.bonus.boot.manager.ca.bm.dao.PayAccountInfoDao">
<insert id="add">
insert into ca_bm_pay_account_info (name,remark,oper_user,oper_time,is_active)
values (#{name},#{remarks},#{czy},now(),'1')
insert into ca_bm_pay_account_info (name,remark,oper_user,oper_time,is_active, account_number)
values (#{name},#{remarks},#{czy},now(),'1', #{accountNumber})
</insert>
<update id="update">
@ -16,7 +16,7 @@
<update id="deletePayAccountInfo">
update ca_bm_pay_account_info
set is_active = '0',oper_user = #{czy},oper_time = now(), account_number = #{accountNumber}
set is_active = '0',oper_user = #{czy},oper_time = now()
where id = #{id}
</update>