select id, equipment_no, equipment_name, workshop_code, production_line_code, processes_code, eq_status, spare_field_1, spare_field_2, remarks, update_time from em_equipment_status
insert into em_equipment_status
id,
equipment_no,
equipment_name,
workshop_code,
production_line_code,
processes_code,
eq_status,
spare_field_1,
spare_field_2,
remarks,
update_time,
#{id},
#{equipmentNo},
#{equipmentName},
#{workshopCode},
#{productionLineCode},
#{processesCode},
#{eqStatus},
#{spareField1},
#{spareField2},
#{remarks},
#{updateTime},
update em_equipment_status
equipment_no = #{equipmentNo},
equipment_name = #{equipmentName},
workshop_code = #{workshopCode},
production_line_code = #{productionLineCode},
processes_code = #{processesCode},
eq_status = #{eqStatus},
spare_field_1 = #{spareField1},
spare_field_2 = #{spareField2},
remarks = #{remarks},
update_time = #{updateTime},
where id = #{id}
delete from em_equipment_status where id = #{id}
delete from em_equipment_status where id in
#{id}