and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} GovDutyId, DutyMonth, DutyLeader, SecondLeaderMobile,SecondLeader,LeaderMobile, FirstDirector, FirstMobile, SecondDirector, SecondMobile, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy delete from GovDuty where GovDutyId = #{govdutyid,jdbcType=VARCHAR} delete from GovDuty insert into GovDuty (GovDutyId, DutyMonth, DutyLeader, SecondLeaderMobile,SecondLeader, LeaderMobile, FirstDirector, FirstMobile, SecondDirector, SecondMobile, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy ) values (#{govdutyid,jdbcType=VARCHAR}, #{dutymonth,jdbcType=VARCHAR}, #{dutyleader,jdbcType=VARCHAR}, #{secondLeaderMobile,jdbcType=VARCHAR}, #{secondLeader,jdbcType=VARCHAR}, #{leadermobile,jdbcType=VARCHAR}, #{firstdirector,jdbcType=VARCHAR}, #{firstmobile,jdbcType=VARCHAR}, #{seconddirector,jdbcType=VARCHAR}, #{secondmobile,jdbcType=VARCHAR}, #{createdon,jdbcType=TIMESTAMP}, #{createdby,jdbcType=VARCHAR}, #{modifiedon,jdbcType=TIMESTAMP}, #{modifiedby,jdbcType=VARCHAR} ) insert into GovDuty GovDutyId, DutyMonth, DutyLeader, SecondLeaderMobile, SecondLeader, LeaderMobile, FirstDirector, FirstMobile, SecondDirector, SecondMobile, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy, #{govdutyid,jdbcType=VARCHAR}, #{dutymonth,jdbcType=VARCHAR}, #{dutyleader,jdbcType=VARCHAR}, #{secondLeaderMobile,jdbcType=VARCHAR}, #{secondLeader,jdbcType=VARCHAR}, #{leadermobile,jdbcType=VARCHAR}, #{firstdirector,jdbcType=VARCHAR}, #{firstmobile,jdbcType=VARCHAR}, #{seconddirector,jdbcType=VARCHAR}, #{secondmobile,jdbcType=VARCHAR}, #{createdon,jdbcType=TIMESTAMP}, #{createdby,jdbcType=VARCHAR}, #{modifiedon,jdbcType=TIMESTAMP}, #{modifiedby,jdbcType=VARCHAR}, update GovDuty GovDutyId = #{record.govdutyid,jdbcType=VARCHAR}, DutyMonth = #{record.dutymonth,jdbcType=VARCHAR}, DutyLeader = #{record.dutyleader,jdbcType=VARCHAR}, SecondLeaderMobile = #{record.secondLeaderMobile,jdbcType=VARCHAR}, SecondLeader = #{record.secondLeader,jdbcType=VARCHAR}, LeaderMobile = #{record.leadermobile,jdbcType=VARCHAR}, FirstDirector = #{record.firstdirector,jdbcType=VARCHAR}, FirstMobile = #{record.firstmobile,jdbcType=VARCHAR}, SecondDirector = #{record.seconddirector,jdbcType=VARCHAR}, SecondMobile = #{record.secondmobile,jdbcType=VARCHAR}, CreatedOn = #{record.createdon,jdbcType=TIMESTAMP}, CreatedBy = #{record.createdby,jdbcType=VARCHAR}, ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR}, update GovDuty set GovDutyId = #{record.govdutyid,jdbcType=VARCHAR}, DutyMonth = #{record.dutymonth,jdbcType=VARCHAR}, DutyLeader = #{record.dutyleader,jdbcType=VARCHAR}, SecondLeaderMobile = #{record.secondLeaderMobile,jdbcType=VARCHAR}, SecondLeader = #{record.secondLeader,jdbcType=VARCHAR}, LeaderMobile = #{record.leadermobile,jdbcType=VARCHAR}, FirstDirector = #{record.firstdirector,jdbcType=VARCHAR}, FirstMobile = #{record.firstmobile,jdbcType=VARCHAR}, SecondDirector = #{record.seconddirector,jdbcType=VARCHAR}, SecondMobile = #{record.secondmobile,jdbcType=VARCHAR}, CreatedOn = #{record.createdon,jdbcType=TIMESTAMP}, CreatedBy = #{record.createdby,jdbcType=VARCHAR}, ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR} update GovDuty DutyMonth = #{dutymonth,jdbcType=VARCHAR}, DutyLeader = #{dutyleader,jdbcType=VARCHAR}, SecondLeaderMobile = #{secondLeaderMobile,jdbcType=VARCHAR}, SecondLeader = #{secondLeader,jdbcType=VARCHAR}, LeaderMobile = #{leadermobile,jdbcType=VARCHAR}, FirstDirector = #{firstdirector,jdbcType=VARCHAR}, FirstMobile = #{firstmobile,jdbcType=VARCHAR}, SecondDirector = #{seconddirector,jdbcType=VARCHAR}, SecondMobile = #{secondmobile,jdbcType=VARCHAR}, CreatedOn = #{createdon,jdbcType=TIMESTAMP}, CreatedBy = #{createdby,jdbcType=VARCHAR}, ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{modifiedby,jdbcType=VARCHAR}, where GovDutyId = #{govdutyid,jdbcType=VARCHAR} update GovDuty set DutyMonth = #{dutymonth,jdbcType=VARCHAR}, DutyLeader = #{dutyleader,jdbcType=VARCHAR}, SecondLeaderMobile = #{secondLeaderMobile,jdbcType=VARCHAR}, SecondLeader = #{secondLeader,jdbcType=VARCHAR}, LeaderMobile = #{leadermobile,jdbcType=VARCHAR}, FirstDirector = #{firstdirector,jdbcType=VARCHAR}, FirstMobile = #{firstmobile,jdbcType=VARCHAR}, SecondDirector = #{seconddirector,jdbcType=VARCHAR}, SecondMobile = #{secondmobile,jdbcType=VARCHAR}, CreatedOn = #{createdon,jdbcType=TIMESTAMP}, CreatedBy = #{createdby,jdbcType=VARCHAR}, ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{modifiedby,jdbcType=VARCHAR} where GovDutyId = #{govdutyid,jdbcType=VARCHAR} update GovDuty set del_state = 2 where GovDutyId in ( #{item} )