select id, code, project_id, project_name, device_id, device_code, device_name, type, outbound_date, inbound_date, opt_user, apply_user, number, create_date, remark from js_device_log insert into js_device_log id, code, project_id, project_name, device_id, device_code, device_name, type, outbound_date, inbound_date, opt_user, apply_user, number, create_date, remark, #{id}, #{code}, #{projectId}, #{projectName}, #{deviceId}, #{deviceCode}, #{deviceName}, #{type}, #{outboundDate}, #{inboundDate}, #{optUser}, #{applyUser}, #{number}, #{createDate}, #{remark}, update js_device_log code = #{code}, project_id = #{projectId}, project_name = #{projectName}, device_id = #{deviceId}, device_code = #{deviceCode}, device_name = #{deviceName}, type = #{type}, outbound_date = #{outboundDate}, inbound_date = #{inboundDate}, opt_user = #{optUser}, apply_user = #{applyUser}, number = #{number}, create_date = #{createDate}, remark = #{remark}, where id = #{id} delete from js_device_log where id = #{id} delete from js_device_log where id in #{id}