<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id as id,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tableName') or colPickMode == 1 and data.containsKey('tableName')))">
a.tableName as tableName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tableComment') or colPickMode == 1 and data.containsKey('tableComment')))">
a.tableComment as tableComment,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subTableName') or colPickMode == 1 and data.containsKey('subTableName')))">
a.subTableName as subTableName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subTableFkName') or colPickMode == 1 and data.containsKey('subTableFkName')))">
a.subTableFkName as subTableFkName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('className') or colPickMode == 1 and data.containsKey('className')))">
a.className as className,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tplCategory') or colPickMode == 1 and data.containsKey('tplCategory')))">
a.tplCategory as tplCategory,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('packageName') or colPickMode == 1 and data.containsKey('packageName')))">
a.packageName as packageName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('moduleName') or colPickMode == 1 and data.containsKey('moduleName')))">
a.moduleName as moduleName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('businessName') or colPickMode == 1 and data.containsKey('businessName')))">
a.businessName as businessName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('functionName') or colPickMode == 1 and data.containsKey('functionName')))">
a.functionName as functionName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('functionAuthor') or colPickMode == 1 and data.containsKey('functionAuthor')))">
a.functionAuthor as functionAuthor,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('cacheServiceType') or colPickMode == 1 and data.containsKey('cacheServiceType')))">
a.cacheServiceType as cacheServiceType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('genType') or colPickMode == 1 and data.containsKey('genType')))">
a.genType as genType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('dividedTableType') or colPickMode == 1 and data.containsKey('dividedTableType')))">
a.dividedTableType as dividedTableType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('genPath') or colPickMode == 1 and data.containsKey('genPath')))">
a.genPath as genPath,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('options') or colPickMode == 1 and data.containsKey('options')))">
a.options as options,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark as remark,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime as updateTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUser') or colPickMode == 1 and data.containsKey('updateUser')))">
a.updateUser as updateUser,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime as createTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUser') or colPickMode == 1 and data.containsKey('createUser')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id as id,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tableId') or colPickMode == 1 and data.containsKey('tableId')))">
a.tableId as tableId,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('columnName') or colPickMode == 1 and data.containsKey('columnName')))">
a.columnName as columnName,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('columnComment') or colPickMode == 1 and data.containsKey('columnComment')))">
a.columnComment as columnComment,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('columnType') or colPickMode == 1 and data.containsKey('columnType')))">
a.columnType as columnType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('javaType') or colPickMode == 1 and data.containsKey('javaType')))">
a.javaType as javaType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('javaField') or colPickMode == 1 and data.containsKey('javaField')))">
a.javaField as javaField,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isPrimaryKey') or colPickMode == 1 and data.containsKey('isPrimaryKey')))">
a.isPrimaryKey as isPrimaryKey,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isIncrement') or colPickMode == 1 and data.containsKey('isIncrement')))">
a.isIncrement as isIncrement,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isRequired') or colPickMode == 1 and data.containsKey('isRequired')))">
a.isRequired as isRequired,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isInsert') or colPickMode == 1 and data.containsKey('isInsert')))">
a.isInsert as isInsert,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isEdit') or colPickMode == 1 and data.containsKey('isEdit')))">
a.isEdit as isEdit,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isList') or colPickMode == 1 and data.containsKey('isList')))">
a.isList as isList,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isQuery') or colPickMode == 1 and data.containsKey('isQuery')))">
a.isQuery as isQuery,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('htmlType') or colPickMode == 1 and data.containsKey('htmlType')))">
a.htmlType as htmlType,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('sort') or colPickMode == 1 and data.containsKey('sort')))">
a.sort as sort,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime as updateTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUser') or colPickMode == 1 and data.containsKey('updateUser')))">
a.updateUser as updateUser,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime as createTime,
</if>
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUser') or colPickMode == 1 and data.containsKey('createUser')))">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('${field.attName}') or colPickMode == 1 and data.containsKey('${field.attName}')))">
<#noparse>$</#noparse>{_conditionType_} a.${field.columnName} is null
</if>
</if>
<iftest="conditionParamRef.containsKey('${field.attName}Start') and conditionParamRef.${field.attName}Start != null and conditionParamRef.${field.attName}Start!=''">
<iftest="conditionParamRef.containsKey('${field.attName}End') and conditionParamRef.${field.attName}End != null and conditionParamRef.${field.attName}End!=''">
<iftest="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('${field.columnName}') or colPickMode == 1 and data.containsKey('${field.columnName}')))">
<iftest="(colPickMode==0 and data.containsKey('${field.columnName}Increment')) or (colPickMode==1 and !data.containsKey('${field.columnName}Increment'))">
<whentest="(colPickMode==0 and item.containsKey('${field.columnName}')) or (colPickMode==1 and !item.containsKey('${field.columnName}'))">
when a.id=<#noparse>#</#noparse>{item.id} then <#noparse>#</#noparse>{item.${field.columnName}}
</when>
<whentest="(colPickMode==0 and item.containsKey('${field.columnName}Increment')) or (colPickMode==1 and !item.containsKey('${field.columnName}Increment'))">
when a.id=<#noparse>#</#noparse>{item.id} then ifnull(a.${field.columnName},0) + <#noparse>#</#noparse>{item.${field.columnName}Increment}