select id,
travel_agency_id,
cash_amount,
status,
cash_order_no,
operator_type,
del_flag,
create_by,
create_time,
update_by,
update_time,
remark
from zdy_travel_agency_balance_cash_apply
insert into zdy_travel_agency_balance_cash_apply
travel_agency_id,
cash_amount,
status,
cash_order_no,
operator_type,
del_flag,
create_by,
create_time,
update_by,
update_time,
remark,
#{travelAgencyId},
#{cashAmount},
#{status},
#{cashOrderNo},
#{operatorType},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update zdy_travel_agency_balance_cash_apply
travel_agency_id =
#{travelAgencyId},
cash_amount =
#{cashAmount},
status =
#{status},
cash_order_no = #{cashOrderNo},
operator_type = #{operatorType},
del_flag =
#{delFlag},
create_by =
#{createBy},
create_time =
#{createTime},
update_by =
#{updateBy},
update_time =
#{updateTime},
remark =
#{remark},
where id = #{id}
delete
from zdy_travel_agency_balance_cash_apply
where id = #{id}
update zdy_travel_agency_balance_cash_apply set del_flag = '1' where id in
#{id}