create_by,
create_time,
update_by,
update_time,
id,
shop_id,
apply_money,
apply_status,
apply_no,
partner_trade_no,
bank_no,
withdraw_time,
user_id,
cmms_ant,
com_id,
is_has_pay,
bank_name,
bank_owner_name
#{item.createBy},
now(),
#{item.updateBy},
now(),
#{item.id},
#{item.shopId},
#{item.applyMoney},
#{item.applyStatus},
#{item.applyNo},
#{item.partnerTradeNo},
#{item.bankNo},
#{item.withdrawTime},
#{item.userId},
#{item.cmmsAnt},
#{item.comId},
#{item.isHasPay},
#{item.bankName},
#{item.bankOwnerName}
and id = #{record.id}
and shop_id = #{record.shopId}
and apply_money = #{record.applyMoney}
and apply_status = #{record.applyStatus}
and apply_no = #{record.applyNo}
and partner_trade_no = #{record.partnerTradeNo}
and bank_no = #{record.bankNo}
and withdraw_time = #{record.withdrawTime}
and user_id = #{record.userId}
and cmms_ant = #{record.cmmsAnt}
and com_id = #{record.comId}
INSERT INTO wx_withdraw_apply (
)
VALUES (
)
INSERT INTO wx_withdraw_apply (
)
VALUES
(
)
UPDATE wx_withdraw_apply
shop_id = #{shopId},
apply_money = #{applyMoney},
apply_status = #{applyStatus},
apply_no = #{applyNo},
partner_trade_no = #{partnerTradeNo},
bank_no = #{bankNo},
withdraw_time = #{withdrawTime},
user_id = #{userId},
cmms_ant = #{cmmsAnt},
com_id = #{comId},
WHERE id=#{id}
UPDATE wx_withdraw_apply
shop_id = #{record.shopId},
apply_money = #{record.applyMoney},
apply_status = #{record.applyStatus},
apply_no = #{record.applyNo},
partner_trade_no = #{record.partnerTradeNo},
bank_no = #{record.bankNo},
withdraw_time = #{record.withdrawTime},
user_id = #{record.userId},
cmms_ant = #{record.cmmsAnt},
com_id = #{record.comId},
is_has_pay = #{record.isHasPay},
WHERE id=#{record.id}
delete from wx_withdraw_apply where id in
#{item}
DELETE FROM wx_withdraw_apply
where id=#{id}
DELETE FROM wx_withdraw_apply
update wx_withdraw_apply
set
apply_status=#{record.applyStatus},
user_id=#{record.userId},
withdraw_time=now(),
is_has_pay=#{record.isHasPay}
where id=#{record.id}