<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.sheet.dao.ibatis.SheetMatterDaoImpl">

    <!-- 字段和属性映射 -->
    <resultMap type="SheetMatterEntity" id="SheetMatterEntity-Map">
            <id  property="id" column="id" />
            <result property="siteId" column="siteId" />
            <result property="tid" column="tid" />
            <result property="tcode" column="tcode" />
            <result property="tname" column="tname" />
            <result property="matterName" column="matterName" />
            <result property="englishName" column="englishName" />
            <result property="matterNo" column="matterNo" />
            <result property="appoveObjectShow" column="appoveObjectShow" />
            <result property="operatScopeShow" column="operatScopeShow" />
            <result property="appoveTimeLimitShow" column="appoveTimeLimitShow" />
            <result property="handleType" column="handleType" />
            <result property="legalTimeLimitShow" column="legalTimeLimitShow" />
            <result property="legalEndExplain" column="legalEndExplain" />
            <result property="promiseTimeLimitShow" column="promiseTimeLimitShow" />
            <result property="promiseEndExplain" column="promiseEndExplain" />
            <result property="isChargesShow" column="isChargesShow" />
            <result property="certificationLevelsShow" column="certificationLevelsShow" />
            <result property="planTakeTime" column="planTakeTime" />
            <result property="promiseTakeTime" column="promiseTakeTime" />
            <result property="specialProcedure" column="specialProcedure" />
            <result property="windowToTheSceneNum" column="windowToTheSceneNum" />
            <result property="isOnlineSubscribeShow" column="isOnlineSubscribeShow" />
            <result property="isExpressTakeShow" column="isExpressTakeShow" />
            <result property="isProvinceAcquisitionShow" column="isProvinceAcquisitionShow" />
            <result property="isApplyProvinceShow" column="isApplyProvinceShow" />
            <result property="mustSceneExplain" column="mustSceneExplain" />
            <result property="onlineType" column="onlineType" />
            <result property="onlineToTheSceneNum" column="onlineToTheSceneNum" />
            <result property="onlineOperatDeep" column="onlineOperatDeep" />
            <result property="isExpressTakeOnlineShow" column="isExpressTakeOnlineShow" />
            <result property="isDoorTakeShow" column="isDoorTakeShow" />
            <result property="onlineMustSceneExplain" column="onlineMustSceneExplain" />
            <result property="performDeptType" column="performDeptType" />
            <result property="matterEdition" column="matterEdition" />
            <result property="eventTypeShow" column="eventTypeShow" />
            <result property="performHierarchyShow" column="performHierarchyShow" />
            <result property="powerSourceShow" column="powerSourceShow" />
            <result property="performDeptTypeShow" column="performDeptTypeShow" />
            <result property="goveServiceCenterShow" column="goveServiceCenterShow" />
            <result property="isConvenientCenterShow" column="isConvenientCenterShow" />
            <result property="terminalHandle" column="terminalHandle" />
            <result property="isOnline" column="isOnline" />
            <result property="isOnlinePayShow" column="isOnlinePayShow" />
            <result property="entrustmentDepartmen" column="entrustmentDepartmen" />
            <result property="jointInfoShow" column="jointInfoShow" />
            <result property="matterStatus" column="matterStatus" />
            <result property="numberLimit" column="numberLimit" />
            <result property="type" column="type" />
            <result property="baseCode" column="baseCode" />
            <result property="implementCode" column="implementCode" />
            <result property="implementBodyCode" column="implementBodyCode" />
            <result property="operateItemCode" column="operateItemCode" />
            <result property="townshipName" column="townshipName" />
            <result property="townshipCode" column="townshipCode" />
            <result property="villageName" column="villageName" />
            <result property="villageCode" column="villageCode" />
            <result property="operateTime" column="operateTime" />
            <result property="operateSite" column="operateSite" />
            <result property="cousultingShow" column="cousultingShow" />
            <result property="cousultingTelephoneShow" column="cousultingTelephoneShow" />
            <result property="superviseShow" column="superviseShow" />
            <result property="mattertype" column="mattertype" />
            <result property="deptCode" column="deptCode" />
            <result property="dirListCode" column="dirListCode" />
            <result property="runSystemShow" column="runSystemShow" />
            <result property="jointReviewInfoShow" column="jointReviewInfoShow" />
            <result property="doThingTypeShow" column="doThingTypeShow" />
            <result property="pubTimeShow" column="pubTimeShow" />
            <result property="supervisoryTelephoneShow" column="supervisoryTelephoneShow" />
            <result property="handleTimeShow" column="handleTimeShow" />
            <result property="handlePlaceShow" column="handlePlaceShow" />
            <result property="daysTypeShow" column="daysTypeShow" />
            <result property="tradeShow" column="tradeShow" />
            <result property="eventSourceShow" column="eventSourceShow" />
            <result property="applyresultTypeShow" column="applyresultTypeShow" />
            <result property="typeOfReview" column="typeOfReview" />
            <result property="enforcement" column="enforcement" />
            <result property="serviceClassification" column="serviceClassification" />
            <result property="licenseNumber" column="licenseNumber" />
            <result property="number" column="number" />
            <result property="inquire" column="inquire" />
            <result property="handlingresultNames" column="handlingresultNames" />
            <result property="sampleApprovalResults" column="sampleApprovalResults" />
            <result property="performDeptName" column="performDeptName" />
            <result property="html" column="html" />
            <result property="eventType" column="eventType" />
            <result property="shardKey" column="shardKey" />
            <result property="parson" column="parson" />
            <result property="lengal" column="lengal" />
            <result property="materialRemark" column="materialRemark" />
            <result property="codeurl" column="codeurl" />
            <result property="applyObject" column="applyObject" />
            <result property="isUniteAccept" column="isUniteAccept" />
            <result property="sort" column="sort" />
            <result property="isRecommend" column="isRecommend" />
            <result property="createTime" column="createTime" />
            <result property="createUserId" column="createUserId" />
            <result property="updateTime" column="updateTime" />
            
    </resultMap>


    <!-- 表所有列 -->
    <sql id="_columns">
        <trim suffixOverrides="," suffix="">
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
                    a.id,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteId') or colPickMode == 1 and data.containsKey('siteId')))">
                    a.siteId,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tid') or colPickMode == 1 and data.containsKey('tid')))">
                    a.tid,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tcode') or colPickMode == 1 and data.containsKey('tcode')))">
                    a.tcode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tname') or colPickMode == 1 and data.containsKey('tname')))">
                    a.tname,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterName') or colPickMode == 1 and data.containsKey('matterName')))">
                    a.matterName,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('englishName') or colPickMode == 1 and data.containsKey('englishName')))">
                    a.englishName,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterNo') or colPickMode == 1 and data.containsKey('matterNo')))">
                    a.matterNo,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('appoveObjectShow') or colPickMode == 1 and data.containsKey('appoveObjectShow')))">
                    a.appoveObjectShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('operatScopeShow') or colPickMode == 1 and data.containsKey('operatScopeShow')))">
                    a.operatScopeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('appoveTimeLimitShow') or colPickMode == 1 and data.containsKey('appoveTimeLimitShow')))">
                    a.appoveTimeLimitShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('handleType') or colPickMode == 1 and data.containsKey('handleType')))">
                    a.handleType,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('legalTimeLimitShow') or colPickMode == 1 and data.containsKey('legalTimeLimitShow')))">
                    a.legalTimeLimitShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('legalEndExplain') or colPickMode == 1 and data.containsKey('legalEndExplain')))">
                    a.legalEndExplain,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('promiseTimeLimitShow') or colPickMode == 1 and data.containsKey('promiseTimeLimitShow')))">
                    a.promiseTimeLimitShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('promiseEndExplain') or colPickMode == 1 and data.containsKey('promiseEndExplain')))">
                    a.promiseEndExplain,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isChargesShow') or colPickMode == 1 and data.containsKey('isChargesShow')))">
                    a.isChargesShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('certificationLevelsShow') or colPickMode == 1 and data.containsKey('certificationLevelsShow')))">
                    a.certificationLevelsShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('planTakeTime') or colPickMode == 1 and data.containsKey('planTakeTime')))">
                    a.planTakeTime,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('promiseTakeTime') or colPickMode == 1 and data.containsKey('promiseTakeTime')))">
                    a.promiseTakeTime,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('specialProcedure') or colPickMode == 1 and data.containsKey('specialProcedure')))">
                    a.specialProcedure,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('windowToTheSceneNum') or colPickMode == 1 and data.containsKey('windowToTheSceneNum')))">
                    a.windowToTheSceneNum,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isOnlineSubscribeShow') or colPickMode == 1 and data.containsKey('isOnlineSubscribeShow')))">
                    a.isOnlineSubscribeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isExpressTakeShow') or colPickMode == 1 and data.containsKey('isExpressTakeShow')))">
                    a.isExpressTakeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isProvinceAcquisitionShow') or colPickMode == 1 and data.containsKey('isProvinceAcquisitionShow')))">
                    a.isProvinceAcquisitionShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isApplyProvinceShow') or colPickMode == 1 and data.containsKey('isApplyProvinceShow')))">
                    a.isApplyProvinceShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('mustSceneExplain') or colPickMode == 1 and data.containsKey('mustSceneExplain')))">
                    a.mustSceneExplain,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('onlineType') or colPickMode == 1 and data.containsKey('onlineType')))">
                    a.onlineType,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('onlineToTheSceneNum') or colPickMode == 1 and data.containsKey('onlineToTheSceneNum')))">
                    a.onlineToTheSceneNum,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('onlineOperatDeep') or colPickMode == 1 and data.containsKey('onlineOperatDeep')))">
                    a.onlineOperatDeep,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isExpressTakeOnlineShow') or colPickMode == 1 and data.containsKey('isExpressTakeOnlineShow')))">
                    a.isExpressTakeOnlineShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isDoorTakeShow') or colPickMode == 1 and data.containsKey('isDoorTakeShow')))">
                    a.isDoorTakeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('onlineMustSceneExplain') or colPickMode == 1 and data.containsKey('onlineMustSceneExplain')))">
                    a.onlineMustSceneExplain,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('performDeptType') or colPickMode == 1 and data.containsKey('performDeptType')))">
                    a.performDeptType,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterEdition') or colPickMode == 1 and data.containsKey('matterEdition')))">
                    a.matterEdition,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventTypeShow') or colPickMode == 1 and data.containsKey('eventTypeShow')))">
                    a.eventTypeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('performHierarchyShow') or colPickMode == 1 and data.containsKey('performHierarchyShow')))">
                    a.performHierarchyShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('powerSourceShow') or colPickMode == 1 and data.containsKey('powerSourceShow')))">
                    a.powerSourceShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('performDeptTypeShow') or colPickMode == 1 and data.containsKey('performDeptTypeShow')))">
                    a.performDeptTypeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('goveServiceCenterShow') or colPickMode == 1 and data.containsKey('goveServiceCenterShow')))">
                    a.goveServiceCenterShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isConvenientCenterShow') or colPickMode == 1 and data.containsKey('isConvenientCenterShow')))">
                    a.isConvenientCenterShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('terminalHandle') or colPickMode == 1 and data.containsKey('terminalHandle')))">
                    a.terminalHandle,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isOnline') or colPickMode == 1 and data.containsKey('isOnline')))">
                    a.isOnline,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isOnlinePayShow') or colPickMode == 1 and data.containsKey('isOnlinePayShow')))">
                    a.isOnlinePayShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('entrustmentDepartmen') or colPickMode == 1 and data.containsKey('entrustmentDepartmen')))">
                    a.entrustmentDepartmen,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('jointInfoShow') or colPickMode == 1 and data.containsKey('jointInfoShow')))">
                    a.jointInfoShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterStatus') or colPickMode == 1 and data.containsKey('matterStatus')))">
                    a.matterStatus,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('numberLimit') or colPickMode == 1 and data.containsKey('numberLimit')))">
                    a.numberLimit,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('type') or colPickMode == 1 and data.containsKey('type')))">
                    a.type,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('baseCode') or colPickMode == 1 and data.containsKey('baseCode')))">
                    a.baseCode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementCode') or colPickMode == 1 and data.containsKey('implementCode')))">
                    a.implementCode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementBodyCode') or colPickMode == 1 and data.containsKey('implementBodyCode')))">
                    a.implementBodyCode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('operateItemCode') or colPickMode == 1 and data.containsKey('operateItemCode')))">
                    a.operateItemCode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('townshipName') or colPickMode == 1 and data.containsKey('townshipName')))">
                    a.townshipName,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('townshipCode') or colPickMode == 1 and data.containsKey('townshipCode')))">
                    a.townshipCode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('villageName') or colPickMode == 1 and data.containsKey('villageName')))">
                    a.villageName,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('villageCode') or colPickMode == 1 and data.containsKey('villageCode')))">
                    a.villageCode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('operateTime') or colPickMode == 1 and data.containsKey('operateTime')))">
                    a.operateTime,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('operateSite') or colPickMode == 1 and data.containsKey('operateSite')))">
                    a.operateSite,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('cousultingShow') or colPickMode == 1 and data.containsKey('cousultingShow')))">
                    a.cousultingShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('cousultingTelephoneShow') or colPickMode == 1 and data.containsKey('cousultingTelephoneShow')))">
                    a.cousultingTelephoneShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('superviseShow') or colPickMode == 1 and data.containsKey('superviseShow')))">
                    a.superviseShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('mattertype') or colPickMode == 1 and data.containsKey('mattertype')))">
                    a.mattertype,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptCode') or colPickMode == 1 and data.containsKey('deptCode')))">
                    a.deptCode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('dirListCode') or colPickMode == 1 and data.containsKey('dirListCode')))">
                    a.dirListCode,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('runSystemShow') or colPickMode == 1 and data.containsKey('runSystemShow')))">
                    a.runSystemShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('jointReviewInfoShow') or colPickMode == 1 and data.containsKey('jointReviewInfoShow')))">
                    a.jointReviewInfoShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('doThingTypeShow') or colPickMode == 1 and data.containsKey('doThingTypeShow')))">
                    a.doThingTypeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('pubTimeShow') or colPickMode == 1 and data.containsKey('pubTimeShow')))">
                    a.pubTimeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('supervisoryTelephoneShow') or colPickMode == 1 and data.containsKey('supervisoryTelephoneShow')))">
                    a.supervisoryTelephoneShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('handleTimeShow') or colPickMode == 1 and data.containsKey('handleTimeShow')))">
                    a.handleTimeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('handlePlaceShow') or colPickMode == 1 and data.containsKey('handlePlaceShow')))">
                    a.handlePlaceShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('daysTypeShow') or colPickMode == 1 and data.containsKey('daysTypeShow')))">
                    a.daysTypeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tradeShow') or colPickMode == 1 and data.containsKey('tradeShow')))">
                    a.tradeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventSourceShow') or colPickMode == 1 and data.containsKey('eventSourceShow')))">
                    a.eventSourceShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('applyresultTypeShow') or colPickMode == 1 and data.containsKey('applyresultTypeShow')))">
                    a.applyresultTypeShow,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('typeOfReview') or colPickMode == 1 and data.containsKey('typeOfReview')))">
                    a.typeOfReview,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('enforcement') or colPickMode == 1 and data.containsKey('enforcement')))">
                    a.enforcement,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('serviceClassification') or colPickMode == 1 and data.containsKey('serviceClassification')))">
                    a.serviceClassification,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('licenseNumber') or colPickMode == 1 and data.containsKey('licenseNumber')))">
                    a.licenseNumber,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('number') or colPickMode == 1 and data.containsKey('number')))">
                    a.number,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('inquire') or colPickMode == 1 and data.containsKey('inquire')))">
                    a.inquire,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('handlingresultNames') or colPickMode == 1 and data.containsKey('handlingresultNames')))">
                    a.handlingresultNames,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('sampleApprovalResults') or colPickMode == 1 and data.containsKey('sampleApprovalResults')))">
                    a.sampleApprovalResults,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('performDeptName') or colPickMode == 1 and data.containsKey('performDeptName')))">
                    a.performDeptName,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('html') or colPickMode == 1 and data.containsKey('html')))">
                    a.html,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventType') or colPickMode == 1 and data.containsKey('eventType')))">
                    a.eventType,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('shardKey') or colPickMode == 1 and data.containsKey('shardKey')))">
                    a.shardKey,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('parson') or colPickMode == 1 and data.containsKey('parson')))">
                    a.parson,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('lengal') or colPickMode == 1 and data.containsKey('lengal')))">
                    a.lengal,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('materialRemark') or colPickMode == 1 and data.containsKey('materialRemark')))">
                    a.materialRemark,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('codeurl') or colPickMode == 1 and data.containsKey('codeurl')))">
                    a.codeurl,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('applyObject') or colPickMode == 1 and data.containsKey('applyObject')))">
                    a.applyObject,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isUniteAccept') or colPickMode == 1 and data.containsKey('isUniteAccept')))">
                    a.isUniteAccept,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('sort') or colPickMode == 1 and data.containsKey('sort')))">
                    a.sort,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isRecommend') or colPickMode == 1 and data.containsKey('isRecommend')))">
                    a.isRecommend,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
                    a.createTime,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
                    a.createUserId,
                </if>
                <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
                    a.updateTime,
                </if>
        </trim>
    </sql>
    <!-- 新增 区分主键自增加还是业务插入 -->
    <insert id="insert" parameterType="SheetMatterEntity"  useGeneratedKeys="true" keyProperty="id">
        insert into mortals_xhx_sheet_matter
        (siteId,tid,tcode,tname,matterName,englishName,matterNo,appoveObjectShow,operatScopeShow,appoveTimeLimitShow,handleType,legalTimeLimitShow,legalEndExplain,promiseTimeLimitShow,promiseEndExplain,isChargesShow,certificationLevelsShow,planTakeTime,promiseTakeTime,specialProcedure,windowToTheSceneNum,isOnlineSubscribeShow,isExpressTakeShow,isProvinceAcquisitionShow,isApplyProvinceShow,mustSceneExplain,onlineType,onlineToTheSceneNum,onlineOperatDeep,isExpressTakeOnlineShow,isDoorTakeShow,onlineMustSceneExplain,performDeptType,matterEdition,eventTypeShow,performHierarchyShow,powerSourceShow,performDeptTypeShow,goveServiceCenterShow,isConvenientCenterShow,terminalHandle,isOnline,isOnlinePayShow,entrustmentDepartmen,jointInfoShow,matterStatus,numberLimit,type,baseCode,implementCode,implementBodyCode,operateItemCode,townshipName,townshipCode,villageName,villageCode,operateTime,operateSite,cousultingShow,cousultingTelephoneShow,superviseShow,mattertype,deptCode,dirListCode,runSystemShow,jointReviewInfoShow,doThingTypeShow,pubTimeShow,supervisoryTelephoneShow,handleTimeShow,handlePlaceShow,daysTypeShow,tradeShow,eventSourceShow,applyresultTypeShow,typeOfReview,enforcement,serviceClassification,licenseNumber,number,inquire,handlingresultNames,sampleApprovalResults,performDeptName,html,eventType,shardKey,parson,lengal,materialRemark,codeurl,applyObject,isUniteAccept,sort,isRecommend,createTime,createUserId,updateTime)
        VALUES
        (#{siteId},#{tid},#{tcode},#{tname},#{matterName},#{englishName},#{matterNo},#{appoveObjectShow},#{operatScopeShow},#{appoveTimeLimitShow},#{handleType},#{legalTimeLimitShow},#{legalEndExplain},#{promiseTimeLimitShow},#{promiseEndExplain},#{isChargesShow},#{certificationLevelsShow},#{planTakeTime},#{promiseTakeTime},#{specialProcedure},#{windowToTheSceneNum},#{isOnlineSubscribeShow},#{isExpressTakeShow},#{isProvinceAcquisitionShow},#{isApplyProvinceShow},#{mustSceneExplain},#{onlineType},#{onlineToTheSceneNum},#{onlineOperatDeep},#{isExpressTakeOnlineShow},#{isDoorTakeShow},#{onlineMustSceneExplain},#{performDeptType},#{matterEdition},#{eventTypeShow},#{performHierarchyShow},#{powerSourceShow},#{performDeptTypeShow},#{goveServiceCenterShow},#{isConvenientCenterShow},#{terminalHandle},#{isOnline},#{isOnlinePayShow},#{entrustmentDepartmen},#{jointInfoShow},#{matterStatus},#{numberLimit},#{type},#{baseCode},#{implementCode},#{implementBodyCode},#{operateItemCode},#{townshipName},#{townshipCode},#{villageName},#{villageCode},#{operateTime},#{operateSite},#{cousultingShow},#{cousultingTelephoneShow},#{superviseShow},#{mattertype},#{deptCode},#{dirListCode},#{runSystemShow},#{jointReviewInfoShow},#{doThingTypeShow},#{pubTimeShow},#{supervisoryTelephoneShow},#{handleTimeShow},#{handlePlaceShow},#{daysTypeShow},#{tradeShow},#{eventSourceShow},#{applyresultTypeShow},#{typeOfReview},#{enforcement},#{serviceClassification},#{licenseNumber},#{number},#{inquire},#{handlingresultNames},#{sampleApprovalResults},#{performDeptName},#{html},#{eventType},#{shardKey},#{parson},#{lengal},#{materialRemark},#{codeurl},#{applyObject},#{isUniteAccept},#{sort},#{isRecommend},#{createTime},#{createUserId},#{updateTime})
    </insert>

    <!-- 批量新增 -->
    <insert id="insertBatch" parameterType="paramDto">
        insert into mortals_xhx_sheet_matter
        (siteId,tid,tcode,tname,matterName,englishName,matterNo,appoveObjectShow,operatScopeShow,appoveTimeLimitShow,handleType,legalTimeLimitShow,legalEndExplain,promiseTimeLimitShow,promiseEndExplain,isChargesShow,certificationLevelsShow,planTakeTime,promiseTakeTime,specialProcedure,windowToTheSceneNum,isOnlineSubscribeShow,isExpressTakeShow,isProvinceAcquisitionShow,isApplyProvinceShow,mustSceneExplain,onlineType,onlineToTheSceneNum,onlineOperatDeep,isExpressTakeOnlineShow,isDoorTakeShow,onlineMustSceneExplain,performDeptType,matterEdition,eventTypeShow,performHierarchyShow,powerSourceShow,performDeptTypeShow,goveServiceCenterShow,isConvenientCenterShow,terminalHandle,isOnline,isOnlinePayShow,entrustmentDepartmen,jointInfoShow,matterStatus,numberLimit,type,baseCode,implementCode,implementBodyCode,operateItemCode,townshipName,townshipCode,villageName,villageCode,operateTime,operateSite,cousultingShow,cousultingTelephoneShow,superviseShow,mattertype,deptCode,dirListCode,runSystemShow,jointReviewInfoShow,doThingTypeShow,pubTimeShow,supervisoryTelephoneShow,handleTimeShow,handlePlaceShow,daysTypeShow,tradeShow,eventSourceShow,applyresultTypeShow,typeOfReview,enforcement,serviceClassification,licenseNumber,number,inquire,handlingresultNames,sampleApprovalResults,performDeptName,html,eventType,shardKey,parson,lengal,materialRemark,codeurl,applyObject,isUniteAccept,sort,isRecommend,createTime,createUserId,updateTime)
        VALUES
        <foreach collection="data.dataList" item="item" index="index" separator="," >
            (#{item.siteId},#{item.tid},#{item.tcode},#{item.tname},#{item.matterName},#{item.englishName},#{item.matterNo},#{item.appoveObjectShow},#{item.operatScopeShow},#{item.appoveTimeLimitShow},#{item.handleType},#{item.legalTimeLimitShow},#{item.legalEndExplain},#{item.promiseTimeLimitShow},#{item.promiseEndExplain},#{item.isChargesShow},#{item.certificationLevelsShow},#{item.planTakeTime},#{item.promiseTakeTime},#{item.specialProcedure},#{item.windowToTheSceneNum},#{item.isOnlineSubscribeShow},#{item.isExpressTakeShow},#{item.isProvinceAcquisitionShow},#{item.isApplyProvinceShow},#{item.mustSceneExplain},#{item.onlineType},#{item.onlineToTheSceneNum},#{item.onlineOperatDeep},#{item.isExpressTakeOnlineShow},#{item.isDoorTakeShow},#{item.onlineMustSceneExplain},#{item.performDeptType},#{item.matterEdition},#{item.eventTypeShow},#{item.performHierarchyShow},#{item.powerSourceShow},#{item.performDeptTypeShow},#{item.goveServiceCenterShow},#{item.isConvenientCenterShow},#{item.terminalHandle},#{item.isOnline},#{item.isOnlinePayShow},#{item.entrustmentDepartmen},#{item.jointInfoShow},#{item.matterStatus},#{item.numberLimit},#{item.type},#{item.baseCode},#{item.implementCode},#{item.implementBodyCode},#{item.operateItemCode},#{item.townshipName},#{item.townshipCode},#{item.villageName},#{item.villageCode},#{item.operateTime},#{item.operateSite},#{item.cousultingShow},#{item.cousultingTelephoneShow},#{item.superviseShow},#{item.mattertype},#{item.deptCode},#{item.dirListCode},#{item.runSystemShow},#{item.jointReviewInfoShow},#{item.doThingTypeShow},#{item.pubTimeShow},#{item.supervisoryTelephoneShow},#{item.handleTimeShow},#{item.handlePlaceShow},#{item.daysTypeShow},#{item.tradeShow},#{item.eventSourceShow},#{item.applyresultTypeShow},#{item.typeOfReview},#{item.enforcement},#{item.serviceClassification},#{item.licenseNumber},#{item.number},#{item.inquire},#{item.handlingresultNames},#{item.sampleApprovalResults},#{item.performDeptName},#{item.html},#{item.eventType},#{item.shardKey},#{item.parson},#{item.lengal},#{item.materialRemark},#{item.codeurl},#{item.applyObject},#{item.isUniteAccept},#{item.sort},#{item.isRecommend},#{item.createTime},#{item.createUserId},#{item.updateTime})
        </foreach>
    </insert>


    <!-- 根据ParamDto更新 -->
    <update id="update" parameterType="paramDto">
        update mortals_xhx_sheet_matter as a
        set
        <trim suffixOverrides="," suffix="">
            <if test="(colPickMode==0 and data.containsKey('siteId')) or (colPickMode==1 and !data.containsKey('siteId'))">
                a.siteId=#{data.siteId},
            </if>
            <if test="(colPickMode==0 and data.containsKey('siteIdIncrement')) or (colPickMode==1 and !data.containsKey('siteIdIncrement'))">
                a.siteId=ifnull(a.siteId,0) + #{data.siteIdIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('tid')) or (colPickMode==1 and !data.containsKey('tid'))">
                a.tid=#{data.tid},
            </if>
            <if test="(colPickMode==0 and data.containsKey('tcode')) or (colPickMode==1 and !data.containsKey('tcode'))">
                a.tcode=#{data.tcode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('tname')) or (colPickMode==1 and !data.containsKey('tname'))">
                a.tname=#{data.tname},
            </if>
            <if test="(colPickMode==0 and data.containsKey('matterName')) or (colPickMode==1 and !data.containsKey('matterName'))">
                a.matterName=#{data.matterName},
            </if>
            <if test="(colPickMode==0 and data.containsKey('englishName')) or (colPickMode==1 and !data.containsKey('englishName'))">
                a.englishName=#{data.englishName},
            </if>
            <if test="(colPickMode==0 and data.containsKey('matterNo')) or (colPickMode==1 and !data.containsKey('matterNo'))">
                a.matterNo=#{data.matterNo},
            </if>
            <if test="(colPickMode==0 and data.containsKey('appoveObjectShow')) or (colPickMode==1 and !data.containsKey('appoveObjectShow'))">
                a.appoveObjectShow=#{data.appoveObjectShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('operatScopeShow')) or (colPickMode==1 and !data.containsKey('operatScopeShow'))">
                a.operatScopeShow=#{data.operatScopeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('appoveTimeLimitShow')) or (colPickMode==1 and !data.containsKey('appoveTimeLimitShow'))">
                a.appoveTimeLimitShow=#{data.appoveTimeLimitShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('handleType')) or (colPickMode==1 and !data.containsKey('handleType'))">
                a.handleType=#{data.handleType},
            </if>
            <if test="(colPickMode==0 and data.containsKey('legalTimeLimitShow')) or (colPickMode==1 and !data.containsKey('legalTimeLimitShow'))">
                a.legalTimeLimitShow=#{data.legalTimeLimitShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('legalEndExplain')) or (colPickMode==1 and !data.containsKey('legalEndExplain'))">
                a.legalEndExplain=#{data.legalEndExplain},
            </if>
            <if test="(colPickMode==0 and data.containsKey('promiseTimeLimitShow')) or (colPickMode==1 and !data.containsKey('promiseTimeLimitShow'))">
                a.promiseTimeLimitShow=#{data.promiseTimeLimitShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('promiseEndExplain')) or (colPickMode==1 and !data.containsKey('promiseEndExplain'))">
                a.promiseEndExplain=#{data.promiseEndExplain},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isChargesShow')) or (colPickMode==1 and !data.containsKey('isChargesShow'))">
                a.isChargesShow=#{data.isChargesShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('certificationLevelsShow')) or (colPickMode==1 and !data.containsKey('certificationLevelsShow'))">
                a.certificationLevelsShow=#{data.certificationLevelsShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('planTakeTime')) or (colPickMode==1 and !data.containsKey('planTakeTime'))">
                a.planTakeTime=#{data.planTakeTime},
            </if>
            <if test="(colPickMode==0 and data.containsKey('promiseTakeTime')) or (colPickMode==1 and !data.containsKey('promiseTakeTime'))">
                a.promiseTakeTime=#{data.promiseTakeTime},
            </if>
            <if test="(colPickMode==0 and data.containsKey('specialProcedure')) or (colPickMode==1 and !data.containsKey('specialProcedure'))">
                a.specialProcedure=#{data.specialProcedure},
            </if>
            <if test="(colPickMode==0 and data.containsKey('windowToTheSceneNum')) or (colPickMode==1 and !data.containsKey('windowToTheSceneNum'))">
                a.windowToTheSceneNum=#{data.windowToTheSceneNum},
            </if>
            <if test="(colPickMode==0 and data.containsKey('windowToTheSceneNumIncrement')) or (colPickMode==1 and !data.containsKey('windowToTheSceneNumIncrement'))">
                a.windowToTheSceneNum=ifnull(a.windowToTheSceneNum,0) + #{data.windowToTheSceneNumIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isOnlineSubscribeShow')) or (colPickMode==1 and !data.containsKey('isOnlineSubscribeShow'))">
                a.isOnlineSubscribeShow=#{data.isOnlineSubscribeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isExpressTakeShow')) or (colPickMode==1 and !data.containsKey('isExpressTakeShow'))">
                a.isExpressTakeShow=#{data.isExpressTakeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isProvinceAcquisitionShow')) or (colPickMode==1 and !data.containsKey('isProvinceAcquisitionShow'))">
                a.isProvinceAcquisitionShow=#{data.isProvinceAcquisitionShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isApplyProvinceShow')) or (colPickMode==1 and !data.containsKey('isApplyProvinceShow'))">
                a.isApplyProvinceShow=#{data.isApplyProvinceShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('mustSceneExplain')) or (colPickMode==1 and !data.containsKey('mustSceneExplain'))">
                a.mustSceneExplain=#{data.mustSceneExplain},
            </if>
            <if test="(colPickMode==0 and data.containsKey('onlineType')) or (colPickMode==1 and !data.containsKey('onlineType'))">
                a.onlineType=#{data.onlineType},
            </if>
            <if test="(colPickMode==0 and data.containsKey('onlineToTheSceneNum')) or (colPickMode==1 and !data.containsKey('onlineToTheSceneNum'))">
                a.onlineToTheSceneNum=#{data.onlineToTheSceneNum},
            </if>
            <if test="(colPickMode==0 and data.containsKey('onlineToTheSceneNumIncrement')) or (colPickMode==1 and !data.containsKey('onlineToTheSceneNumIncrement'))">
                a.onlineToTheSceneNum=ifnull(a.onlineToTheSceneNum,0) + #{data.onlineToTheSceneNumIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('onlineOperatDeep')) or (colPickMode==1 and !data.containsKey('onlineOperatDeep'))">
                a.onlineOperatDeep=#{data.onlineOperatDeep},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isExpressTakeOnlineShow')) or (colPickMode==1 and !data.containsKey('isExpressTakeOnlineShow'))">
                a.isExpressTakeOnlineShow=#{data.isExpressTakeOnlineShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isDoorTakeShow')) or (colPickMode==1 and !data.containsKey('isDoorTakeShow'))">
                a.isDoorTakeShow=#{data.isDoorTakeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('onlineMustSceneExplain')) or (colPickMode==1 and !data.containsKey('onlineMustSceneExplain'))">
                a.onlineMustSceneExplain=#{data.onlineMustSceneExplain},
            </if>
            <if test="(colPickMode==0 and data.containsKey('performDeptType')) or (colPickMode==1 and !data.containsKey('performDeptType'))">
                a.performDeptType=#{data.performDeptType},
            </if>
            <if test="(colPickMode==0 and data.containsKey('matterEdition')) or (colPickMode==1 and !data.containsKey('matterEdition'))">
                a.matterEdition=#{data.matterEdition},
            </if>
            <if test="(colPickMode==0 and data.containsKey('eventTypeShow')) or (colPickMode==1 and !data.containsKey('eventTypeShow'))">
                a.eventTypeShow=#{data.eventTypeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('performHierarchyShow')) or (colPickMode==1 and !data.containsKey('performHierarchyShow'))">
                a.performHierarchyShow=#{data.performHierarchyShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('powerSourceShow')) or (colPickMode==1 and !data.containsKey('powerSourceShow'))">
                a.powerSourceShow=#{data.powerSourceShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('performDeptTypeShow')) or (colPickMode==1 and !data.containsKey('performDeptTypeShow'))">
                a.performDeptTypeShow=#{data.performDeptTypeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('goveServiceCenterShow')) or (colPickMode==1 and !data.containsKey('goveServiceCenterShow'))">
                a.goveServiceCenterShow=#{data.goveServiceCenterShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isConvenientCenterShow')) or (colPickMode==1 and !data.containsKey('isConvenientCenterShow'))">
                a.isConvenientCenterShow=#{data.isConvenientCenterShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('terminalHandle')) or (colPickMode==1 and !data.containsKey('terminalHandle'))">
                a.terminalHandle=#{data.terminalHandle},
            </if>
            <if test="(colPickMode==0 and data.containsKey('terminalHandleIncrement')) or (colPickMode==1 and !data.containsKey('terminalHandleIncrement'))">
                a.terminalHandle=ifnull(a.terminalHandle,0) + #{data.terminalHandleIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isOnline')) or (colPickMode==1 and !data.containsKey('isOnline'))">
                a.isOnline=#{data.isOnline},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isOnlineIncrement')) or (colPickMode==1 and !data.containsKey('isOnlineIncrement'))">
                a.isOnline=ifnull(a.isOnline,0) + #{data.isOnlineIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isOnlinePayShow')) or (colPickMode==1 and !data.containsKey('isOnlinePayShow'))">
                a.isOnlinePayShow=#{data.isOnlinePayShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('entrustmentDepartmen')) or (colPickMode==1 and !data.containsKey('entrustmentDepartmen'))">
                a.entrustmentDepartmen=#{data.entrustmentDepartmen},
            </if>
            <if test="(colPickMode==0 and data.containsKey('jointInfoShow')) or (colPickMode==1 and !data.containsKey('jointInfoShow'))">
                a.jointInfoShow=#{data.jointInfoShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('matterStatus')) or (colPickMode==1 and !data.containsKey('matterStatus'))">
                a.matterStatus=#{data.matterStatus},
            </if>
            <if test="(colPickMode==0 and data.containsKey('numberLimit')) or (colPickMode==1 and !data.containsKey('numberLimit'))">
                a.numberLimit=#{data.numberLimit},
            </if>
            <if test="(colPickMode==0 and data.containsKey('numberLimitIncrement')) or (colPickMode==1 and !data.containsKey('numberLimitIncrement'))">
                a.numberLimit=ifnull(a.numberLimit,0) + #{data.numberLimitIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('type')) or (colPickMode==1 and !data.containsKey('type'))">
                a.type=#{data.type},
            </if>
            <if test="(colPickMode==0 and data.containsKey('baseCode')) or (colPickMode==1 and !data.containsKey('baseCode'))">
                a.baseCode=#{data.baseCode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('implementCode')) or (colPickMode==1 and !data.containsKey('implementCode'))">
                a.implementCode=#{data.implementCode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('implementBodyCode')) or (colPickMode==1 and !data.containsKey('implementBodyCode'))">
                a.implementBodyCode=#{data.implementBodyCode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('operateItemCode')) or (colPickMode==1 and !data.containsKey('operateItemCode'))">
                a.operateItemCode=#{data.operateItemCode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('townshipName')) or (colPickMode==1 and !data.containsKey('townshipName'))">
                a.townshipName=#{data.townshipName},
            </if>
            <if test="(colPickMode==0 and data.containsKey('townshipCode')) or (colPickMode==1 and !data.containsKey('townshipCode'))">
                a.townshipCode=#{data.townshipCode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('villageName')) or (colPickMode==1 and !data.containsKey('villageName'))">
                a.villageName=#{data.villageName},
            </if>
            <if test="(colPickMode==0 and data.containsKey('villageCode')) or (colPickMode==1 and !data.containsKey('villageCode'))">
                a.villageCode=#{data.villageCode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('operateTime')) or (colPickMode==1 and !data.containsKey('operateTime'))">
                a.operateTime=#{data.operateTime},
            </if>
            <if test="(colPickMode==0 and data.containsKey('operateSite')) or (colPickMode==1 and !data.containsKey('operateSite'))">
                a.operateSite=#{data.operateSite},
            </if>
            <if test="(colPickMode==0 and data.containsKey('cousultingShow')) or (colPickMode==1 and !data.containsKey('cousultingShow'))">
                a.cousultingShow=#{data.cousultingShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('cousultingTelephoneShow')) or (colPickMode==1 and !data.containsKey('cousultingTelephoneShow'))">
                a.cousultingTelephoneShow=#{data.cousultingTelephoneShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('superviseShow')) or (colPickMode==1 and !data.containsKey('superviseShow'))">
                a.superviseShow=#{data.superviseShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('mattertype')) or (colPickMode==1 and !data.containsKey('mattertype'))">
                a.mattertype=#{data.mattertype},
            </if>
            <if test="(colPickMode==0 and data.containsKey('mattertypeIncrement')) or (colPickMode==1 and !data.containsKey('mattertypeIncrement'))">
                a.mattertype=ifnull(a.mattertype,0) + #{data.mattertypeIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('deptCode')) or (colPickMode==1 and !data.containsKey('deptCode'))">
                a.deptCode=#{data.deptCode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('dirListCode')) or (colPickMode==1 and !data.containsKey('dirListCode'))">
                a.dirListCode=#{data.dirListCode},
            </if>
            <if test="(colPickMode==0 and data.containsKey('runSystemShow')) or (colPickMode==1 and !data.containsKey('runSystemShow'))">
                a.runSystemShow=#{data.runSystemShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('jointReviewInfoShow')) or (colPickMode==1 and !data.containsKey('jointReviewInfoShow'))">
                a.jointReviewInfoShow=#{data.jointReviewInfoShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('doThingTypeShow')) or (colPickMode==1 and !data.containsKey('doThingTypeShow'))">
                a.doThingTypeShow=#{data.doThingTypeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('pubTimeShow')) or (colPickMode==1 and !data.containsKey('pubTimeShow'))">
                a.pubTimeShow=#{data.pubTimeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('supervisoryTelephoneShow')) or (colPickMode==1 and !data.containsKey('supervisoryTelephoneShow'))">
                a.supervisoryTelephoneShow=#{data.supervisoryTelephoneShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('handleTimeShow')) or (colPickMode==1 and !data.containsKey('handleTimeShow'))">
                a.handleTimeShow=#{data.handleTimeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('handlePlaceShow')) or (colPickMode==1 and !data.containsKey('handlePlaceShow'))">
                a.handlePlaceShow=#{data.handlePlaceShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('daysTypeShow')) or (colPickMode==1 and !data.containsKey('daysTypeShow'))">
                a.daysTypeShow=#{data.daysTypeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('tradeShow')) or (colPickMode==1 and !data.containsKey('tradeShow'))">
                a.tradeShow=#{data.tradeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('eventSourceShow')) or (colPickMode==1 and !data.containsKey('eventSourceShow'))">
                a.eventSourceShow=#{data.eventSourceShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('applyresultTypeShow')) or (colPickMode==1 and !data.containsKey('applyresultTypeShow'))">
                a.applyresultTypeShow=#{data.applyresultTypeShow},
            </if>
            <if test="(colPickMode==0 and data.containsKey('typeOfReview')) or (colPickMode==1 and !data.containsKey('typeOfReview'))">
                a.typeOfReview=#{data.typeOfReview},
            </if>
            <if test="(colPickMode==0 and data.containsKey('enforcement')) or (colPickMode==1 and !data.containsKey('enforcement'))">
                a.enforcement=#{data.enforcement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('serviceClassification')) or (colPickMode==1 and !data.containsKey('serviceClassification'))">
                a.serviceClassification=#{data.serviceClassification},
            </if>
            <if test="(colPickMode==0 and data.containsKey('licenseNumber')) or (colPickMode==1 and !data.containsKey('licenseNumber'))">
                a.licenseNumber=#{data.licenseNumber},
            </if>
            <if test="(colPickMode==0 and data.containsKey('number')) or (colPickMode==1 and !data.containsKey('number'))">
                a.number=#{data.number},
            </if>
            <if test="(colPickMode==0 and data.containsKey('numberIncrement')) or (colPickMode==1 and !data.containsKey('numberIncrement'))">
                a.number=ifnull(a.number,0) + #{data.numberIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('inquire')) or (colPickMode==1 and !data.containsKey('inquire'))">
                a.inquire=#{data.inquire},
            </if>
            <if test="(colPickMode==0 and data.containsKey('handlingresultNames')) or (colPickMode==1 and !data.containsKey('handlingresultNames'))">
                a.handlingresultNames=#{data.handlingresultNames},
            </if>
            <if test="(colPickMode==0 and data.containsKey('sampleApprovalResults')) or (colPickMode==1 and !data.containsKey('sampleApprovalResults'))">
                a.sampleApprovalResults=#{data.sampleApprovalResults},
            </if>
            <if test="(colPickMode==0 and data.containsKey('performDeptName')) or (colPickMode==1 and !data.containsKey('performDeptName'))">
                a.performDeptName=#{data.performDeptName},
            </if>
            <if test="(colPickMode==0 and data.containsKey('html')) or (colPickMode==1 and !data.containsKey('html'))">
                a.html=#{data.html},
            </if>
            <if test="(colPickMode==0 and data.containsKey('eventType')) or (colPickMode==1 and !data.containsKey('eventType'))">
                a.eventType=#{data.eventType},
            </if>
            <if test="(colPickMode==0 and data.containsKey('shardKey')) or (colPickMode==1 and !data.containsKey('shardKey'))">
                a.shardKey=#{data.shardKey},
            </if>
            <if test="(colPickMode==0 and data.containsKey('shardKeyIncrement')) or (colPickMode==1 and !data.containsKey('shardKeyIncrement'))">
                a.shardKey=ifnull(a.shardKey,0) + #{data.shardKeyIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('parson')) or (colPickMode==1 and !data.containsKey('parson'))">
                a.parson=#{data.parson},
            </if>
            <if test="(colPickMode==0 and data.containsKey('parsonIncrement')) or (colPickMode==1 and !data.containsKey('parsonIncrement'))">
                a.parson=ifnull(a.parson,0) + #{data.parsonIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('lengal')) or (colPickMode==1 and !data.containsKey('lengal'))">
                a.lengal=#{data.lengal},
            </if>
            <if test="(colPickMode==0 and data.containsKey('lengalIncrement')) or (colPickMode==1 and !data.containsKey('lengalIncrement'))">
                a.lengal=ifnull(a.lengal,0) + #{data.lengalIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('materialRemark')) or (colPickMode==1 and !data.containsKey('materialRemark'))">
                a.materialRemark=#{data.materialRemark},
            </if>
            <if test="(colPickMode==0 and data.containsKey('codeurl')) or (colPickMode==1 and !data.containsKey('codeurl'))">
                a.codeurl=#{data.codeurl},
            </if>
            <if test="(colPickMode==0 and data.containsKey('applyObject')) or (colPickMode==1 and !data.containsKey('applyObject'))">
                a.applyObject=#{data.applyObject},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isUniteAccept')) or (colPickMode==1 and !data.containsKey('isUniteAccept'))">
                a.isUniteAccept=#{data.isUniteAccept},
            </if>
            <if test="(colPickMode==0 and data.containsKey('sort')) or (colPickMode==1 and !data.containsKey('sort'))">
                a.sort=#{data.sort},
            </if>
            <if test="(colPickMode==0 and data.containsKey('sortIncrement')) or (colPickMode==1 and !data.containsKey('sortIncrement'))">
                a.sort=ifnull(a.sort,0) + #{data.sortIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isRecommend')) or (colPickMode==1 and !data.containsKey('isRecommend'))">
                a.isRecommend=#{data.isRecommend},
            </if>
            <if test="(colPickMode==0 and data.containsKey('isRecommendIncrement')) or (colPickMode==1 and !data.containsKey('isRecommendIncrement'))">
                a.isRecommend=ifnull(a.isRecommend,0) + #{data.isRecommendIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))">
                a.createTime=#{data.createTime},
            </if>
            <if test="(colPickMode==0 and data.containsKey('createUserId')) or (colPickMode==1 and !data.containsKey('createUserId'))">
                a.createUserId=#{data.createUserId},
            </if>
            <if test="(colPickMode==0 and data.containsKey('createUserIdIncrement')) or (colPickMode==1 and !data.containsKey('createUserIdIncrement'))">
                a.createUserId=ifnull(a.createUserId,0) + #{data.createUserIdIncrement},
            </if>
            <if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
                a.updateTime=#{data.updateTime},
            </if>
        </trim>
        <trim suffixOverrides="where" suffix="">
            where
            <trim prefixOverrides="and" prefix="">
                <include refid="_condition_"/>
            </trim>
        </trim>
    </update>
    <!-- 批量更新 -->
    <update id="updateBatch" parameterType="paramDto">
        update mortals_xhx_sheet_matter as a
        <trim prefix="set" suffixOverrides=",">
                        <trim prefix="siteId=(case" suffix="ELSE siteId end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('siteId')) or (colPickMode==1 and !item.containsKey('siteId'))">
                                        when a.id=#{item.id} then #{item.siteId}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('siteIdIncrement')) or (colPickMode==1 and !item.containsKey('siteIdIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.siteId,0) + #{item.siteIdIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="tid=(case" suffix="ELSE tid end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('tid')) or (colPickMode==1 and !item.containsKey('tid'))">
                            when a.id=#{item.id} then #{item.tid}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="tcode=(case" suffix="ELSE tcode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('tcode')) or (colPickMode==1 and !item.containsKey('tcode'))">
                            when a.id=#{item.id} then #{item.tcode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="tname=(case" suffix="ELSE tname end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('tname')) or (colPickMode==1 and !item.containsKey('tname'))">
                            when a.id=#{item.id} then #{item.tname}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="matterName=(case" suffix="ELSE matterName end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('matterName')) or (colPickMode==1 and !item.containsKey('matterName'))">
                            when a.id=#{item.id} then #{item.matterName}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="englishName=(case" suffix="ELSE englishName end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('englishName')) or (colPickMode==1 and !item.containsKey('englishName'))">
                            when a.id=#{item.id} then #{item.englishName}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="matterNo=(case" suffix="ELSE matterNo end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('matterNo')) or (colPickMode==1 and !item.containsKey('matterNo'))">
                            when a.id=#{item.id} then #{item.matterNo}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="appoveObjectShow=(case" suffix="ELSE appoveObjectShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('appoveObjectShow')) or (colPickMode==1 and !item.containsKey('appoveObjectShow'))">
                            when a.id=#{item.id} then #{item.appoveObjectShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="operatScopeShow=(case" suffix="ELSE operatScopeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('operatScopeShow')) or (colPickMode==1 and !item.containsKey('operatScopeShow'))">
                            when a.id=#{item.id} then #{item.operatScopeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="appoveTimeLimitShow=(case" suffix="ELSE appoveTimeLimitShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('appoveTimeLimitShow')) or (colPickMode==1 and !item.containsKey('appoveTimeLimitShow'))">
                            when a.id=#{item.id} then #{item.appoveTimeLimitShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="handleType=(case" suffix="ELSE handleType end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('handleType')) or (colPickMode==1 and !item.containsKey('handleType'))">
                            when a.id=#{item.id} then #{item.handleType}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="legalTimeLimitShow=(case" suffix="ELSE legalTimeLimitShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('legalTimeLimitShow')) or (colPickMode==1 and !item.containsKey('legalTimeLimitShow'))">
                            when a.id=#{item.id} then #{item.legalTimeLimitShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="legalEndExplain=(case" suffix="ELSE legalEndExplain end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('legalEndExplain')) or (colPickMode==1 and !item.containsKey('legalEndExplain'))">
                            when a.id=#{item.id} then #{item.legalEndExplain}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="promiseTimeLimitShow=(case" suffix="ELSE promiseTimeLimitShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('promiseTimeLimitShow')) or (colPickMode==1 and !item.containsKey('promiseTimeLimitShow'))">
                            when a.id=#{item.id} then #{item.promiseTimeLimitShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="promiseEndExplain=(case" suffix="ELSE promiseEndExplain end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('promiseEndExplain')) or (colPickMode==1 and !item.containsKey('promiseEndExplain'))">
                            when a.id=#{item.id} then #{item.promiseEndExplain}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="isChargesShow=(case" suffix="ELSE isChargesShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isChargesShow')) or (colPickMode==1 and !item.containsKey('isChargesShow'))">
                            when a.id=#{item.id} then #{item.isChargesShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="certificationLevelsShow=(case" suffix="ELSE certificationLevelsShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('certificationLevelsShow')) or (colPickMode==1 and !item.containsKey('certificationLevelsShow'))">
                            when a.id=#{item.id} then #{item.certificationLevelsShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="planTakeTime=(case" suffix="ELSE planTakeTime end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('planTakeTime')) or (colPickMode==1 and !item.containsKey('planTakeTime'))">
                            when a.id=#{item.id} then #{item.planTakeTime}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="promiseTakeTime=(case" suffix="ELSE promiseTakeTime end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('promiseTakeTime')) or (colPickMode==1 and !item.containsKey('promiseTakeTime'))">
                            when a.id=#{item.id} then #{item.promiseTakeTime}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="specialProcedure=(case" suffix="ELSE specialProcedure end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('specialProcedure')) or (colPickMode==1 and !item.containsKey('specialProcedure'))">
                            when a.id=#{item.id} then #{item.specialProcedure}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="windowToTheSceneNum=(case" suffix="ELSE windowToTheSceneNum end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('windowToTheSceneNum')) or (colPickMode==1 and !item.containsKey('windowToTheSceneNum'))">
                                        when a.id=#{item.id} then #{item.windowToTheSceneNum}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('windowToTheSceneNumIncrement')) or (colPickMode==1 and !item.containsKey('windowToTheSceneNumIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.windowToTheSceneNum,0) + #{item.windowToTheSceneNumIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="isOnlineSubscribeShow=(case" suffix="ELSE isOnlineSubscribeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isOnlineSubscribeShow')) or (colPickMode==1 and !item.containsKey('isOnlineSubscribeShow'))">
                            when a.id=#{item.id} then #{item.isOnlineSubscribeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="isExpressTakeShow=(case" suffix="ELSE isExpressTakeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isExpressTakeShow')) or (colPickMode==1 and !item.containsKey('isExpressTakeShow'))">
                            when a.id=#{item.id} then #{item.isExpressTakeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="isProvinceAcquisitionShow=(case" suffix="ELSE isProvinceAcquisitionShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isProvinceAcquisitionShow')) or (colPickMode==1 and !item.containsKey('isProvinceAcquisitionShow'))">
                            when a.id=#{item.id} then #{item.isProvinceAcquisitionShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="isApplyProvinceShow=(case" suffix="ELSE isApplyProvinceShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isApplyProvinceShow')) or (colPickMode==1 and !item.containsKey('isApplyProvinceShow'))">
                            when a.id=#{item.id} then #{item.isApplyProvinceShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="mustSceneExplain=(case" suffix="ELSE mustSceneExplain end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('mustSceneExplain')) or (colPickMode==1 and !item.containsKey('mustSceneExplain'))">
                            when a.id=#{item.id} then #{item.mustSceneExplain}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="onlineType=(case" suffix="ELSE onlineType end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('onlineType')) or (colPickMode==1 and !item.containsKey('onlineType'))">
                            when a.id=#{item.id} then #{item.onlineType}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="onlineToTheSceneNum=(case" suffix="ELSE onlineToTheSceneNum end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('onlineToTheSceneNum')) or (colPickMode==1 and !item.containsKey('onlineToTheSceneNum'))">
                                        when a.id=#{item.id} then #{item.onlineToTheSceneNum}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('onlineToTheSceneNumIncrement')) or (colPickMode==1 and !item.containsKey('onlineToTheSceneNumIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.onlineToTheSceneNum,0) + #{item.onlineToTheSceneNumIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="onlineOperatDeep=(case" suffix="ELSE onlineOperatDeep end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('onlineOperatDeep')) or (colPickMode==1 and !item.containsKey('onlineOperatDeep'))">
                            when a.id=#{item.id} then #{item.onlineOperatDeep}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="isExpressTakeOnlineShow=(case" suffix="ELSE isExpressTakeOnlineShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isExpressTakeOnlineShow')) or (colPickMode==1 and !item.containsKey('isExpressTakeOnlineShow'))">
                            when a.id=#{item.id} then #{item.isExpressTakeOnlineShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="isDoorTakeShow=(case" suffix="ELSE isDoorTakeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isDoorTakeShow')) or (colPickMode==1 and !item.containsKey('isDoorTakeShow'))">
                            when a.id=#{item.id} then #{item.isDoorTakeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="onlineMustSceneExplain=(case" suffix="ELSE onlineMustSceneExplain end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('onlineMustSceneExplain')) or (colPickMode==1 and !item.containsKey('onlineMustSceneExplain'))">
                            when a.id=#{item.id} then #{item.onlineMustSceneExplain}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="performDeptType=(case" suffix="ELSE performDeptType end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('performDeptType')) or (colPickMode==1 and !item.containsKey('performDeptType'))">
                            when a.id=#{item.id} then #{item.performDeptType}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="matterEdition=(case" suffix="ELSE matterEdition end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('matterEdition')) or (colPickMode==1 and !item.containsKey('matterEdition'))">
                            when a.id=#{item.id} then #{item.matterEdition}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="eventTypeShow=(case" suffix="ELSE eventTypeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('eventTypeShow')) or (colPickMode==1 and !item.containsKey('eventTypeShow'))">
                            when a.id=#{item.id} then #{item.eventTypeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="performHierarchyShow=(case" suffix="ELSE performHierarchyShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('performHierarchyShow')) or (colPickMode==1 and !item.containsKey('performHierarchyShow'))">
                            when a.id=#{item.id} then #{item.performHierarchyShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="powerSourceShow=(case" suffix="ELSE powerSourceShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('powerSourceShow')) or (colPickMode==1 and !item.containsKey('powerSourceShow'))">
                            when a.id=#{item.id} then #{item.powerSourceShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="performDeptTypeShow=(case" suffix="ELSE performDeptTypeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('performDeptTypeShow')) or (colPickMode==1 and !item.containsKey('performDeptTypeShow'))">
                            when a.id=#{item.id} then #{item.performDeptTypeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="goveServiceCenterShow=(case" suffix="ELSE goveServiceCenterShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('goveServiceCenterShow')) or (colPickMode==1 and !item.containsKey('goveServiceCenterShow'))">
                            when a.id=#{item.id} then #{item.goveServiceCenterShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="isConvenientCenterShow=(case" suffix="ELSE isConvenientCenterShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isConvenientCenterShow')) or (colPickMode==1 and !item.containsKey('isConvenientCenterShow'))">
                            when a.id=#{item.id} then #{item.isConvenientCenterShow}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="terminalHandle=(case" suffix="ELSE terminalHandle end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('terminalHandle')) or (colPickMode==1 and !item.containsKey('terminalHandle'))">
                                        when a.id=#{item.id} then #{item.terminalHandle}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('terminalHandleIncrement')) or (colPickMode==1 and !item.containsKey('terminalHandleIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.terminalHandle,0) + #{item.terminalHandleIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                        <trim prefix="isOnline=(case" suffix="ELSE isOnline end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('isOnline')) or (colPickMode==1 and !item.containsKey('isOnline'))">
                                        when a.id=#{item.id} then #{item.isOnline}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('isOnlineIncrement')) or (colPickMode==1 and !item.containsKey('isOnlineIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.isOnline,0) + #{item.isOnlineIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="isOnlinePayShow=(case" suffix="ELSE isOnlinePayShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isOnlinePayShow')) or (colPickMode==1 and !item.containsKey('isOnlinePayShow'))">
                            when a.id=#{item.id} then #{item.isOnlinePayShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="entrustmentDepartmen=(case" suffix="ELSE entrustmentDepartmen end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('entrustmentDepartmen')) or (colPickMode==1 and !item.containsKey('entrustmentDepartmen'))">
                            when a.id=#{item.id} then #{item.entrustmentDepartmen}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="jointInfoShow=(case" suffix="ELSE jointInfoShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('jointInfoShow')) or (colPickMode==1 and !item.containsKey('jointInfoShow'))">
                            when a.id=#{item.id} then #{item.jointInfoShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="matterStatus=(case" suffix="ELSE matterStatus end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('matterStatus')) or (colPickMode==1 and !item.containsKey('matterStatus'))">
                            when a.id=#{item.id} then #{item.matterStatus}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="numberLimit=(case" suffix="ELSE numberLimit end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('numberLimit')) or (colPickMode==1 and !item.containsKey('numberLimit'))">
                                        when a.id=#{item.id} then #{item.numberLimit}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('numberLimitIncrement')) or (colPickMode==1 and !item.containsKey('numberLimitIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.numberLimit,0) + #{item.numberLimitIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="type=(case" suffix="ELSE type end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('type')) or (colPickMode==1 and !item.containsKey('type'))">
                            when a.id=#{item.id} then #{item.type}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="baseCode=(case" suffix="ELSE baseCode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('baseCode')) or (colPickMode==1 and !item.containsKey('baseCode'))">
                            when a.id=#{item.id} then #{item.baseCode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="implementCode=(case" suffix="ELSE implementCode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('implementCode')) or (colPickMode==1 and !item.containsKey('implementCode'))">
                            when a.id=#{item.id} then #{item.implementCode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="implementBodyCode=(case" suffix="ELSE implementBodyCode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('implementBodyCode')) or (colPickMode==1 and !item.containsKey('implementBodyCode'))">
                            when a.id=#{item.id} then #{item.implementBodyCode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="operateItemCode=(case" suffix="ELSE operateItemCode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('operateItemCode')) or (colPickMode==1 and !item.containsKey('operateItemCode'))">
                            when a.id=#{item.id} then #{item.operateItemCode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="townshipName=(case" suffix="ELSE townshipName end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('townshipName')) or (colPickMode==1 and !item.containsKey('townshipName'))">
                            when a.id=#{item.id} then #{item.townshipName}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="townshipCode=(case" suffix="ELSE townshipCode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('townshipCode')) or (colPickMode==1 and !item.containsKey('townshipCode'))">
                            when a.id=#{item.id} then #{item.townshipCode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="villageName=(case" suffix="ELSE villageName end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('villageName')) or (colPickMode==1 and !item.containsKey('villageName'))">
                            when a.id=#{item.id} then #{item.villageName}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="villageCode=(case" suffix="ELSE villageCode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('villageCode')) or (colPickMode==1 and !item.containsKey('villageCode'))">
                            when a.id=#{item.id} then #{item.villageCode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="operateTime=(case" suffix="ELSE operateTime end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('operateTime')) or (colPickMode==1 and !item.containsKey('operateTime'))">
                            when a.id=#{item.id} then #{item.operateTime}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="operateSite=(case" suffix="ELSE operateSite end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('operateSite')) or (colPickMode==1 and !item.containsKey('operateSite'))">
                            when a.id=#{item.id} then #{item.operateSite}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="cousultingShow=(case" suffix="ELSE cousultingShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('cousultingShow')) or (colPickMode==1 and !item.containsKey('cousultingShow'))">
                            when a.id=#{item.id} then #{item.cousultingShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="cousultingTelephoneShow=(case" suffix="ELSE cousultingTelephoneShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('cousultingTelephoneShow')) or (colPickMode==1 and !item.containsKey('cousultingTelephoneShow'))">
                            when a.id=#{item.id} then #{item.cousultingTelephoneShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="superviseShow=(case" suffix="ELSE superviseShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('superviseShow')) or (colPickMode==1 and !item.containsKey('superviseShow'))">
                            when a.id=#{item.id} then #{item.superviseShow}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="mattertype=(case" suffix="ELSE mattertype end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('mattertype')) or (colPickMode==1 and !item.containsKey('mattertype'))">
                                        when a.id=#{item.id} then #{item.mattertype}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('mattertypeIncrement')) or (colPickMode==1 and !item.containsKey('mattertypeIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.mattertype,0) + #{item.mattertypeIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="deptCode=(case" suffix="ELSE deptCode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('deptCode')) or (colPickMode==1 and !item.containsKey('deptCode'))">
                            when a.id=#{item.id} then #{item.deptCode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="dirListCode=(case" suffix="ELSE dirListCode end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('dirListCode')) or (colPickMode==1 and !item.containsKey('dirListCode'))">
                            when a.id=#{item.id} then #{item.dirListCode}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="runSystemShow=(case" suffix="ELSE runSystemShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('runSystemShow')) or (colPickMode==1 and !item.containsKey('runSystemShow'))">
                            when a.id=#{item.id} then #{item.runSystemShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="jointReviewInfoShow=(case" suffix="ELSE jointReviewInfoShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('jointReviewInfoShow')) or (colPickMode==1 and !item.containsKey('jointReviewInfoShow'))">
                            when a.id=#{item.id} then #{item.jointReviewInfoShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="doThingTypeShow=(case" suffix="ELSE doThingTypeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('doThingTypeShow')) or (colPickMode==1 and !item.containsKey('doThingTypeShow'))">
                            when a.id=#{item.id} then #{item.doThingTypeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="pubTimeShow=(case" suffix="ELSE pubTimeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('pubTimeShow')) or (colPickMode==1 and !item.containsKey('pubTimeShow'))">
                            when a.id=#{item.id} then #{item.pubTimeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="supervisoryTelephoneShow=(case" suffix="ELSE supervisoryTelephoneShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('supervisoryTelephoneShow')) or (colPickMode==1 and !item.containsKey('supervisoryTelephoneShow'))">
                            when a.id=#{item.id} then #{item.supervisoryTelephoneShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="handleTimeShow=(case" suffix="ELSE handleTimeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('handleTimeShow')) or (colPickMode==1 and !item.containsKey('handleTimeShow'))">
                            when a.id=#{item.id} then #{item.handleTimeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="handlePlaceShow=(case" suffix="ELSE handlePlaceShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('handlePlaceShow')) or (colPickMode==1 and !item.containsKey('handlePlaceShow'))">
                            when a.id=#{item.id} then #{item.handlePlaceShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="daysTypeShow=(case" suffix="ELSE daysTypeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('daysTypeShow')) or (colPickMode==1 and !item.containsKey('daysTypeShow'))">
                            when a.id=#{item.id} then #{item.daysTypeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="tradeShow=(case" suffix="ELSE tradeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('tradeShow')) or (colPickMode==1 and !item.containsKey('tradeShow'))">
                            when a.id=#{item.id} then #{item.tradeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="eventSourceShow=(case" suffix="ELSE eventSourceShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('eventSourceShow')) or (colPickMode==1 and !item.containsKey('eventSourceShow'))">
                            when a.id=#{item.id} then #{item.eventSourceShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="applyresultTypeShow=(case" suffix="ELSE applyresultTypeShow end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('applyresultTypeShow')) or (colPickMode==1 and !item.containsKey('applyresultTypeShow'))">
                            when a.id=#{item.id} then #{item.applyresultTypeShow}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="typeOfReview=(case" suffix="ELSE typeOfReview end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('typeOfReview')) or (colPickMode==1 and !item.containsKey('typeOfReview'))">
                            when a.id=#{item.id} then #{item.typeOfReview}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="enforcement=(case" suffix="ELSE enforcement end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('enforcement')) or (colPickMode==1 and !item.containsKey('enforcement'))">
                            when a.id=#{item.id} then #{item.enforcement}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="serviceClassification=(case" suffix="ELSE serviceClassification end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('serviceClassification')) or (colPickMode==1 and !item.containsKey('serviceClassification'))">
                            when a.id=#{item.id} then #{item.serviceClassification}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="licenseNumber=(case" suffix="ELSE licenseNumber end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('licenseNumber')) or (colPickMode==1 and !item.containsKey('licenseNumber'))">
                            when a.id=#{item.id} then #{item.licenseNumber}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="number=(case" suffix="ELSE number end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('number')) or (colPickMode==1 and !item.containsKey('number'))">
                                        when a.id=#{item.id} then #{item.number}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('numberIncrement')) or (colPickMode==1 and !item.containsKey('numberIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.number,0) + #{item.numberIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="inquire=(case" suffix="ELSE inquire end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('inquire')) or (colPickMode==1 and !item.containsKey('inquire'))">
                            when a.id=#{item.id} then #{item.inquire}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="handlingresultNames=(case" suffix="ELSE handlingresultNames end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('handlingresultNames')) or (colPickMode==1 and !item.containsKey('handlingresultNames'))">
                            when a.id=#{item.id} then #{item.handlingresultNames}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="sampleApprovalResults=(case" suffix="ELSE sampleApprovalResults end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('sampleApprovalResults')) or (colPickMode==1 and !item.containsKey('sampleApprovalResults'))">
                            when a.id=#{item.id} then #{item.sampleApprovalResults}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="performDeptName=(case" suffix="ELSE performDeptName end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('performDeptName')) or (colPickMode==1 and !item.containsKey('performDeptName'))">
                            when a.id=#{item.id} then #{item.performDeptName}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="html=(case" suffix="ELSE html end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('html')) or (colPickMode==1 and !item.containsKey('html'))">
                            when a.id=#{item.id} then #{item.html}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="eventType=(case" suffix="ELSE eventType end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('eventType')) or (colPickMode==1 and !item.containsKey('eventType'))">
                            when a.id=#{item.id} then #{item.eventType}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="shardKey=(case" suffix="ELSE shardKey end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('shardKey')) or (colPickMode==1 and !item.containsKey('shardKey'))">
                                        when a.id=#{item.id} then #{item.shardKey}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('shardKeyIncrement')) or (colPickMode==1 and !item.containsKey('shardKeyIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.shardKey,0) + #{item.shardKeyIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                        <trim prefix="parson=(case" suffix="ELSE parson end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('parson')) or (colPickMode==1 and !item.containsKey('parson'))">
                                        when a.id=#{item.id} then #{item.parson}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('parsonIncrement')) or (colPickMode==1 and !item.containsKey('parsonIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.parson,0) + #{item.parsonIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                        <trim prefix="lengal=(case" suffix="ELSE lengal end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('lengal')) or (colPickMode==1 and !item.containsKey('lengal'))">
                                        when a.id=#{item.id} then #{item.lengal}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('lengalIncrement')) or (colPickMode==1 and !item.containsKey('lengalIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.lengal,0) + #{item.lengalIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="materialRemark=(case" suffix="ELSE materialRemark end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('materialRemark')) or (colPickMode==1 and !item.containsKey('materialRemark'))">
                            when a.id=#{item.id} then #{item.materialRemark}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="codeurl=(case" suffix="ELSE codeurl end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('codeurl')) or (colPickMode==1 and !item.containsKey('codeurl'))">
                            when a.id=#{item.id} then #{item.codeurl}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="applyObject=(case" suffix="ELSE applyObject end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('applyObject')) or (colPickMode==1 and !item.containsKey('applyObject'))">
                            when a.id=#{item.id} then #{item.applyObject}
                        </if>
                    </foreach>
                </trim>
                <trim prefix="isUniteAccept=(case" suffix="ELSE isUniteAccept end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('isUniteAccept')) or (colPickMode==1 and !item.containsKey('isUniteAccept'))">
                            when a.id=#{item.id} then #{item.isUniteAccept}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="sort=(case" suffix="ELSE sort end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('sort')) or (colPickMode==1 and !item.containsKey('sort'))">
                                        when a.id=#{item.id} then #{item.sort}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('sortIncrement')) or (colPickMode==1 and !item.containsKey('sortIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.sort,0) + #{item.sortIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                        <trim prefix="isRecommend=(case" suffix="ELSE isRecommend end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('isRecommend')) or (colPickMode==1 and !item.containsKey('isRecommend'))">
                                        when a.id=#{item.id} then #{item.isRecommend}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('isRecommendIncrement')) or (colPickMode==1 and !item.containsKey('isRecommendIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.isRecommend,0) + #{item.isRecommendIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="createTime=(case" suffix="ELSE createTime end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
                            when a.id=#{item.id} then #{item.createTime}
                        </if>
                    </foreach>
                </trim>
                        <trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
                            <foreach collection="data.dataList" item="item" index="index" separator="" >
                                <choose>
                                    <when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
                                        when a.id=#{item.id} then #{item.createUserId}
                                    </when>
                                    <when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
                                        when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
                                    </when>
                                </choose>
                            </foreach>
                        </trim>
                <trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
                    <foreach collection="data.dataList" item="item" index="index" separator="" >
                        <if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
                            when a.id=#{item.id} then #{item.updateTime}
                        </if>
                    </foreach>
                </trim>
        </trim>
        where id in
        <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
            #{item.id}
        </foreach>
    </update>
    <!-- 根据主健查询 -->
    <select id="getByKey" parameterType="paramDto" resultMap="SheetMatterEntity-Map">
        select <include refid="_columns"/>
        from mortals_xhx_sheet_matter as a
        where a.id=#{condition.id}
    </select>
    <!-- 根据主健删除 -->
    <delete id="deleteByKey" parameterType="paramDto">
        delete a.* from mortals_xhx_sheet_matter as a where a.id=#{condition.id}
    </delete>
    <!-- 根据主健删除一批，针对单一主健有效 -->
    <delete id="deleteByKeys">
        delete from mortals_xhx_sheet_matter where id in
        <foreach collection="array" item="item" index="index" open="(" separator="," close=")">
            #{item}
        </foreach>
    </delete>
    <!-- 根据paramDto删除一批 -->
    <delete id="deleteByMap" parameterType="paramDto">
        delete a.* from mortals_xhx_sheet_matter as a
        <trim suffixOverrides="where" suffix="">
            where
            <trim prefixOverrides="and" prefix="">
                <include refid="_condition_"/>
            </trim>
        </trim>
    </delete>
    <!-- 获取列表 -->
    <select id="getList" parameterType="paramDto" resultMap="SheetMatterEntity-Map">
        select <include refid="_columns"/>
        from mortals_xhx_sheet_matter as a
        <trim suffixOverrides="where" suffix="">
            where
            <trim prefixOverrides="and" prefix="">
                <include refid="_condition_"/>
            </trim>
        </trim>
        <include refid="_orderCols_"/>
    </select>



    <!-- 获取 -->
    <select id="getListCount" parameterType="paramDto" resultType="int">
        select count(1)
        from mortals_xhx_sheet_matter as a
        <trim suffixOverrides="where" suffix="">
            where
            <trim prefixOverrides="and" prefix="">
                <include refid="_condition_"/>
            </trim>
        </trim>
    </select>
    <!-- 条件映射 -->
    <sql id="_condition_">
        <if test="condition != null and !condition.isEmpty()">
            <!-- 条件映射-普通条件 -->
            <include refid="_condition_param_">
                <property name="_conditionParam_" value="condition"/>
                <property name="_conditionType_" value="and"/>
            </include>
            <!-- 条件映射-集合之间使用AND，集合中元素使用OR-(list[0].1 or list[0].2) and (list[1].3 or list[1].4) -->
            <if test="condition.containsKey('andConditionList') and !condition.andConditionList.isEmpty()">
                and
                <foreach collection="condition.andConditionList" open="(" close=")" index="index" item="andCondition" separator=" and ">
                    <trim prefixOverrides="or" prefix="(" suffix=")">
                        <include refid="_condition_param_">
                            <property name="_conditionParam_" value="andCondition"/>
                            <property name="_conditionType_" value="or"/>
                        </include>
                    </trim>
                </foreach>
            </if>
            <!-- 条件映射-集合之间使用OR，集合中元素使用AND-(list[0].1 and list[0].2) or (list[1].3 and list[1].4) -->
            <if test="condition.containsKey('orConditionList') and !condition.orConditionList.isEmpty()">
                and
                <foreach collection="condition.orConditionList" open="(" close=")" index="index" item="orCondition" separator=" or ">
                    <trim prefixOverrides="and" prefix="(" suffix=")">
                        <include refid="_condition_param_">
                            <property name="_conditionParam_" value="orCondition"/>
                            <property name="_conditionType_" value="and"/>
                        </include>
                    </trim>
                </foreach>
            </if>
        </if>
    </sql>
    <!-- 条件映射-代参数 -->
    <sql id="_condition_param_">
        <bind name="conditionParamRef" value="${_conditionParam_}"/>
        <if test="conditionParamRef.containsKey('id')">
            <if test="conditionParamRef.id != null">
                ${_conditionType_} a.id=#{${_conditionParam_}.id}
            </if>
        </if>
            <if test="conditionParamRef.containsKey('id')">
                <if test="conditionParamRef.id != null ">
                    ${_conditionType_} a.id = #{${_conditionParam_}.id}
                </if>
                <if test="conditionParamRef.id == null">
                    ${_conditionType_} a.id is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('idList')">
                ${_conditionType_} a.id in
                <foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
                ${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
            </if>
            <if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
                ${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
            </if>

            <if test="conditionParamRef.containsKey('siteId')">
                <if test="conditionParamRef.siteId != null ">
                    ${_conditionType_} a.siteId = #{${_conditionParam_}.siteId}
                </if>
                <if test="conditionParamRef.siteId == null">
                    ${_conditionType_} a.siteId is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('siteIdList')">
                ${_conditionType_} a.siteId in
                <foreach collection="conditionParamRef.siteIdList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('siteIdStart') and conditionParamRef.siteIdStart != null">
                ${_conditionType_} a.siteId <![CDATA[ >= ]]> #{${_conditionParam_}.siteIdStart}
            </if>
            <if test="conditionParamRef.containsKey('siteIdEnd') and conditionParamRef.siteIdEnd != null">
                ${_conditionType_} a.siteId <![CDATA[ <= ]]> #{${_conditionParam_}.siteIdEnd}
            </if>


            <if test="conditionParamRef.containsKey('tid')">
                <if test="conditionParamRef.tid != null and conditionParamRef.tid != ''">
                    ${_conditionType_} a.tid like #{${_conditionParam_}.tid}
                </if>
                <if test="conditionParamRef.tid == null">
                    ${_conditionType_} a.tid is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('tidList')">
                ${_conditionType_} a.tid in
                <foreach collection="conditionParamRef.tidList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('tcode')">
                <if test="conditionParamRef.tcode != null and conditionParamRef.tcode != ''">
                    ${_conditionType_} a.tcode like #{${_conditionParam_}.tcode}
                </if>
                <if test="conditionParamRef.tcode == null">
                    ${_conditionType_} a.tcode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('tcodeList')">
                ${_conditionType_} a.tcode in
                <foreach collection="conditionParamRef.tcodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('tname')">
                <if test="conditionParamRef.tname != null and conditionParamRef.tname != ''">
                    ${_conditionType_} a.tname like #{${_conditionParam_}.tname}
                </if>
                <if test="conditionParamRef.tname == null">
                    ${_conditionType_} a.tname is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('tnameList')">
                ${_conditionType_} a.tname in
                <foreach collection="conditionParamRef.tnameList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('matterName')">
                <if test="conditionParamRef.matterName != null and conditionParamRef.matterName != ''">
                    ${_conditionType_} a.matterName like #{${_conditionParam_}.matterName}
                </if>
                <if test="conditionParamRef.matterName == null">
                    ${_conditionType_} a.matterName is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('matterNameList')">
                ${_conditionType_} a.matterName in
                <foreach collection="conditionParamRef.matterNameList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('englishName')">
                <if test="conditionParamRef.englishName != null and conditionParamRef.englishName != ''">
                    ${_conditionType_} a.englishName like #{${_conditionParam_}.englishName}
                </if>
                <if test="conditionParamRef.englishName == null">
                    ${_conditionType_} a.englishName is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('englishNameList')">
                ${_conditionType_} a.englishName in
                <foreach collection="conditionParamRef.englishNameList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('matterNo')">
                <if test="conditionParamRef.matterNo != null and conditionParamRef.matterNo != ''">
                    ${_conditionType_} a.matterNo like #{${_conditionParam_}.matterNo}
                </if>
                <if test="conditionParamRef.matterNo == null">
                    ${_conditionType_} a.matterNo is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('matterNoList')">
                ${_conditionType_} a.matterNo in
                <foreach collection="conditionParamRef.matterNoList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('appoveObjectShow')">
                <if test="conditionParamRef.appoveObjectShow != null and conditionParamRef.appoveObjectShow != ''">
                    ${_conditionType_} a.appoveObjectShow like #{${_conditionParam_}.appoveObjectShow}
                </if>
                <if test="conditionParamRef.appoveObjectShow == null">
                    ${_conditionType_} a.appoveObjectShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('appoveObjectShowList')">
                ${_conditionType_} a.appoveObjectShow in
                <foreach collection="conditionParamRef.appoveObjectShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('operatScopeShow')">
                <if test="conditionParamRef.operatScopeShow != null and conditionParamRef.operatScopeShow != ''">
                    ${_conditionType_} a.operatScopeShow like #{${_conditionParam_}.operatScopeShow}
                </if>
                <if test="conditionParamRef.operatScopeShow == null">
                    ${_conditionType_} a.operatScopeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('operatScopeShowList')">
                ${_conditionType_} a.operatScopeShow in
                <foreach collection="conditionParamRef.operatScopeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('appoveTimeLimitShow')">
                <if test="conditionParamRef.appoveTimeLimitShow != null and conditionParamRef.appoveTimeLimitShow != ''">
                    ${_conditionType_} a.appoveTimeLimitShow like #{${_conditionParam_}.appoveTimeLimitShow}
                </if>
                <if test="conditionParamRef.appoveTimeLimitShow == null">
                    ${_conditionType_} a.appoveTimeLimitShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('appoveTimeLimitShowList')">
                ${_conditionType_} a.appoveTimeLimitShow in
                <foreach collection="conditionParamRef.appoveTimeLimitShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('handleType')">
                <if test="conditionParamRef.handleType != null and conditionParamRef.handleType != ''">
                    ${_conditionType_} a.handleType like #{${_conditionParam_}.handleType}
                </if>
                <if test="conditionParamRef.handleType == null">
                    ${_conditionType_} a.handleType is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('handleTypeList')">
                ${_conditionType_} a.handleType in
                <foreach collection="conditionParamRef.handleTypeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('legalTimeLimitShow')">
                <if test="conditionParamRef.legalTimeLimitShow != null and conditionParamRef.legalTimeLimitShow != ''">
                    ${_conditionType_} a.legalTimeLimitShow like #{${_conditionParam_}.legalTimeLimitShow}
                </if>
                <if test="conditionParamRef.legalTimeLimitShow == null">
                    ${_conditionType_} a.legalTimeLimitShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('legalTimeLimitShowList')">
                ${_conditionType_} a.legalTimeLimitShow in
                <foreach collection="conditionParamRef.legalTimeLimitShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('legalEndExplain')">
                <if test="conditionParamRef.legalEndExplain != null and conditionParamRef.legalEndExplain != ''">
                    ${_conditionType_} a.legalEndExplain like #{${_conditionParam_}.legalEndExplain}
                </if>
                <if test="conditionParamRef.legalEndExplain == null">
                    ${_conditionType_} a.legalEndExplain is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('legalEndExplainList')">
                ${_conditionType_} a.legalEndExplain in
                <foreach collection="conditionParamRef.legalEndExplainList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('promiseTimeLimitShow')">
                <if test="conditionParamRef.promiseTimeLimitShow != null and conditionParamRef.promiseTimeLimitShow != ''">
                    ${_conditionType_} a.promiseTimeLimitShow like #{${_conditionParam_}.promiseTimeLimitShow}
                </if>
                <if test="conditionParamRef.promiseTimeLimitShow == null">
                    ${_conditionType_} a.promiseTimeLimitShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('promiseTimeLimitShowList')">
                ${_conditionType_} a.promiseTimeLimitShow in
                <foreach collection="conditionParamRef.promiseTimeLimitShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('promiseEndExplain')">
                <if test="conditionParamRef.promiseEndExplain != null and conditionParamRef.promiseEndExplain != ''">
                    ${_conditionType_} a.promiseEndExplain like #{${_conditionParam_}.promiseEndExplain}
                </if>
                <if test="conditionParamRef.promiseEndExplain == null">
                    ${_conditionType_} a.promiseEndExplain is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('promiseEndExplainList')">
                ${_conditionType_} a.promiseEndExplain in
                <foreach collection="conditionParamRef.promiseEndExplainList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('isChargesShow')">
                <if test="conditionParamRef.isChargesShow != null and conditionParamRef.isChargesShow != ''">
                    ${_conditionType_} a.isChargesShow like #{${_conditionParam_}.isChargesShow}
                </if>
                <if test="conditionParamRef.isChargesShow == null">
                    ${_conditionType_} a.isChargesShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isChargesShowList')">
                ${_conditionType_} a.isChargesShow in
                <foreach collection="conditionParamRef.isChargesShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('certificationLevelsShow')">
                <if test="conditionParamRef.certificationLevelsShow != null and conditionParamRef.certificationLevelsShow != ''">
                    ${_conditionType_} a.certificationLevelsShow like #{${_conditionParam_}.certificationLevelsShow}
                </if>
                <if test="conditionParamRef.certificationLevelsShow == null">
                    ${_conditionType_} a.certificationLevelsShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('certificationLevelsShowList')">
                ${_conditionType_} a.certificationLevelsShow in
                <foreach collection="conditionParamRef.certificationLevelsShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('planTakeTime')">
                <if test="conditionParamRef.planTakeTime != null ">
                    ${_conditionType_} a.planTakeTime = #{${_conditionParam_}.planTakeTime}
                </if>
                <if test="conditionParamRef.planTakeTime == null">
                    ${_conditionType_} a.planTakeTime is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('planTakeTimeStart') and conditionParamRef.planTakeTimeStart != null and conditionParamRef.planTakeTimeStart!=''">
                ${_conditionType_} a.planTakeTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.planTakeTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
            </if>
            <if test="conditionParamRef.containsKey('planTakeTimeEnd') and conditionParamRef.planTakeTimeEnd != null and conditionParamRef.planTakeTimeEnd!=''">
                ${_conditionType_} a.planTakeTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.planTakeTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
            </if>

            <if test="conditionParamRef.containsKey('promiseTakeTime')">
                <if test="conditionParamRef.promiseTakeTime != null ">
                    ${_conditionType_} a.promiseTakeTime = #{${_conditionParam_}.promiseTakeTime}
                </if>
                <if test="conditionParamRef.promiseTakeTime == null">
                    ${_conditionType_} a.promiseTakeTime is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('promiseTakeTimeStart') and conditionParamRef.promiseTakeTimeStart != null and conditionParamRef.promiseTakeTimeStart!=''">
                ${_conditionType_} a.promiseTakeTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.promiseTakeTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
            </if>
            <if test="conditionParamRef.containsKey('promiseTakeTimeEnd') and conditionParamRef.promiseTakeTimeEnd != null and conditionParamRef.promiseTakeTimeEnd!=''">
                ${_conditionType_} a.promiseTakeTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.promiseTakeTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
            </if>

            <if test="conditionParamRef.containsKey('specialProcedure')">
                <if test="conditionParamRef.specialProcedure != null and conditionParamRef.specialProcedure != ''">
                    ${_conditionType_} a.specialProcedure like #{${_conditionParam_}.specialProcedure}
                </if>
                <if test="conditionParamRef.specialProcedure == null">
                    ${_conditionType_} a.specialProcedure is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('specialProcedureList')">
                ${_conditionType_} a.specialProcedure in
                <foreach collection="conditionParamRef.specialProcedureList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('windowToTheSceneNum')">
                <if test="conditionParamRef.windowToTheSceneNum != null ">
                    ${_conditionType_} a.windowToTheSceneNum = #{${_conditionParam_}.windowToTheSceneNum}
                </if>
                <if test="conditionParamRef.windowToTheSceneNum == null">
                    ${_conditionType_} a.windowToTheSceneNum is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('windowToTheSceneNumList')">
                ${_conditionType_} a.windowToTheSceneNum in
                <foreach collection="conditionParamRef.windowToTheSceneNumList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('windowToTheSceneNumStart') and conditionParamRef.windowToTheSceneNumStart != null">
                ${_conditionType_} a.windowToTheSceneNum <![CDATA[ >= ]]> #{${_conditionParam_}.windowToTheSceneNumStart}
            </if>
            <if test="conditionParamRef.containsKey('windowToTheSceneNumEnd') and conditionParamRef.windowToTheSceneNumEnd != null">
                ${_conditionType_} a.windowToTheSceneNum <![CDATA[ <= ]]> #{${_conditionParam_}.windowToTheSceneNumEnd}
            </if>


            <if test="conditionParamRef.containsKey('isOnlineSubscribeShow')">
                <if test="conditionParamRef.isOnlineSubscribeShow != null and conditionParamRef.isOnlineSubscribeShow != ''">
                    ${_conditionType_} a.isOnlineSubscribeShow like #{${_conditionParam_}.isOnlineSubscribeShow}
                </if>
                <if test="conditionParamRef.isOnlineSubscribeShow == null">
                    ${_conditionType_} a.isOnlineSubscribeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isOnlineSubscribeShowList')">
                ${_conditionType_} a.isOnlineSubscribeShow in
                <foreach collection="conditionParamRef.isOnlineSubscribeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('isExpressTakeShow')">
                <if test="conditionParamRef.isExpressTakeShow != null and conditionParamRef.isExpressTakeShow != ''">
                    ${_conditionType_} a.isExpressTakeShow like #{${_conditionParam_}.isExpressTakeShow}
                </if>
                <if test="conditionParamRef.isExpressTakeShow == null">
                    ${_conditionType_} a.isExpressTakeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isExpressTakeShowList')">
                ${_conditionType_} a.isExpressTakeShow in
                <foreach collection="conditionParamRef.isExpressTakeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('isProvinceAcquisitionShow')">
                <if test="conditionParamRef.isProvinceAcquisitionShow != null and conditionParamRef.isProvinceAcquisitionShow != ''">
                    ${_conditionType_} a.isProvinceAcquisitionShow like #{${_conditionParam_}.isProvinceAcquisitionShow}
                </if>
                <if test="conditionParamRef.isProvinceAcquisitionShow == null">
                    ${_conditionType_} a.isProvinceAcquisitionShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isProvinceAcquisitionShowList')">
                ${_conditionType_} a.isProvinceAcquisitionShow in
                <foreach collection="conditionParamRef.isProvinceAcquisitionShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('isApplyProvinceShow')">
                <if test="conditionParamRef.isApplyProvinceShow != null and conditionParamRef.isApplyProvinceShow != ''">
                    ${_conditionType_} a.isApplyProvinceShow like #{${_conditionParam_}.isApplyProvinceShow}
                </if>
                <if test="conditionParamRef.isApplyProvinceShow == null">
                    ${_conditionType_} a.isApplyProvinceShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isApplyProvinceShowList')">
                ${_conditionType_} a.isApplyProvinceShow in
                <foreach collection="conditionParamRef.isApplyProvinceShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('mustSceneExplain')">
                <if test="conditionParamRef.mustSceneExplain != null and conditionParamRef.mustSceneExplain != ''">
                    ${_conditionType_} a.mustSceneExplain like #{${_conditionParam_}.mustSceneExplain}
                </if>
                <if test="conditionParamRef.mustSceneExplain == null">
                    ${_conditionType_} a.mustSceneExplain is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('mustSceneExplainList')">
                ${_conditionType_} a.mustSceneExplain in
                <foreach collection="conditionParamRef.mustSceneExplainList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('onlineType')">
                <if test="conditionParamRef.onlineType != null and conditionParamRef.onlineType != ''">
                    ${_conditionType_} a.onlineType like #{${_conditionParam_}.onlineType}
                </if>
                <if test="conditionParamRef.onlineType == null">
                    ${_conditionType_} a.onlineType is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('onlineTypeList')">
                ${_conditionType_} a.onlineType in
                <foreach collection="conditionParamRef.onlineTypeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('onlineToTheSceneNum')">
                <if test="conditionParamRef.onlineToTheSceneNum != null ">
                    ${_conditionType_} a.onlineToTheSceneNum = #{${_conditionParam_}.onlineToTheSceneNum}
                </if>
                <if test="conditionParamRef.onlineToTheSceneNum == null">
                    ${_conditionType_} a.onlineToTheSceneNum is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('onlineToTheSceneNumList')">
                ${_conditionType_} a.onlineToTheSceneNum in
                <foreach collection="conditionParamRef.onlineToTheSceneNumList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('onlineToTheSceneNumStart') and conditionParamRef.onlineToTheSceneNumStart != null">
                ${_conditionType_} a.onlineToTheSceneNum <![CDATA[ >= ]]> #{${_conditionParam_}.onlineToTheSceneNumStart}
            </if>
            <if test="conditionParamRef.containsKey('onlineToTheSceneNumEnd') and conditionParamRef.onlineToTheSceneNumEnd != null">
                ${_conditionType_} a.onlineToTheSceneNum <![CDATA[ <= ]]> #{${_conditionParam_}.onlineToTheSceneNumEnd}
            </if>


            <if test="conditionParamRef.containsKey('onlineOperatDeep')">
                <if test="conditionParamRef.onlineOperatDeep != null and conditionParamRef.onlineOperatDeep != ''">
                    ${_conditionType_} a.onlineOperatDeep like #{${_conditionParam_}.onlineOperatDeep}
                </if>
                <if test="conditionParamRef.onlineOperatDeep == null">
                    ${_conditionType_} a.onlineOperatDeep is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('onlineOperatDeepList')">
                ${_conditionType_} a.onlineOperatDeep in
                <foreach collection="conditionParamRef.onlineOperatDeepList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('isExpressTakeOnlineShow')">
                <if test="conditionParamRef.isExpressTakeOnlineShow != null and conditionParamRef.isExpressTakeOnlineShow != ''">
                    ${_conditionType_} a.isExpressTakeOnlineShow like #{${_conditionParam_}.isExpressTakeOnlineShow}
                </if>
                <if test="conditionParamRef.isExpressTakeOnlineShow == null">
                    ${_conditionType_} a.isExpressTakeOnlineShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isExpressTakeOnlineShowList')">
                ${_conditionType_} a.isExpressTakeOnlineShow in
                <foreach collection="conditionParamRef.isExpressTakeOnlineShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('isDoorTakeShow')">
                <if test="conditionParamRef.isDoorTakeShow != null and conditionParamRef.isDoorTakeShow != ''">
                    ${_conditionType_} a.isDoorTakeShow like #{${_conditionParam_}.isDoorTakeShow}
                </if>
                <if test="conditionParamRef.isDoorTakeShow == null">
                    ${_conditionType_} a.isDoorTakeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isDoorTakeShowList')">
                ${_conditionType_} a.isDoorTakeShow in
                <foreach collection="conditionParamRef.isDoorTakeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('onlineMustSceneExplain')">
                <if test="conditionParamRef.onlineMustSceneExplain != null and conditionParamRef.onlineMustSceneExplain != ''">
                    ${_conditionType_} a.onlineMustSceneExplain like #{${_conditionParam_}.onlineMustSceneExplain}
                </if>
                <if test="conditionParamRef.onlineMustSceneExplain == null">
                    ${_conditionType_} a.onlineMustSceneExplain is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('onlineMustSceneExplainList')">
                ${_conditionType_} a.onlineMustSceneExplain in
                <foreach collection="conditionParamRef.onlineMustSceneExplainList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('performDeptType')">
                <if test="conditionParamRef.performDeptType != null and conditionParamRef.performDeptType != ''">
                    ${_conditionType_} a.performDeptType like #{${_conditionParam_}.performDeptType}
                </if>
                <if test="conditionParamRef.performDeptType == null">
                    ${_conditionType_} a.performDeptType is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('performDeptTypeList')">
                ${_conditionType_} a.performDeptType in
                <foreach collection="conditionParamRef.performDeptTypeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('matterEdition')">
                <if test="conditionParamRef.matterEdition != null and conditionParamRef.matterEdition != ''">
                    ${_conditionType_} a.matterEdition like #{${_conditionParam_}.matterEdition}
                </if>
                <if test="conditionParamRef.matterEdition == null">
                    ${_conditionType_} a.matterEdition is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('matterEditionList')">
                ${_conditionType_} a.matterEdition in
                <foreach collection="conditionParamRef.matterEditionList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('eventTypeShow')">
                <if test="conditionParamRef.eventTypeShow != null and conditionParamRef.eventTypeShow != ''">
                    ${_conditionType_} a.eventTypeShow like #{${_conditionParam_}.eventTypeShow}
                </if>
                <if test="conditionParamRef.eventTypeShow == null">
                    ${_conditionType_} a.eventTypeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('eventTypeShowList')">
                ${_conditionType_} a.eventTypeShow in
                <foreach collection="conditionParamRef.eventTypeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('performHierarchyShow')">
                <if test="conditionParamRef.performHierarchyShow != null and conditionParamRef.performHierarchyShow != ''">
                    ${_conditionType_} a.performHierarchyShow like #{${_conditionParam_}.performHierarchyShow}
                </if>
                <if test="conditionParamRef.performHierarchyShow == null">
                    ${_conditionType_} a.performHierarchyShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('performHierarchyShowList')">
                ${_conditionType_} a.performHierarchyShow in
                <foreach collection="conditionParamRef.performHierarchyShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('powerSourceShow')">
                <if test="conditionParamRef.powerSourceShow != null and conditionParamRef.powerSourceShow != ''">
                    ${_conditionType_} a.powerSourceShow like #{${_conditionParam_}.powerSourceShow}
                </if>
                <if test="conditionParamRef.powerSourceShow == null">
                    ${_conditionType_} a.powerSourceShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('powerSourceShowList')">
                ${_conditionType_} a.powerSourceShow in
                <foreach collection="conditionParamRef.powerSourceShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('performDeptTypeShow')">
                <if test="conditionParamRef.performDeptTypeShow != null and conditionParamRef.performDeptTypeShow != ''">
                    ${_conditionType_} a.performDeptTypeShow like #{${_conditionParam_}.performDeptTypeShow}
                </if>
                <if test="conditionParamRef.performDeptTypeShow == null">
                    ${_conditionType_} a.performDeptTypeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('performDeptTypeShowList')">
                ${_conditionType_} a.performDeptTypeShow in
                <foreach collection="conditionParamRef.performDeptTypeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('goveServiceCenterShow')">
                <if test="conditionParamRef.goveServiceCenterShow != null and conditionParamRef.goveServiceCenterShow != ''">
                    ${_conditionType_} a.goveServiceCenterShow like #{${_conditionParam_}.goveServiceCenterShow}
                </if>
                <if test="conditionParamRef.goveServiceCenterShow == null">
                    ${_conditionType_} a.goveServiceCenterShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('goveServiceCenterShowList')">
                ${_conditionType_} a.goveServiceCenterShow in
                <foreach collection="conditionParamRef.goveServiceCenterShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('isConvenientCenterShow')">
                <if test="conditionParamRef.isConvenientCenterShow != null and conditionParamRef.isConvenientCenterShow != ''">
                    ${_conditionType_} a.isConvenientCenterShow like #{${_conditionParam_}.isConvenientCenterShow}
                </if>
                <if test="conditionParamRef.isConvenientCenterShow == null">
                    ${_conditionType_} a.isConvenientCenterShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isConvenientCenterShowList')">
                ${_conditionType_} a.isConvenientCenterShow in
                <foreach collection="conditionParamRef.isConvenientCenterShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('terminalHandle')">
                <if test="conditionParamRef.terminalHandle != null ">
                    ${_conditionType_} a.terminalHandle = #{${_conditionParam_}.terminalHandle}
                </if>
                <if test="conditionParamRef.terminalHandle == null">
                    ${_conditionType_} a.terminalHandle is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('terminalHandleList')">
                ${_conditionType_} a.terminalHandle in
                <foreach collection="conditionParamRef.terminalHandleList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('terminalHandleStart') and conditionParamRef.terminalHandleStart != null">
                ${_conditionType_} a.terminalHandle <![CDATA[ >= ]]> #{${_conditionParam_}.terminalHandleStart}
            </if>
            <if test="conditionParamRef.containsKey('terminalHandleEnd') and conditionParamRef.terminalHandleEnd != null">
                ${_conditionType_} a.terminalHandle <![CDATA[ <= ]]> #{${_conditionParam_}.terminalHandleEnd}
            </if>

            <if test="conditionParamRef.containsKey('isOnline')">
                <if test="conditionParamRef.isOnline != null ">
                    ${_conditionType_} a.isOnline = #{${_conditionParam_}.isOnline}
                </if>
                <if test="conditionParamRef.isOnline == null">
                    ${_conditionType_} a.isOnline is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isOnlineList')">
                ${_conditionType_} a.isOnline in
                <foreach collection="conditionParamRef.isOnlineList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('isOnlineStart') and conditionParamRef.isOnlineStart != null">
                ${_conditionType_} a.isOnline <![CDATA[ >= ]]> #{${_conditionParam_}.isOnlineStart}
            </if>
            <if test="conditionParamRef.containsKey('isOnlineEnd') and conditionParamRef.isOnlineEnd != null">
                ${_conditionType_} a.isOnline <![CDATA[ <= ]]> #{${_conditionParam_}.isOnlineEnd}
            </if>


            <if test="conditionParamRef.containsKey('isOnlinePayShow')">
                <if test="conditionParamRef.isOnlinePayShow != null and conditionParamRef.isOnlinePayShow != ''">
                    ${_conditionType_} a.isOnlinePayShow like #{${_conditionParam_}.isOnlinePayShow}
                </if>
                <if test="conditionParamRef.isOnlinePayShow == null">
                    ${_conditionType_} a.isOnlinePayShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isOnlinePayShowList')">
                ${_conditionType_} a.isOnlinePayShow in
                <foreach collection="conditionParamRef.isOnlinePayShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('entrustmentDepartmen')">
                <if test="conditionParamRef.entrustmentDepartmen != null and conditionParamRef.entrustmentDepartmen != ''">
                    ${_conditionType_} a.entrustmentDepartmen like #{${_conditionParam_}.entrustmentDepartmen}
                </if>
                <if test="conditionParamRef.entrustmentDepartmen == null">
                    ${_conditionType_} a.entrustmentDepartmen is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('entrustmentDepartmenList')">
                ${_conditionType_} a.entrustmentDepartmen in
                <foreach collection="conditionParamRef.entrustmentDepartmenList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('jointInfoShow')">
                <if test="conditionParamRef.jointInfoShow != null and conditionParamRef.jointInfoShow != ''">
                    ${_conditionType_} a.jointInfoShow like #{${_conditionParam_}.jointInfoShow}
                </if>
                <if test="conditionParamRef.jointInfoShow == null">
                    ${_conditionType_} a.jointInfoShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('jointInfoShowList')">
                ${_conditionType_} a.jointInfoShow in
                <foreach collection="conditionParamRef.jointInfoShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('matterStatus')">
                <if test="conditionParamRef.matterStatus != null and conditionParamRef.matterStatus != ''">
                    ${_conditionType_} a.matterStatus like #{${_conditionParam_}.matterStatus}
                </if>
                <if test="conditionParamRef.matterStatus == null">
                    ${_conditionType_} a.matterStatus is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('matterStatusList')">
                ${_conditionType_} a.matterStatus in
                <foreach collection="conditionParamRef.matterStatusList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('numberLimit')">
                <if test="conditionParamRef.numberLimit != null ">
                    ${_conditionType_} a.numberLimit = #{${_conditionParam_}.numberLimit}
                </if>
                <if test="conditionParamRef.numberLimit == null">
                    ${_conditionType_} a.numberLimit is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('numberLimitList')">
                ${_conditionType_} a.numberLimit in
                <foreach collection="conditionParamRef.numberLimitList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('numberLimitStart') and conditionParamRef.numberLimitStart != null">
                ${_conditionType_} a.numberLimit <![CDATA[ >= ]]> #{${_conditionParam_}.numberLimitStart}
            </if>
            <if test="conditionParamRef.containsKey('numberLimitEnd') and conditionParamRef.numberLimitEnd != null">
                ${_conditionType_} a.numberLimit <![CDATA[ <= ]]> #{${_conditionParam_}.numberLimitEnd}
            </if>


            <if test="conditionParamRef.containsKey('type')">
                <if test="conditionParamRef.type != null and conditionParamRef.type != ''">
                    ${_conditionType_} a.type like #{${_conditionParam_}.type}
                </if>
                <if test="conditionParamRef.type == null">
                    ${_conditionType_} a.type is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('typeList')">
                ${_conditionType_} a.type in
                <foreach collection="conditionParamRef.typeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('baseCode')">
                <if test="conditionParamRef.baseCode != null and conditionParamRef.baseCode != ''">
                    ${_conditionType_} a.baseCode like #{${_conditionParam_}.baseCode}
                </if>
                <if test="conditionParamRef.baseCode == null">
                    ${_conditionType_} a.baseCode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('baseCodeList')">
                ${_conditionType_} a.baseCode in
                <foreach collection="conditionParamRef.baseCodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('implementCode')">
                <if test="conditionParamRef.implementCode != null and conditionParamRef.implementCode != ''">
                    ${_conditionType_} a.implementCode like #{${_conditionParam_}.implementCode}
                </if>
                <if test="conditionParamRef.implementCode == null">
                    ${_conditionType_} a.implementCode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('implementCodeList')">
                ${_conditionType_} a.implementCode in
                <foreach collection="conditionParamRef.implementCodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('implementBodyCode')">
                <if test="conditionParamRef.implementBodyCode != null and conditionParamRef.implementBodyCode != ''">
                    ${_conditionType_} a.implementBodyCode like #{${_conditionParam_}.implementBodyCode}
                </if>
                <if test="conditionParamRef.implementBodyCode == null">
                    ${_conditionType_} a.implementBodyCode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('implementBodyCodeList')">
                ${_conditionType_} a.implementBodyCode in
                <foreach collection="conditionParamRef.implementBodyCodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('operateItemCode')">
                <if test="conditionParamRef.operateItemCode != null and conditionParamRef.operateItemCode != ''">
                    ${_conditionType_} a.operateItemCode like #{${_conditionParam_}.operateItemCode}
                </if>
                <if test="conditionParamRef.operateItemCode == null">
                    ${_conditionType_} a.operateItemCode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('operateItemCodeList')">
                ${_conditionType_} a.operateItemCode in
                <foreach collection="conditionParamRef.operateItemCodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('townshipName')">
                <if test="conditionParamRef.townshipName != null and conditionParamRef.townshipName != ''">
                    ${_conditionType_} a.townshipName like #{${_conditionParam_}.townshipName}
                </if>
                <if test="conditionParamRef.townshipName == null">
                    ${_conditionType_} a.townshipName is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('townshipNameList')">
                ${_conditionType_} a.townshipName in
                <foreach collection="conditionParamRef.townshipNameList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('townshipCode')">
                <if test="conditionParamRef.townshipCode != null and conditionParamRef.townshipCode != ''">
                    ${_conditionType_} a.townshipCode like #{${_conditionParam_}.townshipCode}
                </if>
                <if test="conditionParamRef.townshipCode == null">
                    ${_conditionType_} a.townshipCode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('townshipCodeList')">
                ${_conditionType_} a.townshipCode in
                <foreach collection="conditionParamRef.townshipCodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('villageName')">
                <if test="conditionParamRef.villageName != null and conditionParamRef.villageName != ''">
                    ${_conditionType_} a.villageName like #{${_conditionParam_}.villageName}
                </if>
                <if test="conditionParamRef.villageName == null">
                    ${_conditionType_} a.villageName is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('villageNameList')">
                ${_conditionType_} a.villageName in
                <foreach collection="conditionParamRef.villageNameList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('villageCode')">
                <if test="conditionParamRef.villageCode != null and conditionParamRef.villageCode != ''">
                    ${_conditionType_} a.villageCode like #{${_conditionParam_}.villageCode}
                </if>
                <if test="conditionParamRef.villageCode == null">
                    ${_conditionType_} a.villageCode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('villageCodeList')">
                ${_conditionType_} a.villageCode in
                <foreach collection="conditionParamRef.villageCodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('operateTime')">
                <if test="conditionParamRef.operateTime != null and conditionParamRef.operateTime != ''">
                    ${_conditionType_} a.operateTime like #{${_conditionParam_}.operateTime}
                </if>
                <if test="conditionParamRef.operateTime == null">
                    ${_conditionType_} a.operateTime is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('operateTimeList')">
                ${_conditionType_} a.operateTime in
                <foreach collection="conditionParamRef.operateTimeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('operateSite')">
                <if test="conditionParamRef.operateSite != null and conditionParamRef.operateSite != ''">
                    ${_conditionType_} a.operateSite like #{${_conditionParam_}.operateSite}
                </if>
                <if test="conditionParamRef.operateSite == null">
                    ${_conditionType_} a.operateSite is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('operateSiteList')">
                ${_conditionType_} a.operateSite in
                <foreach collection="conditionParamRef.operateSiteList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('cousultingShow')">
                <if test="conditionParamRef.cousultingShow != null and conditionParamRef.cousultingShow != ''">
                    ${_conditionType_} a.cousultingShow like #{${_conditionParam_}.cousultingShow}
                </if>
                <if test="conditionParamRef.cousultingShow == null">
                    ${_conditionType_} a.cousultingShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('cousultingShowList')">
                ${_conditionType_} a.cousultingShow in
                <foreach collection="conditionParamRef.cousultingShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('cousultingTelephoneShow')">
                <if test="conditionParamRef.cousultingTelephoneShow != null and conditionParamRef.cousultingTelephoneShow != ''">
                    ${_conditionType_} a.cousultingTelephoneShow like #{${_conditionParam_}.cousultingTelephoneShow}
                </if>
                <if test="conditionParamRef.cousultingTelephoneShow == null">
                    ${_conditionType_} a.cousultingTelephoneShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('cousultingTelephoneShowList')">
                ${_conditionType_} a.cousultingTelephoneShow in
                <foreach collection="conditionParamRef.cousultingTelephoneShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('superviseShow')">
                <if test="conditionParamRef.superviseShow != null and conditionParamRef.superviseShow != ''">
                    ${_conditionType_} a.superviseShow like #{${_conditionParam_}.superviseShow}
                </if>
                <if test="conditionParamRef.superviseShow == null">
                    ${_conditionType_} a.superviseShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('superviseShowList')">
                ${_conditionType_} a.superviseShow in
                <foreach collection="conditionParamRef.superviseShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('mattertype')">
                <if test="conditionParamRef.mattertype != null ">
                    ${_conditionType_} a.mattertype = #{${_conditionParam_}.mattertype}
                </if>
                <if test="conditionParamRef.mattertype == null">
                    ${_conditionType_} a.mattertype is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('mattertypeList')">
                ${_conditionType_} a.mattertype in
                <foreach collection="conditionParamRef.mattertypeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('mattertypeStart') and conditionParamRef.mattertypeStart != null">
                ${_conditionType_} a.mattertype <![CDATA[ >= ]]> #{${_conditionParam_}.mattertypeStart}
            </if>
            <if test="conditionParamRef.containsKey('mattertypeEnd') and conditionParamRef.mattertypeEnd != null">
                ${_conditionType_} a.mattertype <![CDATA[ <= ]]> #{${_conditionParam_}.mattertypeEnd}
            </if>


            <if test="conditionParamRef.containsKey('deptCode')">
                <if test="conditionParamRef.deptCode != null and conditionParamRef.deptCode != ''">
                    ${_conditionType_} a.deptCode like #{${_conditionParam_}.deptCode}
                </if>
                <if test="conditionParamRef.deptCode == null">
                    ${_conditionType_} a.deptCode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('deptCodeList')">
                ${_conditionType_} a.deptCode in
                <foreach collection="conditionParamRef.deptCodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('dirListCode')">
                <if test="conditionParamRef.dirListCode != null and conditionParamRef.dirListCode != ''">
                    ${_conditionType_} a.dirListCode like #{${_conditionParam_}.dirListCode}
                </if>
                <if test="conditionParamRef.dirListCode == null">
                    ${_conditionType_} a.dirListCode is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('dirListCodeList')">
                ${_conditionType_} a.dirListCode in
                <foreach collection="conditionParamRef.dirListCodeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('runSystemShow')">
                <if test="conditionParamRef.runSystemShow != null and conditionParamRef.runSystemShow != ''">
                    ${_conditionType_} a.runSystemShow like #{${_conditionParam_}.runSystemShow}
                </if>
                <if test="conditionParamRef.runSystemShow == null">
                    ${_conditionType_} a.runSystemShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('runSystemShowList')">
                ${_conditionType_} a.runSystemShow in
                <foreach collection="conditionParamRef.runSystemShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('jointReviewInfoShow')">
                <if test="conditionParamRef.jointReviewInfoShow != null and conditionParamRef.jointReviewInfoShow != ''">
                    ${_conditionType_} a.jointReviewInfoShow like #{${_conditionParam_}.jointReviewInfoShow}
                </if>
                <if test="conditionParamRef.jointReviewInfoShow == null">
                    ${_conditionType_} a.jointReviewInfoShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('jointReviewInfoShowList')">
                ${_conditionType_} a.jointReviewInfoShow in
                <foreach collection="conditionParamRef.jointReviewInfoShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('doThingTypeShow')">
                <if test="conditionParamRef.doThingTypeShow != null and conditionParamRef.doThingTypeShow != ''">
                    ${_conditionType_} a.doThingTypeShow like #{${_conditionParam_}.doThingTypeShow}
                </if>
                <if test="conditionParamRef.doThingTypeShow == null">
                    ${_conditionType_} a.doThingTypeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('doThingTypeShowList')">
                ${_conditionType_} a.doThingTypeShow in
                <foreach collection="conditionParamRef.doThingTypeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('pubTimeShow')">
                <if test="conditionParamRef.pubTimeShow != null and conditionParamRef.pubTimeShow != ''">
                    ${_conditionType_} a.pubTimeShow like #{${_conditionParam_}.pubTimeShow}
                </if>
                <if test="conditionParamRef.pubTimeShow == null">
                    ${_conditionType_} a.pubTimeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('pubTimeShowList')">
                ${_conditionType_} a.pubTimeShow in
                <foreach collection="conditionParamRef.pubTimeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('supervisoryTelephoneShow')">
                <if test="conditionParamRef.supervisoryTelephoneShow != null and conditionParamRef.supervisoryTelephoneShow != ''">
                    ${_conditionType_} a.supervisoryTelephoneShow like #{${_conditionParam_}.supervisoryTelephoneShow}
                </if>
                <if test="conditionParamRef.supervisoryTelephoneShow == null">
                    ${_conditionType_} a.supervisoryTelephoneShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('supervisoryTelephoneShowList')">
                ${_conditionType_} a.supervisoryTelephoneShow in
                <foreach collection="conditionParamRef.supervisoryTelephoneShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('handleTimeShow')">
                <if test="conditionParamRef.handleTimeShow != null and conditionParamRef.handleTimeShow != ''">
                    ${_conditionType_} a.handleTimeShow like #{${_conditionParam_}.handleTimeShow}
                </if>
                <if test="conditionParamRef.handleTimeShow == null">
                    ${_conditionType_} a.handleTimeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('handleTimeShowList')">
                ${_conditionType_} a.handleTimeShow in
                <foreach collection="conditionParamRef.handleTimeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('handlePlaceShow')">
                <if test="conditionParamRef.handlePlaceShow != null and conditionParamRef.handlePlaceShow != ''">
                    ${_conditionType_} a.handlePlaceShow like #{${_conditionParam_}.handlePlaceShow}
                </if>
                <if test="conditionParamRef.handlePlaceShow == null">
                    ${_conditionType_} a.handlePlaceShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('handlePlaceShowList')">
                ${_conditionType_} a.handlePlaceShow in
                <foreach collection="conditionParamRef.handlePlaceShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('daysTypeShow')">
                <if test="conditionParamRef.daysTypeShow != null and conditionParamRef.daysTypeShow != ''">
                    ${_conditionType_} a.daysTypeShow like #{${_conditionParam_}.daysTypeShow}
                </if>
                <if test="conditionParamRef.daysTypeShow == null">
                    ${_conditionType_} a.daysTypeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('daysTypeShowList')">
                ${_conditionType_} a.daysTypeShow in
                <foreach collection="conditionParamRef.daysTypeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('tradeShow')">
                <if test="conditionParamRef.tradeShow != null and conditionParamRef.tradeShow != ''">
                    ${_conditionType_} a.tradeShow like #{${_conditionParam_}.tradeShow}
                </if>
                <if test="conditionParamRef.tradeShow == null">
                    ${_conditionType_} a.tradeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('tradeShowList')">
                ${_conditionType_} a.tradeShow in
                <foreach collection="conditionParamRef.tradeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('eventSourceShow')">
                <if test="conditionParamRef.eventSourceShow != null and conditionParamRef.eventSourceShow != ''">
                    ${_conditionType_} a.eventSourceShow like #{${_conditionParam_}.eventSourceShow}
                </if>
                <if test="conditionParamRef.eventSourceShow == null">
                    ${_conditionType_} a.eventSourceShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('eventSourceShowList')">
                ${_conditionType_} a.eventSourceShow in
                <foreach collection="conditionParamRef.eventSourceShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('applyresultTypeShow')">
                <if test="conditionParamRef.applyresultTypeShow != null and conditionParamRef.applyresultTypeShow != ''">
                    ${_conditionType_} a.applyresultTypeShow like #{${_conditionParam_}.applyresultTypeShow}
                </if>
                <if test="conditionParamRef.applyresultTypeShow == null">
                    ${_conditionType_} a.applyresultTypeShow is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('applyresultTypeShowList')">
                ${_conditionType_} a.applyresultTypeShow in
                <foreach collection="conditionParamRef.applyresultTypeShowList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('typeOfReview')">
                <if test="conditionParamRef.typeOfReview != null and conditionParamRef.typeOfReview != ''">
                    ${_conditionType_} a.typeOfReview like #{${_conditionParam_}.typeOfReview}
                </if>
                <if test="conditionParamRef.typeOfReview == null">
                    ${_conditionType_} a.typeOfReview is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('typeOfReviewList')">
                ${_conditionType_} a.typeOfReview in
                <foreach collection="conditionParamRef.typeOfReviewList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('enforcement')">
                <if test="conditionParamRef.enforcement != null and conditionParamRef.enforcement != ''">
                    ${_conditionType_} a.enforcement like #{${_conditionParam_}.enforcement}
                </if>
                <if test="conditionParamRef.enforcement == null">
                    ${_conditionType_} a.enforcement is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('enforcementList')">
                ${_conditionType_} a.enforcement in
                <foreach collection="conditionParamRef.enforcementList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('serviceClassification')">
                <if test="conditionParamRef.serviceClassification != null and conditionParamRef.serviceClassification != ''">
                    ${_conditionType_} a.serviceClassification like #{${_conditionParam_}.serviceClassification}
                </if>
                <if test="conditionParamRef.serviceClassification == null">
                    ${_conditionType_} a.serviceClassification is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('serviceClassificationList')">
                ${_conditionType_} a.serviceClassification in
                <foreach collection="conditionParamRef.serviceClassificationList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('licenseNumber')">
                <if test="conditionParamRef.licenseNumber != null and conditionParamRef.licenseNumber != ''">
                    ${_conditionType_} a.licenseNumber like #{${_conditionParam_}.licenseNumber}
                </if>
                <if test="conditionParamRef.licenseNumber == null">
                    ${_conditionType_} a.licenseNumber is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('licenseNumberList')">
                ${_conditionType_} a.licenseNumber in
                <foreach collection="conditionParamRef.licenseNumberList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('number')">
                <if test="conditionParamRef.number != null ">
                    ${_conditionType_} a.number = #{${_conditionParam_}.number}
                </if>
                <if test="conditionParamRef.number == null">
                    ${_conditionType_} a.number is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('numberList')">
                ${_conditionType_} a.number in
                <foreach collection="conditionParamRef.numberList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('numberStart') and conditionParamRef.numberStart != null">
                ${_conditionType_} a.number <![CDATA[ >= ]]> #{${_conditionParam_}.numberStart}
            </if>
            <if test="conditionParamRef.containsKey('numberEnd') and conditionParamRef.numberEnd != null">
                ${_conditionType_} a.number <![CDATA[ <= ]]> #{${_conditionParam_}.numberEnd}
            </if>


            <if test="conditionParamRef.containsKey('inquire')">
                <if test="conditionParamRef.inquire != null and conditionParamRef.inquire != ''">
                    ${_conditionType_} a.inquire like #{${_conditionParam_}.inquire}
                </if>
                <if test="conditionParamRef.inquire == null">
                    ${_conditionType_} a.inquire is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('inquireList')">
                ${_conditionType_} a.inquire in
                <foreach collection="conditionParamRef.inquireList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('handlingresultNames')">
                <if test="conditionParamRef.handlingresultNames != null and conditionParamRef.handlingresultNames != ''">
                    ${_conditionType_} a.handlingresultNames like #{${_conditionParam_}.handlingresultNames}
                </if>
                <if test="conditionParamRef.handlingresultNames == null">
                    ${_conditionType_} a.handlingresultNames is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('handlingresultNamesList')">
                ${_conditionType_} a.handlingresultNames in
                <foreach collection="conditionParamRef.handlingresultNamesList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('sampleApprovalResults')">
                <if test="conditionParamRef.sampleApprovalResults != null and conditionParamRef.sampleApprovalResults != ''">
                    ${_conditionType_} a.sampleApprovalResults like #{${_conditionParam_}.sampleApprovalResults}
                </if>
                <if test="conditionParamRef.sampleApprovalResults == null">
                    ${_conditionType_} a.sampleApprovalResults is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('sampleApprovalResultsList')">
                ${_conditionType_} a.sampleApprovalResults in
                <foreach collection="conditionParamRef.sampleApprovalResultsList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('performDeptName')">
                <if test="conditionParamRef.performDeptName != null and conditionParamRef.performDeptName != ''">
                    ${_conditionType_} a.performDeptName like #{${_conditionParam_}.performDeptName}
                </if>
                <if test="conditionParamRef.performDeptName == null">
                    ${_conditionType_} a.performDeptName is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('performDeptNameList')">
                ${_conditionType_} a.performDeptName in
                <foreach collection="conditionParamRef.performDeptNameList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('html')">
                <if test="conditionParamRef.html != null and conditionParamRef.html != ''">
                    ${_conditionType_} a.html like #{${_conditionParam_}.html}
                </if>
                <if test="conditionParamRef.html == null">
                    ${_conditionType_} a.html is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('htmlList')">
                ${_conditionType_} a.html in
                <foreach collection="conditionParamRef.htmlList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('eventType')">
                <if test="conditionParamRef.eventType != null and conditionParamRef.eventType != ''">
                    ${_conditionType_} a.eventType like #{${_conditionParam_}.eventType}
                </if>
                <if test="conditionParamRef.eventType == null">
                    ${_conditionType_} a.eventType is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('eventTypeList')">
                ${_conditionType_} a.eventType in
                <foreach collection="conditionParamRef.eventTypeList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('shardKey')">
                <if test="conditionParamRef.shardKey != null ">
                    ${_conditionType_} a.shardKey = #{${_conditionParam_}.shardKey}
                </if>
                <if test="conditionParamRef.shardKey == null">
                    ${_conditionType_} a.shardKey is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('shardKeyList')">
                ${_conditionType_} a.shardKey in
                <foreach collection="conditionParamRef.shardKeyList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('shardKeyStart') and conditionParamRef.shardKeyStart != null">
                ${_conditionType_} a.shardKey <![CDATA[ >= ]]> #{${_conditionParam_}.shardKeyStart}
            </if>
            <if test="conditionParamRef.containsKey('shardKeyEnd') and conditionParamRef.shardKeyEnd != null">
                ${_conditionType_} a.shardKey <![CDATA[ <= ]]> #{${_conditionParam_}.shardKeyEnd}
            </if>

            <if test="conditionParamRef.containsKey('parson')">
                <if test="conditionParamRef.parson != null ">
                    ${_conditionType_} a.parson = #{${_conditionParam_}.parson}
                </if>
                <if test="conditionParamRef.parson == null">
                    ${_conditionType_} a.parson is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('parsonList')">
                ${_conditionType_} a.parson in
                <foreach collection="conditionParamRef.parsonList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('parsonStart') and conditionParamRef.parsonStart != null">
                ${_conditionType_} a.parson <![CDATA[ >= ]]> #{${_conditionParam_}.parsonStart}
            </if>
            <if test="conditionParamRef.containsKey('parsonEnd') and conditionParamRef.parsonEnd != null">
                ${_conditionType_} a.parson <![CDATA[ <= ]]> #{${_conditionParam_}.parsonEnd}
            </if>

            <if test="conditionParamRef.containsKey('lengal')">
                <if test="conditionParamRef.lengal != null ">
                    ${_conditionType_} a.lengal = #{${_conditionParam_}.lengal}
                </if>
                <if test="conditionParamRef.lengal == null">
                    ${_conditionType_} a.lengal is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('lengalList')">
                ${_conditionType_} a.lengal in
                <foreach collection="conditionParamRef.lengalList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('lengalStart') and conditionParamRef.lengalStart != null">
                ${_conditionType_} a.lengal <![CDATA[ >= ]]> #{${_conditionParam_}.lengalStart}
            </if>
            <if test="conditionParamRef.containsKey('lengalEnd') and conditionParamRef.lengalEnd != null">
                ${_conditionType_} a.lengal <![CDATA[ <= ]]> #{${_conditionParam_}.lengalEnd}
            </if>


            <if test="conditionParamRef.containsKey('materialRemark')">
                <if test="conditionParamRef.materialRemark != null and conditionParamRef.materialRemark != ''">
                    ${_conditionType_} a.materialRemark like #{${_conditionParam_}.materialRemark}
                </if>
                <if test="conditionParamRef.materialRemark == null">
                    ${_conditionType_} a.materialRemark is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('materialRemarkList')">
                ${_conditionType_} a.materialRemark in
                <foreach collection="conditionParamRef.materialRemarkList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('codeurl')">
                <if test="conditionParamRef.codeurl != null and conditionParamRef.codeurl != ''">
                    ${_conditionType_} a.codeurl like #{${_conditionParam_}.codeurl}
                </if>
                <if test="conditionParamRef.codeurl == null">
                    ${_conditionType_} a.codeurl is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('codeurlList')">
                ${_conditionType_} a.codeurl in
                <foreach collection="conditionParamRef.codeurlList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('applyObject')">
                <if test="conditionParamRef.applyObject != null and conditionParamRef.applyObject != ''">
                    ${_conditionType_} a.applyObject like #{${_conditionParam_}.applyObject}
                </if>
                <if test="conditionParamRef.applyObject == null">
                    ${_conditionType_} a.applyObject is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('applyObjectList')">
                ${_conditionType_} a.applyObject in
                <foreach collection="conditionParamRef.applyObjectList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>

            <if test="conditionParamRef.containsKey('isUniteAccept')">
                <if test="conditionParamRef.isUniteAccept != null and conditionParamRef.isUniteAccept != ''">
                    ${_conditionType_} a.isUniteAccept like #{${_conditionParam_}.isUniteAccept}
                </if>
                <if test="conditionParamRef.isUniteAccept == null">
                    ${_conditionType_} a.isUniteAccept is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isUniteAcceptList')">
                ${_conditionType_} a.isUniteAccept in
                <foreach collection="conditionParamRef.isUniteAcceptList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('sort')">
                <if test="conditionParamRef.sort != null ">
                    ${_conditionType_} a.sort = #{${_conditionParam_}.sort}
                </if>
                <if test="conditionParamRef.sort == null">
                    ${_conditionType_} a.sort is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('sortList')">
                ${_conditionType_} a.sort in
                <foreach collection="conditionParamRef.sortList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('sortStart') and conditionParamRef.sortStart != null">
                ${_conditionType_} a.sort <![CDATA[ >= ]]> #{${_conditionParam_}.sortStart}
            </if>
            <if test="conditionParamRef.containsKey('sortEnd') and conditionParamRef.sortEnd != null">
                ${_conditionType_} a.sort <![CDATA[ <= ]]> #{${_conditionParam_}.sortEnd}
            </if>

            <if test="conditionParamRef.containsKey('isRecommend')">
                <if test="conditionParamRef.isRecommend != null ">
                    ${_conditionType_} a.isRecommend = #{${_conditionParam_}.isRecommend}
                </if>
                <if test="conditionParamRef.isRecommend == null">
                    ${_conditionType_} a.isRecommend is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('isRecommendList')">
                ${_conditionType_} a.isRecommend in
                <foreach collection="conditionParamRef.isRecommendList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('isRecommendStart') and conditionParamRef.isRecommendStart != null">
                ${_conditionType_} a.isRecommend <![CDATA[ >= ]]> #{${_conditionParam_}.isRecommendStart}
            </if>
            <if test="conditionParamRef.containsKey('isRecommendEnd') and conditionParamRef.isRecommendEnd != null">
                ${_conditionType_} a.isRecommend <![CDATA[ <= ]]> #{${_conditionParam_}.isRecommendEnd}
            </if>


            <if test="conditionParamRef.containsKey('createTime')">
                <if test="conditionParamRef.createTime != null ">
                    ${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
                </if>
                <if test="conditionParamRef.createTime == null">
                    ${_conditionType_} a.createTime is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
                ${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
            </if>
            <if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
                ${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
            </if>
            <if test="conditionParamRef.containsKey('createUserId')">
                <if test="conditionParamRef.createUserId != null ">
                    ${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
                </if>
                <if test="conditionParamRef.createUserId == null">
                    ${_conditionType_} a.createUserId is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('createUserIdList')">
                ${_conditionType_} a.createUserId in
                <foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
                ${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
            </if>
            <if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
                ${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
            </if>


            <if test="conditionParamRef.containsKey('updateTime')">
                <if test="conditionParamRef.updateTime != null ">
                    ${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
                </if>
                <if test="conditionParamRef.updateTime == null">
                    ${_conditionType_} a.updateTime is null
                </if>
            </if>
            <if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
                ${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
            </if>
            <if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
                ${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
            </if>
    </sql>
    <sql id="_orderCols_">
        <if test="orderColList != null and !orderColList.isEmpty()">
            order by
            <trim suffixOverrides=","  suffix="">
                <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
                     ${item.colName} ${item.sortKind}
                </foreach>
            </trim>
        </if>
        <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
            order by
            <trim suffixOverrides=","  suffix="">
                    <if test="orderCol.containsKey('id')">
                        a.id
                        <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('siteId')">
                        a.siteId
                        <if test='orderCol.siteId != null and "DESC".equalsIgnoreCase(orderCol.siteId)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('tid')">
                        a.tid
                        <if test='orderCol.tid != null and "DESC".equalsIgnoreCase(orderCol.tid)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('tcode')">
                        a.tcode
                        <if test='orderCol.tcode != null and "DESC".equalsIgnoreCase(orderCol.tcode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('tname')">
                        a.tname
                        <if test='orderCol.tname != null and "DESC".equalsIgnoreCase(orderCol.tname)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('matterName')">
                        a.matterName
                        <if test='orderCol.matterName != null and "DESC".equalsIgnoreCase(orderCol.matterName)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('englishName')">
                        a.englishName
                        <if test='orderCol.englishName != null and "DESC".equalsIgnoreCase(orderCol.englishName)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('matterNo')">
                        a.matterNo
                        <if test='orderCol.matterNo != null and "DESC".equalsIgnoreCase(orderCol.matterNo)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('appoveObjectShow')">
                        a.appoveObjectShow
                        <if test='orderCol.appoveObjectShow != null and "DESC".equalsIgnoreCase(orderCol.appoveObjectShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('operatScopeShow')">
                        a.operatScopeShow
                        <if test='orderCol.operatScopeShow != null and "DESC".equalsIgnoreCase(orderCol.operatScopeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('appoveTimeLimitShow')">
                        a.appoveTimeLimitShow
                        <if test='orderCol.appoveTimeLimitShow != null and "DESC".equalsIgnoreCase(orderCol.appoveTimeLimitShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('handleType')">
                        a.handleType
                        <if test='orderCol.handleType != null and "DESC".equalsIgnoreCase(orderCol.handleType)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('legalTimeLimitShow')">
                        a.legalTimeLimitShow
                        <if test='orderCol.legalTimeLimitShow != null and "DESC".equalsIgnoreCase(orderCol.legalTimeLimitShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('legalEndExplain')">
                        a.legalEndExplain
                        <if test='orderCol.legalEndExplain != null and "DESC".equalsIgnoreCase(orderCol.legalEndExplain)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('promiseTimeLimitShow')">
                        a.promiseTimeLimitShow
                        <if test='orderCol.promiseTimeLimitShow != null and "DESC".equalsIgnoreCase(orderCol.promiseTimeLimitShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('promiseEndExplain')">
                        a.promiseEndExplain
                        <if test='orderCol.promiseEndExplain != null and "DESC".equalsIgnoreCase(orderCol.promiseEndExplain)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isChargesShow')">
                        a.isChargesShow
                        <if test='orderCol.isChargesShow != null and "DESC".equalsIgnoreCase(orderCol.isChargesShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('certificationLevelsShow')">
                        a.certificationLevelsShow
                        <if test='orderCol.certificationLevelsShow != null and "DESC".equalsIgnoreCase(orderCol.certificationLevelsShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('planTakeTime')">
                        a.planTakeTime
                        <if test='orderCol.planTakeTime != null and "DESC".equalsIgnoreCase(orderCol.planTakeTime)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('promiseTakeTime')">
                        a.promiseTakeTime
                        <if test='orderCol.promiseTakeTime != null and "DESC".equalsIgnoreCase(orderCol.promiseTakeTime)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('specialProcedure')">
                        a.specialProcedure
                        <if test='orderCol.specialProcedure != null and "DESC".equalsIgnoreCase(orderCol.specialProcedure)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('windowToTheSceneNum')">
                        a.windowToTheSceneNum
                        <if test='orderCol.windowToTheSceneNum != null and "DESC".equalsIgnoreCase(orderCol.windowToTheSceneNum)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isOnlineSubscribeShow')">
                        a.isOnlineSubscribeShow
                        <if test='orderCol.isOnlineSubscribeShow != null and "DESC".equalsIgnoreCase(orderCol.isOnlineSubscribeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isExpressTakeShow')">
                        a.isExpressTakeShow
                        <if test='orderCol.isExpressTakeShow != null and "DESC".equalsIgnoreCase(orderCol.isExpressTakeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isProvinceAcquisitionShow')">
                        a.isProvinceAcquisitionShow
                        <if test='orderCol.isProvinceAcquisitionShow != null and "DESC".equalsIgnoreCase(orderCol.isProvinceAcquisitionShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isApplyProvinceShow')">
                        a.isApplyProvinceShow
                        <if test='orderCol.isApplyProvinceShow != null and "DESC".equalsIgnoreCase(orderCol.isApplyProvinceShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('mustSceneExplain')">
                        a.mustSceneExplain
                        <if test='orderCol.mustSceneExplain != null and "DESC".equalsIgnoreCase(orderCol.mustSceneExplain)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('onlineType')">
                        a.onlineType
                        <if test='orderCol.onlineType != null and "DESC".equalsIgnoreCase(orderCol.onlineType)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('onlineToTheSceneNum')">
                        a.onlineToTheSceneNum
                        <if test='orderCol.onlineToTheSceneNum != null and "DESC".equalsIgnoreCase(orderCol.onlineToTheSceneNum)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('onlineOperatDeep')">
                        a.onlineOperatDeep
                        <if test='orderCol.onlineOperatDeep != null and "DESC".equalsIgnoreCase(orderCol.onlineOperatDeep)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isExpressTakeOnlineShow')">
                        a.isExpressTakeOnlineShow
                        <if test='orderCol.isExpressTakeOnlineShow != null and "DESC".equalsIgnoreCase(orderCol.isExpressTakeOnlineShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isDoorTakeShow')">
                        a.isDoorTakeShow
                        <if test='orderCol.isDoorTakeShow != null and "DESC".equalsIgnoreCase(orderCol.isDoorTakeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('onlineMustSceneExplain')">
                        a.onlineMustSceneExplain
                        <if test='orderCol.onlineMustSceneExplain != null and "DESC".equalsIgnoreCase(orderCol.onlineMustSceneExplain)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('performDeptType')">
                        a.performDeptType
                        <if test='orderCol.performDeptType != null and "DESC".equalsIgnoreCase(orderCol.performDeptType)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('matterEdition')">
                        a.matterEdition
                        <if test='orderCol.matterEdition != null and "DESC".equalsIgnoreCase(orderCol.matterEdition)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('eventTypeShow')">
                        a.eventTypeShow
                        <if test='orderCol.eventTypeShow != null and "DESC".equalsIgnoreCase(orderCol.eventTypeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('performHierarchyShow')">
                        a.performHierarchyShow
                        <if test='orderCol.performHierarchyShow != null and "DESC".equalsIgnoreCase(orderCol.performHierarchyShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('powerSourceShow')">
                        a.powerSourceShow
                        <if test='orderCol.powerSourceShow != null and "DESC".equalsIgnoreCase(orderCol.powerSourceShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('performDeptTypeShow')">
                        a.performDeptTypeShow
                        <if test='orderCol.performDeptTypeShow != null and "DESC".equalsIgnoreCase(orderCol.performDeptTypeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('goveServiceCenterShow')">
                        a.goveServiceCenterShow
                        <if test='orderCol.goveServiceCenterShow != null and "DESC".equalsIgnoreCase(orderCol.goveServiceCenterShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isConvenientCenterShow')">
                        a.isConvenientCenterShow
                        <if test='orderCol.isConvenientCenterShow != null and "DESC".equalsIgnoreCase(orderCol.isConvenientCenterShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('terminalHandle')">
                        a.terminalHandle
                        <if test='orderCol.terminalHandle != null and "DESC".equalsIgnoreCase(orderCol.terminalHandle)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isOnline')">
                        a.isOnline
                        <if test='orderCol.isOnline != null and "DESC".equalsIgnoreCase(orderCol.isOnline)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isOnlinePayShow')">
                        a.isOnlinePayShow
                        <if test='orderCol.isOnlinePayShow != null and "DESC".equalsIgnoreCase(orderCol.isOnlinePayShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('entrustmentDepartmen')">
                        a.entrustmentDepartmen
                        <if test='orderCol.entrustmentDepartmen != null and "DESC".equalsIgnoreCase(orderCol.entrustmentDepartmen)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('jointInfoShow')">
                        a.jointInfoShow
                        <if test='orderCol.jointInfoShow != null and "DESC".equalsIgnoreCase(orderCol.jointInfoShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('matterStatus')">
                        a.matterStatus
                        <if test='orderCol.matterStatus != null and "DESC".equalsIgnoreCase(orderCol.matterStatus)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('numberLimit')">
                        a.numberLimit
                        <if test='orderCol.numberLimit != null and "DESC".equalsIgnoreCase(orderCol.numberLimit)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('type')">
                        a.type
                        <if test='orderCol.type != null and "DESC".equalsIgnoreCase(orderCol.type)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('baseCode')">
                        a.baseCode
                        <if test='orderCol.baseCode != null and "DESC".equalsIgnoreCase(orderCol.baseCode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('implementCode')">
                        a.implementCode
                        <if test='orderCol.implementCode != null and "DESC".equalsIgnoreCase(orderCol.implementCode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('implementBodyCode')">
                        a.implementBodyCode
                        <if test='orderCol.implementBodyCode != null and "DESC".equalsIgnoreCase(orderCol.implementBodyCode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('operateItemCode')">
                        a.operateItemCode
                        <if test='orderCol.operateItemCode != null and "DESC".equalsIgnoreCase(orderCol.operateItemCode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('townshipName')">
                        a.townshipName
                        <if test='orderCol.townshipName != null and "DESC".equalsIgnoreCase(orderCol.townshipName)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('townshipCode')">
                        a.townshipCode
                        <if test='orderCol.townshipCode != null and "DESC".equalsIgnoreCase(orderCol.townshipCode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('villageName')">
                        a.villageName
                        <if test='orderCol.villageName != null and "DESC".equalsIgnoreCase(orderCol.villageName)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('villageCode')">
                        a.villageCode
                        <if test='orderCol.villageCode != null and "DESC".equalsIgnoreCase(orderCol.villageCode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('operateTime')">
                        a.operateTime
                        <if test='orderCol.operateTime != null and "DESC".equalsIgnoreCase(orderCol.operateTime)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('operateSite')">
                        a.operateSite
                        <if test='orderCol.operateSite != null and "DESC".equalsIgnoreCase(orderCol.operateSite)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('cousultingShow')">
                        a.cousultingShow
                        <if test='orderCol.cousultingShow != null and "DESC".equalsIgnoreCase(orderCol.cousultingShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('cousultingTelephoneShow')">
                        a.cousultingTelephoneShow
                        <if test='orderCol.cousultingTelephoneShow != null and "DESC".equalsIgnoreCase(orderCol.cousultingTelephoneShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('superviseShow')">
                        a.superviseShow
                        <if test='orderCol.superviseShow != null and "DESC".equalsIgnoreCase(orderCol.superviseShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('mattertype')">
                        a.mattertype
                        <if test='orderCol.mattertype != null and "DESC".equalsIgnoreCase(orderCol.mattertype)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('deptCode')">
                        a.deptCode
                        <if test='orderCol.deptCode != null and "DESC".equalsIgnoreCase(orderCol.deptCode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('dirListCode')">
                        a.dirListCode
                        <if test='orderCol.dirListCode != null and "DESC".equalsIgnoreCase(orderCol.dirListCode)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('runSystemShow')">
                        a.runSystemShow
                        <if test='orderCol.runSystemShow != null and "DESC".equalsIgnoreCase(orderCol.runSystemShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('jointReviewInfoShow')">
                        a.jointReviewInfoShow
                        <if test='orderCol.jointReviewInfoShow != null and "DESC".equalsIgnoreCase(orderCol.jointReviewInfoShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('doThingTypeShow')">
                        a.doThingTypeShow
                        <if test='orderCol.doThingTypeShow != null and "DESC".equalsIgnoreCase(orderCol.doThingTypeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('pubTimeShow')">
                        a.pubTimeShow
                        <if test='orderCol.pubTimeShow != null and "DESC".equalsIgnoreCase(orderCol.pubTimeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('supervisoryTelephoneShow')">
                        a.supervisoryTelephoneShow
                        <if test='orderCol.supervisoryTelephoneShow != null and "DESC".equalsIgnoreCase(orderCol.supervisoryTelephoneShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('handleTimeShow')">
                        a.handleTimeShow
                        <if test='orderCol.handleTimeShow != null and "DESC".equalsIgnoreCase(orderCol.handleTimeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('handlePlaceShow')">
                        a.handlePlaceShow
                        <if test='orderCol.handlePlaceShow != null and "DESC".equalsIgnoreCase(orderCol.handlePlaceShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('daysTypeShow')">
                        a.daysTypeShow
                        <if test='orderCol.daysTypeShow != null and "DESC".equalsIgnoreCase(orderCol.daysTypeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('tradeShow')">
                        a.tradeShow
                        <if test='orderCol.tradeShow != null and "DESC".equalsIgnoreCase(orderCol.tradeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('eventSourceShow')">
                        a.eventSourceShow
                        <if test='orderCol.eventSourceShow != null and "DESC".equalsIgnoreCase(orderCol.eventSourceShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('applyresultTypeShow')">
                        a.applyresultTypeShow
                        <if test='orderCol.applyresultTypeShow != null and "DESC".equalsIgnoreCase(orderCol.applyresultTypeShow)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('typeOfReview')">
                        a.typeOfReview
                        <if test='orderCol.typeOfReview != null and "DESC".equalsIgnoreCase(orderCol.typeOfReview)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('enforcement')">
                        a.enforcement
                        <if test='orderCol.enforcement != null and "DESC".equalsIgnoreCase(orderCol.enforcement)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('serviceClassification')">
                        a.serviceClassification
                        <if test='orderCol.serviceClassification != null and "DESC".equalsIgnoreCase(orderCol.serviceClassification)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('licenseNumber')">
                        a.licenseNumber
                        <if test='orderCol.licenseNumber != null and "DESC".equalsIgnoreCase(orderCol.licenseNumber)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('number')">
                        a.number
                        <if test='orderCol.number != null and "DESC".equalsIgnoreCase(orderCol.number)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('inquire')">
                        a.inquire
                        <if test='orderCol.inquire != null and "DESC".equalsIgnoreCase(orderCol.inquire)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('handlingresultNames')">
                        a.handlingresultNames
                        <if test='orderCol.handlingresultNames != null and "DESC".equalsIgnoreCase(orderCol.handlingresultNames)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('sampleApprovalResults')">
                        a.sampleApprovalResults
                        <if test='orderCol.sampleApprovalResults != null and "DESC".equalsIgnoreCase(orderCol.sampleApprovalResults)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('performDeptName')">
                        a.performDeptName
                        <if test='orderCol.performDeptName != null and "DESC".equalsIgnoreCase(orderCol.performDeptName)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('html')">
                        a.html
                        <if test='orderCol.html != null and "DESC".equalsIgnoreCase(orderCol.html)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('eventType')">
                        a.eventType
                        <if test='orderCol.eventType != null and "DESC".equalsIgnoreCase(orderCol.eventType)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('shardKey')">
                        a.shardKey
                        <if test='orderCol.shardKey != null and "DESC".equalsIgnoreCase(orderCol.shardKey)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('parson')">
                        a.parson
                        <if test='orderCol.parson != null and "DESC".equalsIgnoreCase(orderCol.parson)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('lengal')">
                        a.lengal
                        <if test='orderCol.lengal != null and "DESC".equalsIgnoreCase(orderCol.lengal)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('materialRemark')">
                        a.materialRemark
                        <if test='orderCol.materialRemark != null and "DESC".equalsIgnoreCase(orderCol.materialRemark)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('codeurl')">
                        a.codeurl
                        <if test='orderCol.codeurl != null and "DESC".equalsIgnoreCase(orderCol.codeurl)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('applyObject')">
                        a.applyObject
                        <if test='orderCol.applyObject != null and "DESC".equalsIgnoreCase(orderCol.applyObject)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isUniteAccept')">
                        a.isUniteAccept
                        <if test='orderCol.isUniteAccept != null and "DESC".equalsIgnoreCase(orderCol.isUniteAccept)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('sort')">
                        a.sort
                        <if test='orderCol.sort != null and "DESC".equalsIgnoreCase(orderCol.sort)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('isRecommend')">
                        a.isRecommend
                        <if test='orderCol.isRecommend != null and "DESC".equalsIgnoreCase(orderCol.isRecommend)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('createTime')">
                        a.createTime
                        <if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('createUserId')">
                        a.createUserId
                        <if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
                        ,
                    </if>
                    <if test="orderCol.containsKey('updateTime')">
                        a.updateTime
                        <if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
                        ,
                    </if>
            </trim>
        </if>
    </sql>
    <sql id="_group_by_">
        <if test="groupList != null and !groupList.isEmpty()">
            GROUP BY
            <trim suffixOverrides=","  suffix="">
                <foreach collection="groupList" open="" close="" index="index" item="item" separator=",">
                    ${item}
                </foreach>
            </trim>
        </if>
    </sql>
</mapper>