id, content, starttime, endtime, color, userid,is_valid , update_time , update_user_id,allday,personnelid delete from se_duty where id = #{id,jdbcType=VARCHAR} insert into se_duty (id, content, starttime, endtime, color, userid,is_valid,update_time,update_user_id,allday ,personnelid) values (#{id,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{starttime,jdbcType=VARCHAR}, #{endtime,jdbcType=VARCHAR}, #{color,jdbcType=VARCHAR}, #{userid,jdbcType=VARCHAR},#{isValid,jdbcType=TINYINT},#{updateTime,jdbcType=TIMESTAMP}, #{updateUserId,jdbcType=VARCHAR},#{allday,jdbcType=VARCHAR},#{personnelid,jdbcType=VARCHAR} ) update se_duty content = #{content,jdbcType=VARCHAR}, starttime = #{starttime,jdbcType=VARCHAR}, endtime = #{endtime,jdbcType=VARCHAR}, color = #{color,jdbcType=VARCHAR}, userid = #{userid,jdbcType=VARCHAR}, allday = #{allday,jdbcType=VARCHAR}, is_valid = #{isValid,jdbcType=TINYINT}, update_time = #{updateTime,jdbcType=TIMESTAMP}, update_user_id = #{updateUserId,jdbcType=VARCHAR}, personnelid = #{personnelid,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update se_duty set content = #{content,jdbcType=VARCHAR}, starttime = #{starttime,jdbcType=VARCHAR}, endtime = #{endtime,jdbcType=VARCHAR}, color = #{color,jdbcType=VARCHAR}, userid = #{userid,jdbcType=VARCHAR}, personnelid = #{personnelid,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}