select id, dept_id, dept_name, sqmy_id, is_reply, content, type, start_time, end_time, handling, degree, remark from sqmy_unit_reply insert into sqmy_unit_reply dept_id, dept_name, sqmy_id, is_reply, content, type, start_time, end_time, handling, degree, remark, #{deptId}, #{deptName}, #{sqmyId}, #{isReply}, #{content}, #{type}, #{startTime}, #{endTime}, #{handling}, #{degree}, #{remark}, update sqmy_unit_reply dept_id = #{deptId}, dept_name = #{deptName}, sqmy_id = #{sqmyId}, is_reply = #{isReply}, content = #{content}, type = #{type}, start_time = #{startTime}, end_time = #{endTime}, handling = #{handling}, degree = #{degree}, remark = #{remark}, where id = #{id} delete from sqmy_unit_reply where id = #{id} delete from sqmy_unit_reply where id in #{id}