select id, user_id, user_name, country, areaname, leavereason, depart, leavedate, workstate, leavestate, examinename, examinedate, examinestate from td_leave insert into td_leave user_id, user_name, country, areaname, leavereason, depart, leavedate, workstate, leavestate, examinename, examinedate, examinestate, #{userId}, #{userName}, #{country}, #{areaname}, #{leavereason}, #{depart}, #{leavedate}, #{workstate}, #{leavestate}, #{examinename}, #{examinedate}, #{examinestate}, update td_leave user_id = #{userId}, user_name = #{userName}, country = #{country}, areaname = #{areaname}, leavereason = #{leavereason}, depart = #{depart}, leavedate = #{leavedate}, workstate = #{workstate}, leavestate = #{leavestate}, examinename = #{examinename}, examinedate = #{examinedate}, examinestate = #{examinestate}, where id = #{id} delete from td_leave where id = #{id} delete from td_leave where id in #{id}