<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('catalogCode') or colPickMode == 1 and data.containsKey('catalogCode')))">
a.catalogCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateName') or colPickMode == 1 and data.containsKey('certificateName')))">
a.certificateName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateCode') or colPickMode == 1 and data.containsKey('certificateCode')))">
a.certificateCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('enterpriseNam') or colPickMode == 1 and data.containsKey('enterpriseNam')))">
a.enterpriseNam,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderName') or colPickMode == 1 and data.containsKey('holderName')))">
a.holderName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderIDCardNo') or colPickMode == 1 and data.containsKey('holderIDCardNo')))">
a.holderIDCardNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pickerName') or colPickMode == 1 and data.containsKey('pickerName')))">
a.pickerName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pickerIDCardNo') or colPickMode == 1 and data.containsKey('pickerIDCardNo')))">
a.pickerIDCardNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('originalCount') or colPickMode == 1 and data.containsKey('originalCount')))">
a.originalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duplicateCount') or colPickMode == 1 and data.containsKey('duplicateCount')))">
a.duplicateCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('printStatus') or colPickMode == 1 and data.containsKey('printStatus')))">
a.printStatus,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('printDate') or colPickMode == 1 and data.containsKey('printDate')))">
a.printDate,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceId') or colPickMode == 1 and data.containsKey('deviceId')))">
a.deviceId,
</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('catalogId') or colPickMode == 1 and data.containsKey('catalogId')))">
a.catalogId,
</if>
<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('catalogCode') or colPickMode == 1 and data.containsKey('catalogCode')))">
a.catalogCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateName') or colPickMode == 1 and data.containsKey('certificateName')))">
a.certificateName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateCode') or colPickMode == 1 and data.containsKey('certificateCode')))">
a.certificateCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('enterpriseName') or colPickMode == 1 and data.containsKey('enterpriseName')))">
a.enterpriseName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderName') or colPickMode == 1 and data.containsKey('holderName')))">
a.holderName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderIDCardNo') or colPickMode == 1 and data.containsKey('holderIDCardNo')))">
a.holderIDCardNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pickerName') or colPickMode == 1 and data.containsKey('pickerName')))">
a.pickerName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pickerIDCardNo') or colPickMode == 1 and data.containsKey('pickerIDCardNo')))">
a.pickerIDCardNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('originalCount') or colPickMode == 1 and data.containsKey('originalCount')))">
a.originalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duplicateCount') or colPickMode == 1 and data.containsKey('duplicateCount')))">
a.duplicateCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('printStatus') or colPickMode == 1 and data.containsKey('printStatus')))">
a.printStatus,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('printDate') or colPickMode == 1 and data.containsKey('printDate')))">
a.printDate,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceId') or colPickMode == 1 and data.containsKey('deviceId')))">
a.deviceId,
</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('catalogId') or colPickMode == 1 and data.containsKey('catalogId')))">
<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('applyId') or colPickMode == 1 and data.containsKey('applyId')))">
a.applyId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('catalogCode') or colPickMode == 1 and data.containsKey('catalogCode')))">
a.catalogCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateName') or colPickMode == 1 and data.containsKey('certificateName')))">
a.certificateName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateCode') or colPickMode == 1 and data.containsKey('certificateCode')))">
a.certificateCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('enterpriseName') or colPickMode == 1 and data.containsKey('enterpriseName')))">
a.enterpriseName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderName') or colPickMode == 1 and data.containsKey('holderName')))">
a.holderName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderIDCardNo') or colPickMode == 1 and data.containsKey('holderIDCardNo')))">
a.holderIDCardNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pickerName') or colPickMode == 1 and data.containsKey('pickerName')))">
a.pickerName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pickerIDCardNo') or colPickMode == 1 and data.containsKey('pickerIDCardNo')))">
a.pickerIDCardNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateType') or colPickMode == 1 and data.containsKey('certificateType')))">
a.certificateType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('previewUrl') or colPickMode == 1 and data.containsKey('previewUrl')))">
a.previewUrl,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateUrl') or colPickMode == 1 and data.containsKey('certificateUrl')))">
a.certificateUrl,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('printStatus') or colPickMode == 1 and data.containsKey('printStatus')))">
a.printStatus,
</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('catalogId') or colPickMode == 1 and data.containsKey('catalogId')))">
<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('catalogCode') or colPickMode == 1 and data.containsKey('catalogCode')))">
a.catalogCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateName') or colPickMode == 1 and data.containsKey('certificateName')))">
a.certificateName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateCode') or colPickMode == 1 and data.containsKey('certificateCode')))">
a.certificateCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('enterpriseNam') or colPickMode == 1 and data.containsKey('enterpriseNam')))">
a.enterpriseNam,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderName') or colPickMode == 1 and data.containsKey('holderName')))">
a.holderName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderIDCardNo') or colPickMode == 1 and data.containsKey('holderIDCardNo')))">
a.holderIDCardNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateStatus') or colPickMode == 1 and data.containsKey('certificateStatus')))">
a.certificateStatus,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('originalCount') or colPickMode == 1 and data.containsKey('originalCount')))">
a.originalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duplicateCount') or colPickMode == 1 and data.containsKey('duplicateCount')))">
a.duplicateCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('originalUrl') or colPickMode == 1 and data.containsKey('originalUrl')))">
a.originalUrl,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duplicateUrl') or colPickMode == 1 and data.containsKey('duplicateUrl')))">
a.duplicateUrl,
</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('catalogId') or colPickMode == 1 and data.containsKey('catalogId')))">
a.catalogId,
</if>
<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('catalogCode') or colPickMode == 1 and data.containsKey('catalogCode')))">
a.catalogCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateName') or colPickMode == 1 and data.containsKey('certificateName')))">
a.certificateName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateCode') or colPickMode == 1 and data.containsKey('certificateCode')))">
a.certificateCode,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('enterpriseName') or colPickMode == 1 and data.containsKey('enterpriseName')))">
a.enterpriseName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderName') or colPickMode == 1 and data.containsKey('holderName')))">
a.holderName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('holderIDCardNo') or colPickMode == 1 and data.containsKey('holderIDCardNo')))">
a.holderIDCardNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificateStatus') or colPickMode == 1 and data.containsKey('certificateStatus')))">
a.certificateStatus,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('originalCount') or colPickMode == 1 and data.containsKey('originalCount')))">
a.originalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duplicateCount') or colPickMode == 1 and data.containsKey('duplicateCount')))">
a.duplicateCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('originalUrl') or colPickMode == 1 and data.containsKey('originalUrl')))">
a.originalUrl,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duplicateUrl') or colPickMode == 1 and data.containsKey('duplicateUrl')))">
a.duplicateUrl,
</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('catalogId') or colPickMode == 1 and data.containsKey('catalogId')))">
<whentest="(colPickMode==0 and item.containsKey('certificateStatus')) or (colPickMode==1 and !item.containsKey('certificateStatus'))">
when a.id=#{item.id} then #{item.certificateStatus}
</when>
<whentest="(colPickMode==0 and item.containsKey('certificateStatusIncrement')) or (colPickMode==1 and !item.containsKey('certificateStatusIncrement'))">
when a.id=#{item.id} then ifnull(a.certificateStatus,0) + #{item.certificateStatusIncrement}
<whentest="(colPickMode==0 and item.containsKey('certificateStatus')) or (colPickMode==1 and !item.containsKey('certificateStatus'))">
when a.id=#{item.id} then #{item.certificateStatus}
</when>
<whentest="(colPickMode==0 and item.containsKey('certificateStatusIncrement')) or (colPickMode==1 and !item.containsKey('certificateStatusIncrement'))">
when a.id=#{item.id} then ifnull(a.certificateStatus,0) + #{item.certificateStatusIncrement}