select id, refund_no, order_no, user_id, amount, dispatch_fee, manage_fee, riding_fee, appointment_fee, type, reason, create_time, item_desc,refund_result from et_refund
insert into et_refund
id,
refund_no,
order_no,
user_id,
amount,
dispatch_fee,
manage_fee,
riding_fee,
appointment_fee,
type,
reason,
create_time,
item_desc,
refund_result,
#{id},
#{refundNo},
#{orderNo},
#{userId},
#{amount},
#{dispatchFee},
#{manageFee},
#{ridingFee},
#{appointmentFee},
#{type},
#{reason},
#{createTime},
#{itemDesc},
#{refund_result},
update et_refund
refund_no = #{refundNo},
order_no = #{orderNo},
user_id = #{userId},
amount = #{amount},
dispatch_fee = #{dispatchFee},
manage_fee = #{manageFee},
riding_fee = #{ridingFee},
appointment_fee = #{appointmentFee},
type = #{type},
reason = #{reason},
create_time = #{createTime},
item_desc = #{itemDesc},
refund_result = #{refundResult},
where id = #{id}
update et_refund
user_id = #{userId},
amount = #{amount},
dispatch_fee = #{dispatchFee},
manage_fee = #{manageFee},
riding_fee = #{ridingFee},
appointment_fee = #{appointmentFee},
type = #{type},
reason = #{reason},
create_time = #{createTime},
item_desc = #{itemDesc},
refund_result = #{refundResult},
where refund_no = #{refundNo}
delete from et_refund where id = #{id}
delete from et_refund where id in
#{id}