select id, unit_name, unit_id, equipment_name, equipment_id, equipment_number, type, equipment_states, standby_position, attended_time, remarks,isonduty from bdgl_regis_duty
insert into bdgl_regis_duty
unit_name,
unit_id,
equipment_name,
equipment_id,
equipment_number,
type,
equipment_states,
standby_position,
attended_time,
remarks,
isonduty,
#{unitName},
#{unitId},
#{equipmentName},
#{equipmentId},
#{equipmentNumber},
#{type},
#{equipmentStates},
#{standbyPosition},
#{attendedTime},
#{remarks},
#{isonduty},
update bdgl_regis_duty
unit_name = #{unitName},
unit_id = #{unitId},
equipment_name = #{equipmentName},
equipment_id = #{equipmentId},
equipment_number = #{equipmentNumber},
type = #{type},
equipment_states = #{equipmentStates},
standby_position = #{standbyPosition},
attended_time = #{attendedTime},
remarks = #{remarks},
isonduty = #{isonduty},
where id = #{id}
delete from bdgl_regis_duty where id = #{id}
delete from bdgl_regis_duty where id in
#{id}