<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('maternityLeaveDays') or colPickMode == 1 and data.containsKey('maternityLeaveDays')))">
a.maternityLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('paternityLeaveDays') or colPickMode == 1 and data.containsKey('paternityLeaveDays')))">
a.paternityLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('marriageLeaveDays') or colPickMode == 1 and data.containsKey('marriageLeaveDays')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('marriageLeaveDays') or colPickMode == 1 and data.containsKey('marriageLeaveDays')))">
a.marriageLeaveDays,
a.marriageLeaveDays,
</if>
</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('breastfeedingLeaveDays') or colPickMode == 1 and data.containsKey('breastfeedingLeaveDays')))">
a.breastfeedingLeaveDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('bereavementLeaveDays') or colPickMode == 1 and data.containsKey('bereavementLeaveDays')))">
a.bereavementLeaveDays,
</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('remark') or colPickMode == 1 and data.containsKey('remark')))">
<iftest="(colPickMode==0 and data.containsKey('maternityLeaveDays')) or (colPickMode==1 and !data.containsKey('maternityLeaveDays'))">
a.maternityLeaveDays=#{data.maternityLeaveDays},
</if>
<iftest="(colPickMode==0 and data.containsKey('maternityLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('maternityLeaveDaysIncrement'))">
<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'))">
<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('breastfeedingLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('breastfeedingLeaveDaysIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('bereavementLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('bereavementLeaveDaysIncrement'))">
<whentest="(colPickMode==0 and item.containsKey('maternityLeaveDays')) or (colPickMode==1 and !item.containsKey('maternityLeaveDays'))">
when a.id=#{item.id} then #{item.maternityLeaveDays}
</when>
<whentest="(colPickMode==0 and item.containsKey('maternityLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('maternityLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.maternityLeaveDays,0) + #{item.maternityLeaveDaysIncrement}
<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}
<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('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('bereavementLeaveDays')) or (colPickMode==1 and !item.containsKey('bereavementLeaveDays'))">
when a.id=#{item.id} then #{item.bereavementLeaveDays}
</when>
<whentest="(colPickMode==0 and item.containsKey('bereavementLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('bereavementLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.bereavementLeaveDays,0) + #{item.bereavementLeaveDaysIncrement}
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffId') or colPickMode == 1 and data.containsKey('staffId')))">
a.staffId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffName') or colPickMode == 1 and data.containsKey('staffName')))">
a.staffName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('type') or colPickMode == 1 and data.containsKey('type')))">
a.type,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subAddType') or colPickMode == 1 and data.containsKey('subAddType')))">
a.subAddType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('validityPeriod') or colPickMode == 1 and data.containsKey('validityPeriod')))">
a.validityPeriod,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subOrAddDays') or colPickMode == 1 and data.containsKey('subOrAddDays')))">
a.subOrAddDays,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('content') or colPickMode == 1 and data.containsKey('content')))">
a.content,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('rule') or colPickMode == 1 and data.containsKey('rule')))">
a.rule,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reason') or colPickMode == 1 and data.containsKey('reason')))">
a.reason,
</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')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName,
a.deptName,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptCode') or colPickMode == 1 and data.containsKey('deptCode')))">
a.deptCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptStatus') or colPickMode == 1 and data.containsKey('deptStatus')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptStatus') or colPickMode == 1 and data.containsKey('deptStatus')))">
a.deptStatus,
a.deptStatus,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('orderNum') or colPickMode == 1 and data.containsKey('orderNum')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('orderNum') or colPickMode == 1 and data.containsKey('orderNum')))">
a.orderNum,
a.orderNum,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('personNum') or colPickMode == 1 and data.containsKey('personNum')))">
a.personNum,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('workId') or colPickMode == 1 and data.containsKey('workId')))">
a.workId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('workName') or colPickMode == 1 and data.containsKey('workName')))">
a.workName,
</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('remark') or colPickMode == 1 and data.containsKey('remark')))">
<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('type') or colPickMode == 1 and data.containsKey('type')))">