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, with_amt_rMB, with_fee_rMB,agent_name ,phone
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, with_amt_rMB, with_fee_rMB ,agent_name, phone)
values (#{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}, #{withAmtRMB,jdbcType=DECIMAL}, #{withFeeRMB,jdbcType=DECIMAL},
#{agentName,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR})
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,
with_amt_rMB,
with_fee_rMB,
#{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},
#{withAmtRMB,jdbcType=DECIMAL},
#{withFeeRMB,jdbcType=DECIMAL},
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},
with_amt_rMB = #{withAmtRMB,jdbcType=DECIMAL},
with_fee_rMB = #{withFeeRMB,jdbcType=DECIMAL},
agent_name = #{agentName,jdbcType=VARCHAR},
phone = #{phone,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},
with_amt_rMB = #{withAmtRMB,jdbcType=DECIMAL},
with_fee_rMB = #{withFeeRMB,jdbcType=DECIMAL}
where id = #{id,jdbcType=INTEGER}
DELETE FROM user_withdraw WHERE user_id = #{userId}