<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('deviceTotalCount') or colPickMode == 1 and data.containsKey('deviceTotalCount')))">
a.deviceTotalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceAddCount') or colPickMode == 1 and data.containsKey('deviceAddCount')))">
a.deviceAddCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteTotalCount') or colPickMode == 1 and data.containsKey('siteTotalCount')))">
a.siteTotalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteAddCount') or colPickMode == 1 and data.containsKey('siteAddCount')))">
a.siteAddCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceOnlineCount') or colPickMode == 1 and data.containsKey('deviceOnlineCount')))">
a.deviceOnlineCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceOnlineRatio') or colPickMode == 1 and data.containsKey('deviceOnlineRatio')))">
a.deviceOnlineRatio,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceOfflineCount') or colPickMode == 1 and data.containsKey('deviceOfflineCount')))">
a.deviceOfflineCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceOfflineRatio') or colPickMode == 1 and data.containsKey('deviceOfflineRatio')))">
a.deviceOfflineRatio,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceStopCount') or colPickMode == 1 and data.containsKey('deviceStopCount')))">
a.deviceStopCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceStopRatio') or colPickMode == 1 and data.containsKey('deviceStopRatio')))">
a.deviceStopRatio,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmTotalCount') or colPickMode == 1 and data.containsKey('alarmTotalCount')))">
a.alarmTotalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmAddCount') or colPickMode == 1 and data.containsKey('alarmAddCount')))">
a.alarmAddCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pushTotalCount') or colPickMode == 1 and data.containsKey('pushTotalCount')))">
a.pushTotalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pushAddCount') or colPickMode == 1 and data.containsKey('pushAddCount')))">
a.pushAddCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('uploadMessageTotalCount') or colPickMode == 1 and data.containsKey('uploadMessageTotalCount')))">
a.uploadMessageTotalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('downloadMessageTotalCount') or colPickMode == 1 and data.containsKey('downloadMessageTotalCount')))">
a.downloadMessageTotalCount,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('year') or colPickMode == 1 and data.containsKey('year')))">
a.year,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('month') or colPickMode == 1 and data.containsKey('month')))">
a.month,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('day') or colPickMode == 1 and data.containsKey('day')))">
a.day,
</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="(colPickMode==0 and data.containsKey('deviceOfflineCount')) or (colPickMode==1 and !data.containsKey('deviceOfflineCount'))">
a.deviceOfflineCount=#{data.deviceOfflineCount},
</if>
<iftest="(colPickMode==0 and data.containsKey('deviceOfflineCountIncrement')) or (colPickMode==1 and !data.containsKey('deviceOfflineCountIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('deviceOfflineRatio')) or (colPickMode==1 and !data.containsKey('deviceOfflineRatio'))">
a.deviceOfflineRatio=#{data.deviceOfflineRatio},
</if>
<iftest="(colPickMode==0 and data.containsKey('deviceOfflineRatioIncrement')) or (colPickMode==1 and !data.containsKey('deviceOfflineRatioIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('uploadMessageTotalCountIncrement')) or (colPickMode==1 and !data.containsKey('uploadMessageTotalCountIncrement'))">
<iftest="(colPickMode==0 and data.containsKey('downloadMessageTotalCountIncrement')) or (colPickMode==1 and !data.containsKey('downloadMessageTotalCountIncrement'))">
<whentest="(colPickMode==0 and item.containsKey('deviceOnlineCount')) or (colPickMode==1 and !item.containsKey('deviceOnlineCount'))">
when a.id=#{item.id} then #{item.deviceOnlineCount}
</when>
<whentest="(colPickMode==0 and item.containsKey('deviceOnlineCountIncrement')) or (colPickMode==1 and !item.containsKey('deviceOnlineCountIncrement'))">
when a.id=#{item.id} then ifnull(a.deviceOnlineCount,0) + #{item.deviceOnlineCountIncrement}
<whentest="(colPickMode==0 and item.containsKey('deviceOnlineRatio')) or (colPickMode==1 and !item.containsKey('deviceOnlineRatio'))">
when a.id=#{item.id} then #{item.deviceOnlineRatio}
</when>
<whentest="(colPickMode==0 and item.containsKey('deviceOnlineRatioIncrement')) or (colPickMode==1 and !item.containsKey('deviceOnlineRatioIncrement'))">
when a.id=#{item.id} then ifnull(a.deviceOnlineRatio,0) + #{item.deviceOnlineRatioIncrement}
<whentest="(colPickMode==0 and item.containsKey('deviceOfflineCount')) or (colPickMode==1 and !item.containsKey('deviceOfflineCount'))">
when a.id=#{item.id} then #{item.deviceOfflineCount}
</when>
<whentest="(colPickMode==0 and item.containsKey('deviceOfflineCountIncrement')) or (colPickMode==1 and !item.containsKey('deviceOfflineCountIncrement'))">
when a.id=#{item.id} then ifnull(a.deviceOfflineCount,0) + #{item.deviceOfflineCountIncrement}
<whentest="(colPickMode==0 and item.containsKey('deviceOfflineRatio')) or (colPickMode==1 and !item.containsKey('deviceOfflineRatio'))">
when a.id=#{item.id} then #{item.deviceOfflineRatio}
</when>
<whentest="(colPickMode==0 and item.containsKey('deviceOfflineRatioIncrement')) or (colPickMode==1 and !item.containsKey('deviceOfflineRatioIncrement'))">
when a.id=#{item.id} then ifnull(a.deviceOfflineRatio,0) + #{item.deviceOfflineRatioIncrement}
<whentest="(colPickMode==0 and item.containsKey('uploadMessageTotalCount')) or (colPickMode==1 and !item.containsKey('uploadMessageTotalCount'))">
when a.id=#{item.id} then #{item.uploadMessageTotalCount}
</when>
<whentest="(colPickMode==0 and item.containsKey('uploadMessageTotalCountIncrement')) or (colPickMode==1 and !item.containsKey('uploadMessageTotalCountIncrement'))">
when a.id=#{item.id} then ifnull(a.uploadMessageTotalCount,0) + #{item.uploadMessageTotalCountIncrement}
<whentest="(colPickMode==0 and item.containsKey('downloadMessageTotalCount')) or (colPickMode==1 and !item.containsKey('downloadMessageTotalCount'))">
when a.id=#{item.id} then #{item.downloadMessageTotalCount}
</when>
<whentest="(colPickMode==0 and item.containsKey('downloadMessageTotalCountIncrement')) or (colPickMode==1 and !item.containsKey('downloadMessageTotalCountIncrement'))">
when a.id=#{item.id} then ifnull(a.downloadMessageTotalCount,0) + #{item.downloadMessageTotalCountIncrement}