update xzx_account_info set
overdraft_limit=#{oldOverdrawPrice},
fixed_limit=#{newOverdrawPrice}
where del_flag=0
and user_id in
#{id}
update xzx_account_info set
overdraft_limit=#{newOverdrawPrice},
fixed_limit=#{newOverdrawPrice}
where del_flag=0 and overdraft_limit=#{oldOverdrawPrice}
and user_id in
#{id}
update xzx_account_info set del_flag=0 where del_flag=1
and user_id=#{userId}
and account_name=#{phone}
order by account_id desc limit 1
INSERT INTO xzx_account_info(`account_id`,`account_name`, `user_id`, `pay_password`, `money`, `freeze_money`,
`withdraw_money`, `overdraft_limit`, `lock_time`,`fixed_limit`)
VALUES (#{id}, #{phone}, #{userId}, NULL, '0', '0', '0', #{money}, NULL,#{money})
update xzx_account_info set fixed_limit=#{fixedLimit},overdraft_limit=#{overdraftLimit} where account_id=#{accountId}
update xzx_account_info
set is_prohibit = #{isProhibit}
where account_id = #{accountId}
update xzx_account_info
set money = #{money}
where user_id = #{userId}
update xzx_account_info
set money = #{money}, overdraft_limit = #{overdraftLimit}
where user_id = #{userId} and del_flag = 0
update xzx_account_info
set del_flag = 1
where account_id = #{accountId}
insert into xzx_score_details (CREATED_TIME, user_id, type, original_score, change_score, current_score)
values (
#{createdTime}, #{userId}, #{type}, #{originalScore}, #{changeScore}, #{currentScore}
)