| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="cn.com.goldenwater.dcproj.dao.AttRsBaseFjDao">
- <resultMap type="cn.com.goldenwater.dcproj.model.AttRsBaseFj" id="attRsBaseFjResultMap">
- <result property="rsCode" column="RS_CODE"/>
- <result property="rsName" column="RS_NAME"/>
- <result property="longitude" column="LONGITUDE"/>
- <result property="latitude" column="LATITUDE"/>
- <result property="location" column="LOCATION"/>
- <result property="engScal" column="ENG_SCAL"/>
- <result property="limStag" column="LIM_STAG"/>
- <result property="totCap" column="TOT_CAP"/>
- <result property="rsAdmName" column="RS_ADM_NAME"/>
- <result property="rsAdmCode" column="RS_ADM_CODE"/>
- <result property="rsAdmDep" column="RS_ADM_DEP"/>
- <result property="admAttRel" column="ADM_ATT_REL"/>
- <result property="admDiv" column="ADM_DIV"/>
- <result property="rsType" column="RS_TYPE"/>
- <result property="damTypeMat" column="DAM_TYPE_MAT"/>
- <result property="damTypeStr" column="DAM_TYPE_STR"/>
- <result property="damSizeHig" column="DAM_SIZE_HIG"/>
- <result property="centerX" column="CENTER_X"/>
- <result property="centerY" column="CENTER_Y"/>
- <result property="src" column="SRC"/>
- <result property="dataQuality" column="DATA_QUALITY"/>
- <result property="centerXGd" column="CENTER_X_GD"/>
- <result property="centerYGd" column="CENTER_Y_GD"/>
- <result property="rsLoc" column="RS_LOC"/>
- <result property="regCode" column="REG_CODE"/>
- <result property="compDate" column="COMP_DATE"/>
- <result property="intm" column="INTM"/>
- <result property="regNo" column="REG_NO"/>
- <result property="hstInsp" column="HST_INSP"/>
- <result property="persId" column="PERS_ID"/>
- <result property="uptm" column="UPTM"/>
- <result property="chkState" column="CHK_STATE"/>
- <result property="edtrPesr" column="EDTR_PESR"/>
- <result property="slpcAdmDiv" column="SLPC_ADM_DIV"/>
- <result property="admDivName" column="ADM_DIV_NAME"/>
- <result property="compDateStr" column="COMP_DATE_STR"/>
- <result property="displayLevel" column="DISPLAY_LEVEL"/>
- <result property="rsClass" column="RS_CLASS"/>
- <result property="impdDt" column="IMPD_DT"/>
- <result property="rnfcImpdDt" column="RNFC_IMPD_DT"/>
- <result property="desFlStag" column="DES_FL_STAG"/>
- <result property="flConTopStag" column="FL_CON_TOP_STAG"/>
- <result property="wiunWaoLegPers" column="WIUN_WAO_LEG_PERS"/>
- <result property="wiunWaoLegPersUnit" column="WIUN_WAO_LEG_PERS_UNIT"/>
- <result property="wiunWaoLegPersDuty" column="WIUN_WAO_LEG_PERS_DUTY"/>
- <result property="wiunWaoLegPersTel" column="WIUN_WAO_LEG_PERS_TEL"/>
- <result property="techPers" column="TECH_PERS"/>
- <result property="techPersUnit" column="TECH_PERS_UNIT"/>
- <result property="techPersDuty" column="TECH_PERS_DUTY"/>
- <result property="techPersTel" column="TECH_PERS_TEL"/>
- <result property="patrolPers" column="PATROL_PERS"/>
- <result property="patrolPersUnit" column="PATROL_PERS_UNIT"/>
- <result property="patrolPersDuty" column="PATROL_PERS_DUTY"/>
- <result property="patrolPersTel" column="PATROL_PERS_TEL"/>
- <result property="damType" column="DAM_TYPE"/>
- </resultMap>
-
- <sql id="table_columns">
- RS_CODE,
- RS_NAME,
- LONGITUDE,
- LATITUDE,
- LOCATION,
- ENG_SCAL,
- LIM_STAG,
- TOT_CAP,
- RS_ADM_NAME,
- RS_ADM_CODE,
- RS_ADM_DEP,
- ADM_ATT_REL,
- ADM_DIV,
- RS_TYPE,
- DAM_TYPE_MAT,
- DAM_TYPE_STR,
- DAM_SIZE_HIG,
- CENTER_X,
- CENTER_Y,
- SRC,
- DATA_QUALITY,
- CENTER_X_GD,
- CENTER_Y_GD,
- RS_LOC,
- REG_CODE,
- COMP_DATE,
- INTM,
- REG_NO,
- HST_INSP,
- PERS_ID,
- UPTM,
- CHK_STATE,
- EDTR_PESR,
- SLPC_ADM_DIV,
- ADM_DIV_NAME,
- COMP_DATE_STR,
- DISPLAY_LEVEL,
- RS_CLASS,
- IMPD_DT,
- RNFC_IMPD_DT,
- DES_FL_STAG,
- FL_CON_TOP_STAG,
- WIUN_WAO_LEG_PERS,
- WIUN_WAO_LEG_PERS_UNIT,
- WIUN_WAO_LEG_PERS_DUTY,
- WIUN_WAO_LEG_PERS_TEL,
- TECH_PERS,
- TECH_PERS_UNIT,
- TECH_PERS_DUTY,
- TECH_PERS_TEL,
- PATROL_PERS,
- PATROL_PERS_UNIT,
- PATROL_PERS_DUTY,
- PATROL_PERS_TEL,
- DAM_TYPE
- </sql>
- <sql id="entity_properties">
- #{rsCode},
- #{rsName},
- #{longitude},
- #{latitude},
- #{location},
- #{engScal},
- #{limStag},
- #{totCap},
- #{rsAdmName},
- #{rsAdmCode},
- #{rsAdmDep},
- #{admAttRel},
- #{admDiv},
- #{rsType},
- #{damTypeMat},
- #{damTypeStr},
- #{damSizeHig},
- #{centerX},
- #{centerY},
- #{src},
- #{dataQuality},
- #{centerXGd},
- #{centerYGd},
- #{rsLoc},
- #{regCode},
- #{compDate},
- #{intm},
- #{regNo},
- #{hstInsp},
- #{persId},
- #{uptm},
- #{chkState},
- #{edtrPesr},
- #{slpcAdmDiv},
- #{admDivName},
- #{compDateStr},
- #{displayLevel},
- #{rsClass},
- #{impdDt},
- #{rnfcImpdDt},
- #{desFlStag},
- #{flConTopStag},
- #{wiunWaoLegPers},
- #{wiunWaoLegPersUnit},
- #{wiunWaoLegPersDuty},
- #{wiunWaoLegPersTel},
- #{techPers},
- #{techPersUnit},
- #{techPersDuty},
- #{techPersTel},
- #{patrolPers},
- #{patrolPersUnit},
- #{patrolPersDuty},
- #{patrolPersTel},
- #{damType}
- </sql>
- <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
- <sql id="page_where">
- <trim prefix="where" prefixOverrides="and | or ">
- <if test="rsName != null and rsName != ''">and RS_NAME = #{rsName}</if>
- <if test="longitude != null and longitude != ''">and LONGITUDE = #{longitude}</if>
- <if test="latitude != null and latitude != ''">and LATITUDE = #{latitude}</if>
- <if test="location != null and location != ''">and LOCATION = #{location}</if>
- <if test="engScal != null and engScal != ''">and ENG_SCAL = #{engScal}</if>
- <if test="limStag != null and limStag != ''">and LIM_STAG = #{limStag}</if>
- <if test="totCap != null and totCap != ''">and TOT_CAP = #{totCap}</if>
- <if test="rsAdmName != null and rsAdmName != ''">and RS_ADM_NAME = #{rsAdmName}</if>
- <if test="rsAdmCode != null and rsAdmCode != ''">and RS_ADM_CODE = #{rsAdmCode}</if>
- <if test="rsAdmDep != null and rsAdmDep != ''">and RS_ADM_DEP = #{rsAdmDep}</if>
- <if test="admAttRel != null and admAttRel != ''">and ADM_ATT_REL = #{admAttRel}</if>
- <if test="admDiv != null and admDiv != ''">and ADM_DIV = #{admDiv}</if>
- <if test="rsType != null and rsType != ''">and RS_TYPE = #{rsType}</if>
- <if test="damTypeMat != null and damTypeMat != ''">and DAM_TYPE_MAT = #{damTypeMat}</if>
- <if test="damTypeStr != null and damTypeStr != ''">and DAM_TYPE_STR = #{damTypeStr}</if>
- <if test="damSizeHig != null and damSizeHig != ''">and DAM_SIZE_HIG = #{damSizeHig}</if>
- <if test="centerX != null and centerX != ''">and CENTER_X = #{centerX}</if>
- <if test="centerY != null and centerY != ''">and CENTER_Y = #{centerY}</if>
- <if test="src != null and src != ''">and SRC = #{src}</if>
- <if test="dataQuality != null and dataQuality != ''">and DATA_QUALITY = #{dataQuality}</if>
- <if test="centerXGd != null and centerXGd != ''">and CENTER_X_GD = #{centerXGd}</if>
- <if test="centerYGd != null and centerYGd != ''">and CENTER_Y_GD = #{centerYGd}</if>
- <if test="rsLoc != null and rsLoc != ''">and RS_LOC = #{rsLoc}</if>
- <if test="regCode != null and regCode != ''">and REG_CODE = #{regCode}</if>
- <if test="compDate != null">and COMP_DATE = #{compDate}</if>
- <if test="intm != null">and INTM = #{intm}</if>
- <if test="regNo != null and regNo != ''">and REG_NO = #{regNo}</if>
- <if test="hstInsp != null and hstInsp != ''">and HST_INSP = #{hstInsp}</if>
- <if test="persId != null and persId != ''">and PERS_ID = #{persId}</if>
- <if test="uptm != null">and UPTM = #{uptm}</if>
- <if test="chkState != null and chkState != ''">and CHK_STATE = #{chkState}</if>
- <if test="edtrPesr != null and edtrPesr != ''">and EDTR_PESR = #{edtrPesr}</if>
- <if test="slpcAdmDiv != null and slpcAdmDiv != ''">and SLPC_ADM_DIV = #{slpcAdmDiv}</if>
- <if test="admDivName != null and admDivName != ''">and ADM_DIV_NAME = #{admDivName}</if>
- <if test="compDateStr != null and compDateStr != ''">and COMP_DATE_STR = #{compDateStr}</if>
- <if test="displayLevel != null and displayLevel != ''">and DISPLAY_LEVEL = #{displayLevel}</if>
- <if test="rsClass != null and rsClass != ''">and RS_CLASS = #{rsClass}</if>
- <if test="impdDt != null">and IMPD_DT = #{impdDt}</if>
- <if test="rnfcImpdDt != null">and RNFC_IMPD_DT = #{rnfcImpdDt}</if>
- <if test="desFlStag != null and desFlStag != ''">and DES_FL_STAG = #{desFlStag}</if>
- <if test="flConTopStag != null and flConTopStag != ''">and FL_CON_TOP_STAG = #{flConTopStag}</if>
- <if test="wiunWaoLegPers != null and wiunWaoLegPers != ''">and WIUN_WAO_LEG_PERS = #{wiunWaoLegPers}</if>
- <if test="wiunWaoLegPersUnit != null and wiunWaoLegPersUnit != ''">and WIUN_WAO_LEG_PERS_UNIT = #{wiunWaoLegPersUnit}</if>
- <if test="wiunWaoLegPersDuty != null and wiunWaoLegPersDuty != ''">and WIUN_WAO_LEG_PERS_DUTY = #{wiunWaoLegPersDuty}</if>
- <if test="wiunWaoLegPersTel != null and wiunWaoLegPersTel != ''">and WIUN_WAO_LEG_PERS_TEL = #{wiunWaoLegPersTel}</if>
- <if test="techPers != null and techPers != ''">and TECH_PERS = #{techPers}</if>
- <if test="techPersUnit != null and techPersUnit != ''">and TECH_PERS_UNIT = #{techPersUnit}</if>
- <if test="techPersDuty != null and techPersDuty != ''">and TECH_PERS_DUTY = #{techPersDuty}</if>
- <if test="techPersTel != null and techPersTel != ''">and TECH_PERS_TEL = #{techPersTel}</if>
- <if test="patrolPers != null and patrolPers != ''">and PATROL_PERS = #{patrolPers}</if>
- <if test="patrolPersUnit != null and patrolPersUnit != ''">and PATROL_PERS_UNIT = #{patrolPersUnit}</if>
- <if test="patrolPersDuty != null and patrolPersDuty != ''">and PATROL_PERS_DUTY = #{patrolPersDuty}</if>
- <if test="patrolPersTel != null and patrolPersTel != ''">and PATROL_PERS_TEL = #{patrolPersTel}</if>
- <if test="damType != null and damType != ''">and DAM_TYPE = #{damType}</if>
- </trim>
- </sql>
- <select id="findMax" parameterType="String" resultType="String">
- select max(rs_code) as rs_code
- from (select rs_code from ATT_RS_BASE where rs_code like '${location}%'
- union all
- select rs_code from ATT_RS_BASE_FJ where rs_code like '${location}%'
- )
- </select>
- <select id="get" resultMap="attRsBaseFjResultMap" parameterType="String" >
- select <include refid="table_columns" /> from ATT_RS_BASE where RS_CODE = #{rsCode}
- </select>
- <select id="getBy" resultMap="attRsBaseFjResultMap">
- select <include refid="table_columns" /> from ATT_RS_BASE_FJ <include refid="page_where" />
- </select>
- <select id="findAll" resultMap="attRsBaseFjResultMap">
- select <include refid="table_columns" /> from ATT_RS_BASE_FJ
- </select>
- <select id="findList" resultMap="attRsBaseFjResultMap">
- select <include refid="table_columns" /> from ATT_RS_BASE_FJ <include refid="page_where" />
- </select>
- <select id="selectCount" resultType="int" >
- select count(ID) from ATT_RS_BASE_FJ <include refid="page_where" />
- </select>
- <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.AttRsBaseFj">
- insert into ATT_RS_BASE_FJ( <include refid="table_columns" /> )
- values ( <include refid="entity_properties" /> )
- </insert>
- <delete id="delete" parameterType="java.lang.String">
- delete from ATT_RS_BASE_FJ where ID = #{id}
- </delete>
- <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.AttRsBaseFj">
- delete from ATT_RS_BASE_FJ <include refid="page_where" />
- </delete>
- <update id="deleteInFlag" parameterType="java.lang.String">
- update ATT_RS_BASE_FJ set flag_valid = 0 where ID = #{id}
- </update>
- <update id="update" parameterType="cn.com.goldenwater.dcproj.model.AttRsBaseFj">
- update ATT_RS_BASE_FJ
- <trim prefix="set" suffixOverrides=",">
- <if test="rsName != null and rsName != ''">RS_NAME = #{rsName},</if>
- <if test="longitude != null and longitude != ''">LONGITUDE = #{longitude},</if>
- <if test="latitude != null and latitude != ''">LATITUDE = #{latitude},</if>
- <if test="location != null and location != ''">LOCATION = #{location},</if>
- <if test="engScal != null and engScal != ''">ENG_SCAL = #{engScal},</if>
- <if test="limStag != null and limStag != ''">LIM_STAG = #{limStag},</if>
- <if test="totCap != null and totCap != ''">TOT_CAP = #{totCap},</if>
- <if test="rsAdmName != null and rsAdmName != ''">RS_ADM_NAME = #{rsAdmName},</if>
- <if test="rsAdmCode != null and rsAdmCode != ''">RS_ADM_CODE = #{rsAdmCode},</if>
- <if test="rsAdmDep != null and rsAdmDep != ''">RS_ADM_DEP = #{rsAdmDep},</if>
- <if test="admAttRel != null and admAttRel != ''">ADM_ATT_REL = #{admAttRel},</if>
- <if test="admDiv != null and admDiv != ''">ADM_DIV = #{admDiv},</if>
- <if test="rsType != null and rsType != ''">RS_TYPE = #{rsType},</if>
- <if test="damTypeMat != null and damTypeMat != ''">DAM_TYPE_MAT = #{damTypeMat},</if>
- <if test="damTypeStr != null and damTypeStr != ''">DAM_TYPE_STR = #{damTypeStr},</if>
- <if test="damSizeHig != null and damSizeHig != ''">DAM_SIZE_HIG = #{damSizeHig},</if>
- <if test="centerX != null and centerX != ''">CENTER_X = #{centerX},</if>
- <if test="centerY != null and centerY != ''">CENTER_Y = #{centerY},</if>
- <if test="src != null and src != ''">SRC = #{src},</if>
- <if test="dataQuality != null and dataQuality != ''">DATA_QUALITY = #{dataQuality},</if>
- <if test="centerXGd != null and centerXGd != ''">CENTER_X_GD = #{centerXGd},</if>
- <if test="centerYGd != null and centerYGd != ''">CENTER_Y_GD = #{centerYGd},</if>
- <if test="rsLoc != null and rsLoc != ''">RS_LOC = #{rsLoc},</if>
- <if test="regCode != null and regCode != ''">REG_CODE = #{regCode},</if>
- <if test="compDate != null">COMP_DATE = #{compDate},</if>
- <if test="intm != null">INTM = #{intm},</if>
- <if test="regNo != null and regNo != ''">REG_NO = #{regNo},</if>
- <if test="hstInsp != null and hstInsp != ''">HST_INSP = #{hstInsp},</if>
- <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
- <if test="uptm != null">UPTM = #{uptm},</if>
- <if test="chkState != null and chkState != ''">CHK_STATE = #{chkState},</if>
- <if test="edtrPesr != null and edtrPesr != ''">EDTR_PESR = #{edtrPesr},</if>
- <if test="slpcAdmDiv != null and slpcAdmDiv != ''">SLPC_ADM_DIV = #{slpcAdmDiv},</if>
- <if test="admDivName != null and admDivName != ''">ADM_DIV_NAME = #{admDivName},</if>
- <if test="compDateStr != null and compDateStr != ''">COMP_DATE_STR = #{compDateStr},</if>
- <if test="displayLevel != null and displayLevel != ''">DISPLAY_LEVEL = #{displayLevel},</if>
- <if test="rsClass != null and rsClass != ''">RS_CLASS = #{rsClass},</if>
- <if test="impdDt != null">IMPD_DT = #{impdDt},</if>
- <if test="rnfcImpdDt != null">RNFC_IMPD_DT = #{rnfcImpdDt},</if>
- <if test="desFlStag != null and desFlStag != ''">DES_FL_STAG = #{desFlStag},</if>
- <if test="flConTopStag != null and flConTopStag != ''">FL_CON_TOP_STAG = #{flConTopStag},</if>
- <if test="wiunWaoLegPers != null and wiunWaoLegPers != ''">WIUN_WAO_LEG_PERS = #{wiunWaoLegPers},</if>
- <if test="wiunWaoLegPersUnit != null and wiunWaoLegPersUnit != ''">WIUN_WAO_LEG_PERS_UNIT = #{wiunWaoLegPersUnit},</if>
- <if test="wiunWaoLegPersDuty != null and wiunWaoLegPersDuty != ''">WIUN_WAO_LEG_PERS_DUTY = #{wiunWaoLegPersDuty},</if>
- <if test="wiunWaoLegPersTel != null and wiunWaoLegPersTel != ''">WIUN_WAO_LEG_PERS_TEL = #{wiunWaoLegPersTel},</if>
- <if test="techPers != null and techPers != ''">TECH_PERS = #{techPers},</if>
- <if test="techPersUnit != null and techPersUnit != ''">TECH_PERS_UNIT = #{techPersUnit},</if>
- <if test="techPersDuty != null and techPersDuty != ''">TECH_PERS_DUTY = #{techPersDuty},</if>
- <if test="techPersTel != null and techPersTel != ''">TECH_PERS_TEL = #{techPersTel},</if>
- <if test="patrolPers != null and patrolPers != ''">PATROL_PERS = #{patrolPers},</if>
- <if test="patrolPersUnit != null and patrolPersUnit != ''">PATROL_PERS_UNIT = #{patrolPersUnit},</if>
- <if test="patrolPersDuty != null and patrolPersDuty != ''">PATROL_PERS_DUTY = #{patrolPersDuty},</if>
- <if test="patrolPersTel != null and patrolPersTel != ''">PATROL_PERS_TEL = #{patrolPersTel},</if>
- <if test="damType != null and damType != ''">DAM_TYPE = #{damType},</if>
- </trim>
- <where>ID = #{id}</where>
- </update>
- <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.AttRsBaseFj">
- update ATT_RS_BASE_FJ
- <trim prefix="set" suffixOverrides=",">
- <if test="rsName != null and rsName != ''">RS_NAME = #{rsName},</if>
- <if test="longitude != null and longitude != ''">LONGITUDE = #{longitude},</if>
- <if test="latitude != null and latitude != ''">LATITUDE = #{latitude},</if>
- <if test="location != null and location != ''">LOCATION = #{location},</if>
- <if test="engScal != null and engScal != ''">ENG_SCAL = #{engScal},</if>
- <if test="limStag != null and limStag != ''">LIM_STAG = #{limStag},</if>
- <if test="totCap != null and totCap != ''">TOT_CAP = #{totCap},</if>
- <if test="rsAdmName != null and rsAdmName != ''">RS_ADM_NAME = #{rsAdmName},</if>
- <if test="rsAdmCode != null and rsAdmCode != ''">RS_ADM_CODE = #{rsAdmCode},</if>
- <if test="rsAdmDep != null and rsAdmDep != ''">RS_ADM_DEP = #{rsAdmDep},</if>
- <if test="admAttRel != null and admAttRel != ''">ADM_ATT_REL = #{admAttRel},</if>
- <if test="admDiv != null and admDiv != ''">ADM_DIV = #{admDiv},</if>
- <if test="rsType != null and rsType != ''">RS_TYPE = #{rsType},</if>
- <if test="damTypeMat != null and damTypeMat != ''">DAM_TYPE_MAT = #{damTypeMat},</if>
- <if test="damTypeStr != null and damTypeStr != ''">DAM_TYPE_STR = #{damTypeStr},</if>
- <if test="damSizeHig != null and damSizeHig != ''">DAM_SIZE_HIG = #{damSizeHig},</if>
- <if test="centerX != null and centerX != ''">CENTER_X = #{centerX},</if>
- <if test="centerY != null and centerY != ''">CENTER_Y = #{centerY},</if>
- <if test="src != null and src != ''">SRC = #{src},</if>
- <if test="dataQuality != null and dataQuality != ''">DATA_QUALITY = #{dataQuality},</if>
- <if test="centerXGd != null and centerXGd != ''">CENTER_X_GD = #{centerXGd},</if>
- <if test="centerYGd != null and centerYGd != ''">CENTER_Y_GD = #{centerYGd},</if>
- <if test="rsLoc != null and rsLoc != ''">RS_LOC = #{rsLoc},</if>
- <if test="regCode != null and regCode != ''">REG_CODE = #{regCode},</if>
- <if test="compDate != null">COMP_DATE = #{compDate},</if>
- <if test="intm != null">INTM = #{intm},</if>
- <if test="regNo != null and regNo != ''">REG_NO = #{regNo},</if>
- <if test="hstInsp != null and hstInsp != ''">HST_INSP = #{hstInsp},</if>
- <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
- <if test="uptm != null">UPTM = #{uptm},</if>
- <if test="chkState != null and chkState != ''">CHK_STATE = #{chkState},</if>
- <if test="edtrPesr != null and edtrPesr != ''">EDTR_PESR = #{edtrPesr},</if>
- <if test="slpcAdmDiv != null and slpcAdmDiv != ''">SLPC_ADM_DIV = #{slpcAdmDiv},</if>
- <if test="admDivName != null and admDivName != ''">ADM_DIV_NAME = #{admDivName},</if>
- <if test="compDateStr != null and compDateStr != ''">COMP_DATE_STR = #{compDateStr},</if>
- <if test="displayLevel != null and displayLevel != ''">DISPLAY_LEVEL = #{displayLevel},</if>
- <if test="rsClass != null and rsClass != ''">RS_CLASS = #{rsClass},</if>
- <if test="impdDt != null">IMPD_DT = #{impdDt},</if>
- <if test="rnfcImpdDt != null">RNFC_IMPD_DT = #{rnfcImpdDt},</if>
- <if test="desFlStag != null and desFlStag != ''">DES_FL_STAG = #{desFlStag},</if>
- <if test="flConTopStag != null and flConTopStag != ''">FL_CON_TOP_STAG = #{flConTopStag},</if>
- <if test="wiunWaoLegPers != null and wiunWaoLegPers != ''">WIUN_WAO_LEG_PERS = #{wiunWaoLegPers},</if>
- <if test="wiunWaoLegPersUnit != null and wiunWaoLegPersUnit != ''">WIUN_WAO_LEG_PERS_UNIT = #{wiunWaoLegPersUnit},</if>
- <if test="wiunWaoLegPersDuty != null and wiunWaoLegPersDuty != ''">WIUN_WAO_LEG_PERS_DUTY = #{wiunWaoLegPersDuty},</if>
- <if test="wiunWaoLegPersTel != null and wiunWaoLegPersTel != ''">WIUN_WAO_LEG_PERS_TEL = #{wiunWaoLegPersTel},</if>
- <if test="techPers != null and techPers != ''">TECH_PERS = #{techPers},</if>
- <if test="techPersUnit != null and techPersUnit != ''">TECH_PERS_UNIT = #{techPersUnit},</if>
- <if test="techPersDuty != null and techPersDuty != ''">TECH_PERS_DUTY = #{techPersDuty},</if>
- <if test="techPersTel != null and techPersTel != ''">TECH_PERS_TEL = #{techPersTel},</if>
- <if test="patrolPers != null and patrolPers != ''">PATROL_PERS = #{patrolPers},</if>
- <if test="patrolPersUnit != null and patrolPersUnit != ''">PATROL_PERS_UNIT = #{patrolPersUnit},</if>
- <if test="patrolPersDuty != null and patrolPersDuty != ''">PATROL_PERS_DUTY = #{patrolPersDuty},</if>
- <if test="patrolPersTel != null and patrolPersTel != ''">PATROL_PERS_TEL = #{patrolPersTel},</if>
- <if test="damType != null and damType != ''">DAM_TYPE = #{damType},</if>
- </trim>
- <include refid="page_where" />
- </update>
- <!-- 其他自定义SQL -->
- </mapper>
|