and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, user_id, apply_money, indate, status, reason, opdate, mobile, alipay_account
delete from withdraw
where id = #{id,jdbcType=INTEGER}
delete from withdraw
SELECT LAST_INSERT_ID()
insert into withdraw (user_id, apply_money, indate,
status, reason, opdate,
mobile, alipay_account)
values (#{userId,jdbcType=INTEGER}, #{applyMoney,jdbcType=INTEGER}, #{indate,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER}, #{reason,jdbcType=VARCHAR}, #{opdate,jdbcType=TIMESTAMP},
#{mobile,jdbcType=VARCHAR}, #{alipayAccount,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into withdraw
user_id,
apply_money,
indate,
status,
reason,
opdate,
mobile,
alipay_account,
#{userId,jdbcType=INTEGER},
#{applyMoney,jdbcType=INTEGER},
#{indate,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER},
#{reason,jdbcType=VARCHAR},
#{opdate,jdbcType=TIMESTAMP},
#{mobile,jdbcType=VARCHAR},
#{alipayAccount,jdbcType=VARCHAR},
update withdraw
id = #{record.id,jdbcType=INTEGER},
user_id = #{record.userId,jdbcType=INTEGER},
apply_money = #{record.applyMoney,jdbcType=INTEGER},
indate = #{record.indate,jdbcType=TIMESTAMP},
status = #{record.status,jdbcType=INTEGER},
reason = #{record.reason,jdbcType=VARCHAR},
opdate = #{record.opdate,jdbcType=TIMESTAMP},
mobile = #{record.mobile,jdbcType=VARCHAR},
alipay_account = #{record.alipayAccount,jdbcType=VARCHAR},
update withdraw
set id = #{record.id,jdbcType=INTEGER},
user_id = #{record.userId,jdbcType=INTEGER},
apply_money = #{record.applyMoney,jdbcType=INTEGER},
indate = #{record.indate,jdbcType=TIMESTAMP},
status = #{record.status,jdbcType=INTEGER},
reason = #{record.reason,jdbcType=VARCHAR},
opdate = #{record.opdate,jdbcType=TIMESTAMP},
mobile = #{record.mobile,jdbcType=VARCHAR},
alipay_account = #{record.alipayAccount,jdbcType=VARCHAR}
update withdraw
user_id = #{userId,jdbcType=INTEGER},
apply_money = #{applyMoney,jdbcType=INTEGER},
indate = #{indate,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
reason = #{reason,jdbcType=VARCHAR},
opdate = #{opdate,jdbcType=TIMESTAMP},
mobile = #{mobile,jdbcType=VARCHAR},
alipay_account = #{alipayAccount,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update withdraw
set user_id = #{userId,jdbcType=INTEGER},
apply_money = #{applyMoney,jdbcType=INTEGER},
indate = #{indate,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
reason = #{reason,jdbcType=VARCHAR},
opdate = #{opdate,jdbcType=TIMESTAMP},
mobile = #{mobile,jdbcType=VARCHAR},
alipay_account = #{alipayAccount,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}