select box_id, box_name, box_type, status, create_by, create_time, update_by, update_time, remark from mes_box
insert into mes_box
box_id,
box_name,
box_type,
status,
create_by,
create_time,
update_by,
update_time,
remark,
#{boxId},
#{boxName},
#{boxType},
#{status},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update mes_box
box_name =
#{boxName},
box_type =
#{boxType},
status =
#{status},
create_by =
#{createBy},
create_time =
#{createTime},
update_by =
#{updateBy},
update_time =
#{updateTime},
remark =
#{remark},
where box_id = #{boxId}
update mes_box set del_flag = '1' where box_id = #{boxId}
update mes_box set del_flag = '1' where box_id in
#{boxId}