id, user_id, nick_name, agent_id, with_amt, apply_time, trans_time, with_name, bank_no,
bank_name, bank_address, with_status, with_fee, with_msg
delete from user_withdraw
where id = #{id,jdbcType=INTEGER}
insert into user_withdraw
id,
user_id,
nick_name,
agent_id,
with_amt,
apply_time,
trans_time,
with_name,
bank_no,
bank_name,
bank_address,
with_status,
with_fee,
with_msg,
#{id,jdbcType=INTEGER},
#{userId,jdbcType=INTEGER},
#{nickName,jdbcType=VARCHAR},
#{agentId,jdbcType=INTEGER},
#{withAmt,jdbcType=DECIMAL},
#{applyTime,jdbcType=TIMESTAMP},
#{transTime,jdbcType=TIMESTAMP},
#{withName,jdbcType=VARCHAR},
#{bankNo,jdbcType=VARCHAR},
#{bankName,jdbcType=VARCHAR},
#{bankAddress,jdbcType=VARCHAR},
#{withStatus,jdbcType=INTEGER},
#{withFee,jdbcType=DECIMAL},
#{withMsg,jdbcType=VARCHAR},
update user_withdraw
user_id = #{userId,jdbcType=INTEGER},
nick_name = #{nickName,jdbcType=VARCHAR},
agent_id = #{agentId,jdbcType=INTEGER},
with_amt = #{withAmt,jdbcType=DECIMAL},
apply_time = #{applyTime,jdbcType=TIMESTAMP},
trans_time = #{transTime,jdbcType=TIMESTAMP},
with_name = #{withName,jdbcType=VARCHAR},
bank_no = #{bankNo,jdbcType=VARCHAR},
bank_name = #{bankName,jdbcType=VARCHAR},
bank_address = #{bankAddress,jdbcType=VARCHAR},
with_status = #{withStatus,jdbcType=INTEGER},
with_fee = #{withFee,jdbcType=DECIMAL},
with_msg = #{withMsg,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update user_withdraw
set user_id = #{userId,jdbcType=INTEGER},
nick_name = #{nickName,jdbcType=VARCHAR},
agent_id = #{agentId,jdbcType=INTEGER},
with_amt = #{withAmt,jdbcType=DECIMAL},
apply_time = #{applyTime,jdbcType=TIMESTAMP},
trans_time = #{transTime,jdbcType=TIMESTAMP},
with_name = #{withName,jdbcType=VARCHAR},
bank_no = #{bankNo,jdbcType=VARCHAR},
bank_name = #{bankName,jdbcType=VARCHAR},
bank_address = #{bankAddress,jdbcType=VARCHAR},
with_status = #{withStatus,jdbcType=INTEGER},
with_fee = #{withFee,jdbcType=DECIMAL},
with_msg = #{withMsg,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
DELETE FROM user_withdraw WHERE user_id = #{userId}