select fault_id, user_id, device_mac, type, create_time, picture, detail, order_id, status from et_fault insert into et_fault fault_id, user_id, device_mac, type, create_time, picture, detail, order_id, status, #{faultId}, #{userId}, #{deviceMac}, #{type}, #{createTime}, #{picture}, #{detail}, #{orderId}, #{status}, update et_fault user_id = #{userId}, device_mac = #{deviceMac}, type = #{type}, create_time = #{createTime}, picture = #{picture}, detail = #{detail}, order_id = #{orderId}, status = #{status}, where fault_id = #{faultId} delete from et_fault where fault_id = #{faultId} delete from et_fault where fault_id in #{faultId}