| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383 |
- <?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.AttRsBaseCrrctDao">
- <resultMap type="cn.com.goldenwater.dcproj.model.AttRsBaseCrrct" id="attRsBaseResultMap">
- <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="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="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="rsLoc" column="RS_LOC"/>
- <result property="regCode" column="REG_CODE"/>
- <result property="compDate" column="COMP_DATE"/>
- <result property="centerXGd" column="CENTER_X_GD"/>
- <result property="centerYGd" column="CENTER_Y_GD"/>
- <result property="persId" column="PERS_ID"/>
- <result property="compDateStr" column="COMP_DATE_STR"/>
- <result property="repeatId" column="REPEAT_ID"/>
- <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"/>
- <result property="jxDuty" column="JX_DUTY"/>
- <result property="jxDutyPhone" column="JX_DUTY_PHONE"/>
- <result property="jxRsvrType" column="JX_RSVR_TYPE"/>
- <result property="jxRsvrStndLev" column="JX_RSVR_STND_LEV"/>
- </resultMap>
- <sql id="table_columns">
- CENTER_X_GD,CENTER_Y_GD,PERS_ID,COMP_DATE_STR,OBJ_ID,
- ENG_SCAL,
- LIM_STAG,
- TOT_CAP,
- RS_ADM_NAME,
- RS_ADM_CODE,
- RS_ADM_DEP,
- ADM_ATT_REL,
- RS_CODE,
- RS_NAME,
- LONGITUDE,
- LATITUDE,
- LOCATION,
- ADM_DIV,
- RS_TYPE,
- DAM_TYPE_MAT,
- DAM_TYPE_STR,
- DAM_SIZE_HIG,
- CENTER_X,
- CENTER_Y,RS_LOC,REG_CODE,COMP_DATE,REPEAT_ID,
- 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,
- JX_DUTY,
- JX_DUTY_PHONE,
- JX_RSVR_TYPE,
- JX_RSVR_STND_LEV
- </sql>
- <sql id="entity_properties">
- #{centerXGd},#{centerYGd},#{persId},#{compDateStr},#{objId},
- #{engScal},
- #{limStag},
- #{totCap},
- #{rsAdmName},
- #{rsAdmCode},
- #{rsAdmDep},
- #{admAttRel},
- #{rsCode},
- #{rsName},
- #{longitude},
- #{latitude},
- #{location},
- #{admDiv},
- #{rsType},
- #{damTypeMat},
- #{damTypeStr},
- #{damSizeHig},
- #{centerX},
- #{centerY},#{rsLoc},#{regCode},#{compDate},#{repeatId},
- #{rsClass},
- #{impdDt},
- #{rnfcImpdDt},
- #{desFlStag},
- #{flConTopStag},
- #{wiunWaoLegPers},
- #{wiunWaoLegPersUnit},
- #{wiunWaoLegPersDuty},
- #{wiunWaoLegPersTel},
- #{techPers},
- #{techPersUnit},
- #{techPersDuty},
- #{techPersTel},
- #{patrolPers},
- #{patrolPersUnit},
- #{patrolPersDuty},
- #{patrolPersTel},
- #{damType},
- #{jxDuty},
- #{jxDutyPhone},
- #{jxRsvrType},
- #{jxRsvrStndLev}
- </sql>
- <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
- <sql id="page_where">
- <trim prefix="where" prefixOverrides="and | or ">
- <if test="engScal != null and engScal != ''">and ENG_SCAL = #{engScal}</if>
- <if test="repeatId != null and repeatId != ''">and REPEAT_ID = #{repeatId}</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 like '%${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="rsCode != null and rsCode != ''">and RS_CODE = #{rsCode}</if>
- <if test="rsName != null and rsName != ''">and RS_NAME like '%${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="admDiv != null and admDiv != ''">and ADM_DIV like '%${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="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="compDateStr != null">and COMP_DATE_STR = #{compDateStr}</if>
- <if test="persId != null">and PERS_ID = #{persId}</if>
- <if test="objId != null and objId != ''">and OBJ_ID = #{objId}</if>
- <if test="rsClass != null">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>
- <if test="jxDuty != null and jxDuty != ''">and JX_DUTY = #{jxDuty}</if>
- <if test="jxDutyPhone != null and jxDutyPhone != ''">and JX_DUTY_PHONE = #{jxDutyPhone}</if>
- <if test="jxRsvrType != null and jxRsvrType != ''">and JX_RSVR_TYPE = #{jxRsvrType}</if>
- <if test="jxRsvrStndLev != null and jxRsvrStndLev != ''">and JX_RSVR_STND_LEV = #{jxRsvrStndLev}</if>
- </trim>
- </sql>
- <select id="get" resultMap="attRsBaseResultMap" parameterType="String" >
- select <include refid="table_columns" /> from ATT_RS_BASE_CRRCT where RS_CODE = #{rsCode} and PERS_ID =#{persId} and repeat_id is null
- </select>
- <select id="getBy" resultMap="attRsBaseResultMap">
- select <include refid="table_columns" /> from ATT_RS_BASE_CRRCT <include refid="page_where" /> and repeat_id is null
- </select>
- <select id="findAll" resultMap="attRsBaseResultMap">
- select <include refid="table_columns" /> from ATT_RS_BASE_CRRCT
- </select>
- <select id="findList" resultType="cn.com.goldenwater.dcproj.model.AttRsBase">
- select b.* from ATT_RS_BASE b
- <trim prefix="where" prefixOverrides="and | or ">
- <if test="limStag != null and limStag != ''">and b.LIM_STAG = #{limStag}</if>
- <if test="totCap != null and totCap != ''">and b.TOT_CAP = #{totCap}</if>
- <if test="rsAdmName != null and rsAdmName != ''">and b.RS_ADM_NAME like '${rsAdmName}%'</if>
- <if test="rsAdmCode != null and rsAdmCode != ''">and b.RS_ADM_CODE = #{rsAdmCode}</if>
- <if test="rsAdmDep != null and rsAdmDep != ''">and b.RS_ADM_DEP = #{rsAdmDep}</if>
- <if test="admAttRel != null and admAttRel != ''">and b.ADM_ATT_REL = #{admAttRel}</if>
- <if test="rsName != null and rsName != ''">and b.RS_NAME like '${rsName}%'</if>
- <if test="rsType != null and rsType != ''">and b.RS_TYPE in (${rsType})</if>
- <if test="engScal != null and engScal != ''">and b.ENG_SCAL in (${engScal})</if>
- <if test="rsClass != null">and b.RS_CLASS = #{rsClass}</if>
- <if test="impdDt != null">and b.IMPD_DT = #{impdDt}</if>
- <if test="rnfcImpdDt != null">and b.RNFC_IMPD_DT = #{rnfcImpdDt}</if>
- <if test="desFlStag != null and desFlStag != ''">and b.DES_FL_STAG = #{desFlStag}</if>
- <if test="flConTopStag != null and flConTopStag != ''">and b.FL_CON_TOP_STAG = #{flConTopStag}</if>
- <if test="wiunWaoLegPers != null and wiunWaoLegPers != ''">and b.WIUN_WAO_LEG_PERS = #{wiunWaoLegPers}</if>
- <if test="wiunWaoLegPersUnit != null and wiunWaoLegPersUnit != ''">and b.WIUN_WAO_LEG_PERS_UNIT = #{wiunWaoLegPersUnit}</if>
- <if test="wiunWaoLegPersDuty != null and wiunWaoLegPersDuty != ''">and b.WIUN_WAO_LEG_PERS_DUTY = #{wiunWaoLegPersDuty}</if>
- <if test="wiunWaoLegPersTel != null and wiunWaoLegPersTel != ''">and b.WIUN_WAO_LEG_PERS_TEL = #{wiunWaoLegPersTel}</if>
- <if test="techPers != null and techPers != ''">and b.TECH_PERS = #{techPers}</if>
- <if test="techPersUnit != null and techPersUnit != ''">and b.TECH_PERS_UNIT = #{techPersUnit}</if>
- <if test="techPersDuty != null and techPersDuty != ''">and b.TECH_PERS_DUTY = #{techPersDuty}</if>
- <if test="techPersTel != null and techPersTel != ''">and b.TECH_PERS_TEL = #{techPersTel}</if>
- <if test="patrolPers != null and patrolPers != ''">and b.PATROL_PERS = #{patrolPers}</if>
- <if test="patrolPersUnit != null and patrolPersUnit != ''">and b.PATROL_PERS_UNIT = #{patrolPersUnit}</if>
- <if test="patrolPersDuty != null and patrolPersDuty != ''">and b.PATROL_PERS_DUTY = #{patrolPersDuty}</if>
- <if test="patrolPersTel != null and patrolPersTel != ''">and b.PATROL_PERS_TEL = #{patrolPersTel}</if>
- <if test="damType != null and damType != ''">and b.DAM_TYPE = #{damType}</if>
- </trim>
- </select>
- <select id="selectCount" resultType="int" >
- select count(rs_code) from ATT_RS_BASE_CRRCT <include refid="page_where" />
- </select>
- <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.AttRsBase">
- insert into ATT_RS_BASE_CRRCT( <include refid="table_columns" /> )
- values ( <include refid="entity_properties" /> )
- </insert>
- <delete id="delete" parameterType="java.lang.String">
- delete from ATT_RS_BASE_CRRCT where RS_CODE = #{id}
- </delete>
- <select id="findMax" parameterType="String" resultType="String">
- select max(rs_code) from ATT_RS_BASE_CRRCT where location like '${location}%'
- </select>
- <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.param.AttRsBaseCrrctParam">
- delete from ATT_RS_BASE_CRRCT <include refid="page_where" />
- </delete>
- <update id="deleteInFlag" parameterType="java.lang.String">
- update ATT_RS_BASE_CRRCT set flag_valid = 0 where RS_CODE = #{id}
- </update>
- <update id="update" parameterType="cn.com.goldenwater.dcproj.model.AttRsBase">
- update ATT_RS_BASE_CRRCT
- <trim prefix="set" suffixOverrides=",">
- <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="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="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="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="engScal != null and engScal != ''"> ENG_SCAL =#{engScal},</if>
- <if test="compDateStr != null"> COMP_DATE_STR = #{compDateStr},</if>
- <if test="rsClass != null">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>
- <if test="jxDuty != null and jxDuty != ''">JX_DUTY = #{jxDuty},</if>
- <if test="jxDutyPhone != null and jxDutyPhone != ''">JX_DUTY_PHONE = #{jxDutyPhone},</if>
- <if test="jxRsvrType != null and jxRsvrType != ''">JX_RSVR_TYPE = #{jxRsvrType},</if>
- <if test="jxRsvrStndLev != null and jxRsvrStndLev != ''">JX_RSVR_STND_LEV = #{jxRsvrStndLev},</if>
- </trim>
- <where>RS_CODE = #{rsCode} and PERS_ID = #{persId}</where>
- </update>
- <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.AttRsBase">
- update ATT_RS_BASE_CRRCT
- <trim prefix="set" suffixOverrides=",">
- <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="rsCode != null and rsCode != ''">RS_CODE = #{rsCode},</if>
- <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="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="rsLoc != null and rsLoc != ''"> RS_LOC = #{rsLoc},</if>
- <if test="regCode != null and regCode != ''"> REG_CODE = #{regCode},</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="compDate != null"> COMP_DATE = #{compDate},</if>
- <if test="engScal != null and engScal != ''"> ENG_SCAL =#{engScal},</if>
- <if test="compDateStr != null"> COMP_DATE_STR = #{compDateStr},</if>
- <if test="rsClass != null">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>
- <if test="jxDuty != null and jxDuty != ''">JX_DUTY = #{jxDuty},</if>
- <if test="jxDutyPhone != null and jxDutyPhone != ''">JX_DUTY_PHONE = #{jxDutyPhone},</if>
- <if test="jxRsvrType != null and jxRsvrType != ''">JX_RSVR_TYPE = #{jxRsvrType},</if>
- <if test="jxRsvrStndLev != null and jxRsvrStndLev != ''">JX_RSVR_STND_LEV = #{jxRsvrStndLev},</if>
- </trim>
- <include refid="page_where" />
- </update>
- </mapper>
|