id,order_no,name,descr,img,type,weight,price,user_id,accept_id,time,accept_time,status,address_id,target_id,comment
delete from orders
where id = #{id}
insert into orders
id,
order_no,
name,
descr,
img,
type,
weight,
price,
user_id,
accept_id,
time,
accept_time,
status,
address_id,
target_id,
comment,
#{id},
#{orderNo},
#{name},
#{descr},
#{img},
#{type},
#{weight},
#{price},
#{userId},
#{acceptId},
#{time},
#{acceptTime},
#{status},
#{addressId},
#{targetId},
#{comment},
update orders
order_no = #{orderNo},
name = #{name},
descr = #{descr},
img = #{img},
type = #{type},
weight = #{weight},
price = #{price},
user_id = #{userId},
accept_id = #{acceptId},
time = #{time},
accept_time = #{acceptTime},
status = #{status},
address_id = #{addressId},
target_id = #{targetId},
comment = #{comment},
where id = #{id}