select id, ticket_no, user_id, title, content, images, status, create_time, complete_time, create_by, update_by, update_time, work_user_id from ems_ticket insert into ems_ticket ticket_no, user_id, title, content, images, status, create_time, complete_time, create_by, update_by, update_time, work_user_id, #{ticketNo}, #{userId}, #{title}, #{content}, #{images}, #{status}, #{createTime}, #{completeTime}, #{createBy}, #{updateBy}, #{updateTime}, #{workUserId}, update ems_ticket ticket_no = #{ticketNo}, user_id = #{userId}, title = #{title}, content = #{content}, images = #{images}, status = #{status}, create_time = #{createTime}, complete_time = #{completeTime}, create_by = #{createBy}, update_by = #{updateBy}, update_time = #{updateTime}, work_user_id = #{workUserId}, where id = #{id} delete from ems_ticket where id = #{id} delete from ems_ticket where id in #{id}