<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
a.updateTime,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('breastfeedingLeaveDays') or colPickMode == 1 and data.containsKey('breastfeedingLeaveDays')))">
a.breastfeedingLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('menstrualLeaveDays') or colPickMode == 1 and data.containsKey('menstrualLeaveDays')))">
a.menstrualLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('annualLeaveDays') or colPickMode == 1 and data.containsKey('annualLeaveDays')))">
a.annualLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('compensatedLeaveDays') or colPickMode == 1 and data.containsKey('compensatedLeaveDays')))">
a.compensatedLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('paternityLeaveDays') or colPickMode == 1 and data.containsKey('paternityLeaveDays')))">
<iftest="(colPickMode==0 and data.containsKey('breastfeedingLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('breastfeedingLeaveDaysIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('menstrualLeaveDays')) or (colPickMode==1 and !data.containsKey('menstrualLeaveDays'))">
a.menstrualLeaveDays=#{data.menstrualLeaveDays},
</if>
<iftest="(colPickMode==0 and data.containsKey('menstrualLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('menstrualLeaveDaysIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('compensatedLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('compensatedLeaveDaysIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('paternityLeaveDays')) or (colPickMode==1 and !data.containsKey('paternityLeaveDays'))">
a.paternityLeaveDays=#{data.paternityLeaveDays},
</if>
<iftest="(colPickMode==0 and data.containsKey('paternityLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('paternityLeaveDaysIncrement'))">
<whentest="(colPickMode==0 and item.containsKey('breastfeedingLeaveDays')) or (colPickMode==1 and !item.containsKey('breastfeedingLeaveDays'))">
when a.id=#{item.id} then #{item.breastfeedingLeaveDays}
</when>
<whentest="(colPickMode==0 and item.containsKey('breastfeedingLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('breastfeedingLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.breastfeedingLeaveDays,0) + #{item.breastfeedingLeaveDaysIncrement}
<whentest="(colPickMode==0 and item.containsKey('menstrualLeaveDays')) or (colPickMode==1 and !item.containsKey('menstrualLeaveDays'))">
when a.id=#{item.id} then #{item.menstrualLeaveDays}
</when>
<whentest="(colPickMode==0 and item.containsKey('menstrualLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('menstrualLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.menstrualLeaveDays,0) + #{item.menstrualLeaveDaysIncrement}
<whentest="(colPickMode==0 and item.containsKey('compensatedLeaveDays')) or (colPickMode==1 and !item.containsKey('compensatedLeaveDays'))">
when a.id=#{item.id} then #{item.compensatedLeaveDays}
</when>
<whentest="(colPickMode==0 and item.containsKey('compensatedLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('compensatedLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.compensatedLeaveDays,0) + #{item.compensatedLeaveDaysIncrement}
<whentest="(colPickMode==0 and item.containsKey('paternityLeaveDays')) or (colPickMode==1 and !item.containsKey('paternityLeaveDays'))">
when a.id=#{item.id} then #{item.paternityLeaveDays}
</when>
<whentest="(colPickMode==0 and item.containsKey('paternityLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('paternityLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.paternityLeaveDays,0) + #{item.paternityLeaveDaysIncrement}
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('annualLeaveDays') or colPickMode == 1 and data.containsKey('annualLeaveDays')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('annualLeaveDays') or colPickMode == 1 and data.containsKey('annualLeaveDays')))">
a.annualLeaveDays,
a.annualLeaveDays,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('marriageLeaveDays') or colPickMode == 1 and data.containsKey('marriageLeaveDays')))">
a.marriageLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('maternityLeaveDays') or colPickMode == 1 and data.containsKey('maternityLeaveDays')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('maternityLeaveDays') or colPickMode == 1 and data.containsKey('maternityLeaveDays')))">
a.maternityLeaveDays,
a.maternityLeaveDays,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('paternityLeaveDays') or colPickMode == 1 and data.containsKey('paternityLeaveDays')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('paternityLeaveDays') or colPickMode == 1 and data.containsKey('paternityLeaveDays')))">
a.paternityLeaveDays,
a.paternityLeaveDays,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('marriageLeaveDays') or colPickMode == 1 and data.containsKey('marriageLeaveDays')))">
a.marriageLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('menstrualLeaveDays') or colPickMode == 1 and data.containsKey('menstrualLeaveDays')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('menstrualLeaveDays') or colPickMode == 1 and data.containsKey('menstrualLeaveDays')))">
a.menstrualLeaveDays,
a.menstrualLeaveDays,
</if>
</if>
...
@@ -81,38 +107,56 @@
...
@@ -81,38 +107,56 @@
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('bereavementLeaveDays') or colPickMode == 1 and data.containsKey('bereavementLeaveDays')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('bereavementLeaveDays') or colPickMode == 1 and data.containsKey('bereavementLeaveDays')))">
a.bereavementLeaveDays,
a.bereavementLeaveDays,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('backToUnit') or colPickMode == 1 and data.containsKey('backToUnit')))">
a.remark,
a.backToUnit,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('onDutyLeave') or colPickMode == 1 and data.containsKey('onDutyLeave')))">
a.createUserId,
a.onDutyLeave,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('outOfOffice') or colPickMode == 1 and data.containsKey('outOfOffice')))">
a.createTime,
a.outOfOffice,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('shiftCompensation') or colPickMode == 1 and data.containsKey('shiftCompensation')))">
a.updateUserId,
a.shiftCompensation,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('physicalExamination') or colPickMode == 1 and data.containsKey('physicalExamination')))">
a.updateTime,
a.physicalExamination,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('quarantine') or colPickMode == 1 and data.containsKey('quarantine')))">
a.quarantine,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('businessTrip') or colPickMode == 1 and data.containsKey('businessTrip')))">
a.businessTrip,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('publicHoliday') or colPickMode == 1 and data.containsKey('publicHoliday')))">
a.publicHoliday,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('childRearingLeave') or colPickMode == 1 and data.containsKey('childRearingLeave')))">
a.childRearingLeave,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('transferBack') or colPickMode == 1 and data.containsKey('transferBack')))">
a.transferBack,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('homeLeave') or colPickMode == 1 and data.containsKey('homeLeave')))">
<iftest="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
<iftest="(colPickMode==0 and data.containsKey('maternityLeaveDays')) or (colPickMode==1 and !data.containsKey('maternityLeaveDays'))">
<iftest="(colPickMode==0 and data.containsKey('maternityLeaveDays')) or (colPickMode==1 and !data.containsKey('maternityLeaveDays'))">
a.maternityLeaveDays=#{data.maternityLeaveDays},
a.maternityLeaveDays=#{data.maternityLeaveDays},
</if>
</if>
...
@@ -179,12 +250,6 @@
...
@@ -179,12 +250,6 @@
<iftest="(colPickMode==0 and data.containsKey('paternityLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('paternityLeaveDaysIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('paternityLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('paternityLeaveDaysIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('menstrualLeaveDays')) or (colPickMode==1 and !data.containsKey('menstrualLeaveDays'))">
<iftest="(colPickMode==0 and data.containsKey('menstrualLeaveDays')) or (colPickMode==1 and !data.containsKey('menstrualLeaveDays'))">
a.menstrualLeaveDays=#{data.menstrualLeaveDays},
a.menstrualLeaveDays=#{data.menstrualLeaveDays},
</if>
</if>
...
@@ -203,26 +268,71 @@
...
@@ -203,26 +268,71 @@
<iftest="(colPickMode==0 and data.containsKey('bereavementLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('bereavementLeaveDaysIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('bereavementLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('bereavementLeaveDaysIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('physicalExaminationIncrement')) or (colPickMode==1 and !data.containsKey('physicalExaminationIncrement'))">
<whentest="(colPickMode==0 and item.containsKey('marriageLeaveDays')) or (colPickMode==1 and !item.containsKey('marriageLeaveDays'))">
when a.id=#{item.id} then #{item.marriageLeaveDays}
</when>
<whentest="(colPickMode==0 and item.containsKey('marriageLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('marriageLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.marriageLeaveDays,0) + #{item.marriageLeaveDaysIncrement}
<whentest="(colPickMode==0 and item.containsKey('marriageLeaveDays')) or (colPickMode==1 and !item.containsKey('marriageLeaveDays'))">
when a.id=#{item.id} then #{item.marriageLeaveDays}
</when>
<whentest="(colPickMode==0 and item.containsKey('marriageLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('marriageLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.marriageLeaveDays,0) + #{item.marriageLeaveDaysIncrement}
<whentest="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
<whentest="(colPickMode==0 and item.containsKey('shiftCompensation')) or (colPickMode==1 and !item.containsKey('shiftCompensation'))">
when a.id=#{item.id} then #{item.updateUserId}
when a.id=#{item.id} then #{item.shiftCompensation}
</when>
</when>
<whentest="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
<whentest="(colPickMode==0 and item.containsKey('shiftCompensationIncrement')) or (colPickMode==1 and !item.containsKey('shiftCompensationIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
when a.id=#{item.id} then ifnull(a.shiftCompensation,0) + #{item.shiftCompensationIncrement}
<iftest="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
<choose>
when a.id=#{item.id} then #{item.updateTime}
<whentest="(colPickMode==0 and item.containsKey('physicalExamination')) or (colPickMode==1 and !item.containsKey('physicalExamination'))">
</if>
when a.id=#{item.id} then #{item.physicalExamination}
</when>
<whentest="(colPickMode==0 and item.containsKey('physicalExaminationIncrement')) or (colPickMode==1 and !item.containsKey('physicalExaminationIncrement'))">
when a.id=#{item.id} then ifnull(a.physicalExamination,0) + #{item.physicalExaminationIncrement}
<whentest="(colPickMode==0 and item.containsKey('childRearingLeave')) or (colPickMode==1 and !item.containsKey('childRearingLeave'))">
when a.id=#{item.id} then #{item.childRearingLeave}
</when>
<whentest="(colPickMode==0 and item.containsKey('childRearingLeaveIncrement')) or (colPickMode==1 and !item.containsKey('childRearingLeaveIncrement'))">
when a.id=#{item.id} then ifnull(a.childRearingLeave,0) + #{item.childRearingLeaveIncrement}