<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('siteId') or colPickMode == 1 and data.containsKey('siteId')))">
a.siteId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteName') or colPickMode == 1 and data.containsKey('siteName')))">
a.siteName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmTime') or colPickMode == 1 and data.containsKey('alarmTime')))">
a.alarmTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmType') or colPickMode == 1 and data.containsKey('alarmType')))">
a.alarmType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmLevel') or colPickMode == 1 and data.containsKey('alarmLevel')))">
a.alarmLevel,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmReceivePersonnel') or colPickMode == 1 and data.containsKey('alarmReceivePersonnel')))">
a.alarmReceivePersonnel,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('receivePersonnelTelephone') or colPickMode == 1 and data.containsKey('receivePersonnelTelephone')))">
a.receivePersonnelTelephone,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmContent') or colPickMode == 1 and data.containsKey('alarmContent')))">
a.alarmContent,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('push') or colPickMode == 1 and data.containsKey('push')))">
a.push,
</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('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('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteId') or colPickMode == 1 and data.containsKey('siteId')))">
a.siteId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteName') or colPickMode == 1 and data.containsKey('siteName')))">
a.siteName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('personId') or colPickMode == 1 and data.containsKey('personId')))">
a.personId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pjId') or colPickMode == 1 and data.containsKey('pjId')))">
a.pjId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('name') or colPickMode == 1 and data.containsKey('name')))">
a.name,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('contact') or colPickMode == 1 and data.containsKey('contact')))">
a.contact,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('idCard') or colPickMode == 1 and data.containsKey('idCard')))">
a.idCard,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('windowId') or colPickMode == 1 and data.containsKey('windowId')))">
a.window_id,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('windowName') or colPickMode == 1 and data.containsKey('windowName')))">
a.window_name,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('section') or colPickMode == 1 and data.containsKey('section')))">
a.section,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('flounum') or colPickMode == 1 and data.containsKey('flounum')))">
a.flounum,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('assessment') or colPickMode == 1 and data.containsKey('assessment')))">
a.assessment,
</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('content') or colPickMode == 1 and data.containsKey('content')))">
a.content,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('source') or colPickMode == 1 and data.containsKey('source')))">
a.source,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pjTime') or colPickMode == 1 and data.containsKey('pjTime')))">
a.pjTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('careCount') or colPickMode == 1 and data.containsKey('careCount')))">
a.careCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('smsCount') or colPickMode == 1 and data.containsKey('smsCount')))">
a.smsCount,
</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('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</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('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
<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('siteId') or colPickMode == 1 and data.containsKey('siteId')))">
a.siteId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteName') or colPickMode == 1 and data.containsKey('siteName')))">
a.siteName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('personId') or colPickMode == 1 and data.containsKey('personId')))">
a.personId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('doWorkId') or colPickMode == 1 and data.containsKey('doWorkId')))">
a.doWorkId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('name') or colPickMode == 1 and data.containsKey('name')))">
a.name,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('contact') or colPickMode == 1 and data.containsKey('contact')))">
a.contact,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('idCard') or colPickMode == 1 and data.containsKey('idCard')))">
a.idCard,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('bussinessId') or colPickMode == 1 and data.containsKey('bussinessId')))">
a.bussinessId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('bussinessName') or colPickMode == 1 and data.containsKey('bussinessName')))">
a.bussinessName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('service') or colPickMode == 1 and data.containsKey('service')))">
a.service,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('queueNo') or colPickMode == 1 and data.containsKey('queueNo')))">
a.queueNo,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('takeTime') or colPickMode == 1 and data.containsKey('takeTime')))">
a.takeTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('callTime') or colPickMode == 1 and data.containsKey('callTime')))">
a.callTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('endTime') or colPickMode == 1 and data.containsKey('endTime')))">
a.endTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('waitTime') or colPickMode == 1 and data.containsKey('waitTime')))">
a.waitTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('careCount') or colPickMode == 1 and data.containsKey('careCount')))">
a.careCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('smsCount') or colPickMode == 1 and data.containsKey('smsCount')))">
a.smsCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('assessment') or colPickMode == 1 and data.containsKey('assessment')))">
a.assessment,
</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('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</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('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('personId') or colPickMode == 1 and data.containsKey('personId')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('personId') or colPickMode == 1 and data.containsKey('personId')))">
a.personId,
a.personId,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('waitId') or colPickMode == 1 and data.containsKey('waitId')))">
a.waitId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('name') or colPickMode == 1 and data.containsKey('name')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('name') or colPickMode == 1 and data.containsKey('name')))">
a.name,
a.name,
</if>
</if>
...
@@ -113,26 +118,35 @@
...
@@ -113,26 +118,35 @@
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('smsCount') or colPickMode == 1 and data.containsKey('smsCount')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('smsCount') or colPickMode == 1 and data.containsKey('smsCount')))">
a.smsCount,
a.smsCount,
</if>
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('waitId') or colPickMode == 1 and data.containsKey('waitId')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('endTime') or colPickMode == 1 and data.containsKey('endTime')))">
a.waitId,
a.endTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('endDureTime') or colPickMode == 1 and data.containsKey('endDureTime')))">
a.endDureTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('waitDureAlarmCount') or colPickMode == 1 and data.containsKey('waitDureAlarmCount')))">
a.waitDureAlarmCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('endDureAlarmCount') or colPickMode == 1 and data.containsKey('endDureAlarmCount')))">
<iftest="(colPickMode==0 and data.containsKey('waitDureAlarmCount')) or (colPickMode==1 and !data.containsKey('waitDureAlarmCount'))">
a.waitDureAlarmCount=#{data.waitDureAlarmCount},
</if>
<iftest="(colPickMode==0 and data.containsKey('waitDureAlarmCountIncrement')) or (colPickMode==1 and !data.containsKey('waitDureAlarmCountIncrement'))">
<whentest="(colPickMode==0 and item.containsKey('waitDureAlarmCount')) or (colPickMode==1 and !item.containsKey('waitDureAlarmCount'))">
when a.id=#{item.id} then #{item.waitDureAlarmCount}
</when>
<whentest="(colPickMode==0 and item.containsKey('waitDureAlarmCountIncrement')) or (colPickMode==1 and !item.containsKey('waitDureAlarmCountIncrement'))">
when a.id=#{item.id} then ifnull(a.waitDureAlarmCount,0) + #{item.waitDureAlarmCountIncrement}
<whentest="(colPickMode==0 and item.containsKey('endDureAlarmCount')) or (colPickMode==1 and !item.containsKey('endDureAlarmCount'))">
when a.id=#{item.id} then #{item.endDureAlarmCount}
</when>
<whentest="(colPickMode==0 and item.containsKey('endDureAlarmCountIncrement')) or (colPickMode==1 and !item.containsKey('endDureAlarmCountIncrement'))">
when a.id=#{item.id} then ifnull(a.endDureAlarmCount,0) + #{item.endDureAlarmCountIncrement}