select id,
aftersale_sn,
order_id,
user_id,
type,
reason,
amount,
pictures,
comment,
status,
handle_time,
create_time,
create_by,
update_time,
update_by,
deleted,
cus_id_card,
cus_name
from mall_aftersale
insert into mall_aftersale
aftersale_sn,
order_id,
user_id,
type,
reason,
amount,
pictures,
comment,
status,
handle_time,
create_time,
create_by,
update_time,
update_by,
deleted,
#{aftersaleSn},
#{orderId},
#{userId},
#{type},
#{reason},
#{amount},
#{pictures},
#{comment},
#{status},
#{handleTime},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{deleted},
update mall_aftersale
aftersale_sn =
#{aftersaleSn},
order_id =
#{orderId},
user_id =
#{userId},
type =
#{type},
reason =
#{reason},
amount =
#{amount},
pictures =
#{pictures},
comment =
#{comment},
status =
#{status},
handle_time =
#{handleTime},
create_time =
#{createTime},
create_by =
#{createBy},
update_time =
#{updateTime},
update_by =
#{updateBy},
deleted =
#{deleted},
where id = #{id}
delete
from mall_aftersale
where id = #{id}
delete from mall_aftersale where id in
#{id}