| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469 |
- <?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.AttWintBaseDao">
- <resultMap type="cn.com.goldenwater.dcproj.model.AttWintBase" id="attWintBaseResultMap">
- <result property="dclljts" column="DCLLJTS" />
- <result property="sbts" column="SBTS" />
- <result property="qtts" column="QTTS" />
- <result property="jlsssfdqjdjz" column="JLSSSFDQJDJZ" />
- <result property="zjycjdjzsj" column="ZJYCJDJZSJ" />
- <result property="qsl2016" column="QSL2016" />
- <result property="qsl2017" column="QSL2017" />
- <result property="qsl2018" column="QSL2018" />
- <result property="qsl2019" column="QSL2019" />
- <result property="jlssazwzms" column="JLSSAZWZMS" />
- <result property="jcxm" column="JCXM" />
- <result property="jcssglhzywdw" column="JCSSGLHZYWDW" />
- <result property="jcxxsfjrcjw" column="JCXXSFJRCJW" />
- <result property="qsjlssazqk" column="QSJLSSAZQK" />
- <result property="csblljts" column="CSBLLJTS" />
- <result property="id" column="ID" />
- <result property="wintCode" column="WINT_CODE" />
- <result property="wintName" column="WINT_NAME" />
- <result property="adCode" column="AD_CODE" />
- <result property="adName" column="AD_NAME" />
- <result property="wintPos" column="WINT_POS" />
- <result property="wainLong" column="WAIN_LONG" />
- <result property="wainLat" column="WAIN_LAT" />
- <result property="locWrz1rdName" column="LOC_WRZ1RD_NAME" />
- <result property="locWrz2rdName" column="LOC_WRZ2RD_NAME" />
- <result property="locWrz3rdName" column="LOC_WRZ3RD_NAME" />
- <result property="wainType" column="WAIN_TYPE" />
- <result property="charDepNm" column="CHAR_DEP_NM" />
- <result property="charDepPers" column="CHAR_DEP_PERS" />
- <result property="charDepTel" column="CHAR_DEP_TEL" />
- <result property="wainIntName" column="WAIN_INT_NAME" />
- <result property="wainIntType" column="WAIN_INT_TYPE" />
- <result property="wainWasoType" column="WAIN_WASO_TYPE" />
- <result property="wainWasoName" column="WAIN_WASO_NAME" />
- <result property="desQ" column="DES_Q" />
- <result property="desDayQ" column="DES_DAY_Q" />
- <result property="desYearQ" column="DES_YEAR_Q" />
- <result property="inTm" column="IN_TM" />
- <result property="upTm" column="UP_TM" />
- <result property="cwId" column="CW_ID" />
- <result property="ssxtdm" column="SSXTDM" />
- <result property="ssgcdm" column="SSGCDM" />
- <result property="ssxmid" column="SSXMID" />
- <result property="szyfqdm" column="SZYFQDM" />
- <result property="sslydm" column="SSLYDM" />
- <result property="jsyxzt" column="JSYXZT" />
- <result property="sfazjcjlss" column="SFAZJCJLSS" />
- <result property="jcjlsslx" column="JCJLSSLX" />
- <result property="jcjlsssfzcyx" column="JCJLSSSFZCYX" />
- <result property="sfsxzxjc" column="SFSXZXJC" />
- <result property="sfdqjdhjz" column="SFDQJDHJZ" />
- <result property="sfdkdj" column="SFDKDJ" />
- <result property="qsksl" column="QSKSL" />
- <result property="sfbjsc" column="SFBJSC" />
- <result property="qskjbxxbz" column="QSKJBXXBZ" />
- <result property="jcjlbz" column="JCJLBZ" />
- <result property="column1" column="COLUMN1" />
- <result property="column2" column="COLUMN2" />
- <result property="column3" column="COLUMN3" />
- <result property="column4" column="COLUMN4" />
- <result property="column5" column="COLUMN5" />
- <result property="wiuName" column="WIU_NAME" />
- <result property="wiuContact" column="WIU_CONTACT" />
- <result property="wiuContactTel" column="WIU_CONTACT_TEL" />
- <result property="wiuPrincipal" column="WIU_PRINCIPAL" />
- <result property="wiuPrincipalTel" column="WIU_PRINCIPAL_TEL" />
- </resultMap>
- <sql id="table_columns">
- DCLLJTS,
- SBTS,
- QTTS,
- JLSSSFDQJDJZ,
- ZJYCJDJZSJ,
- QSL2016,
- QSL2017,
- QSL2018,
- QSL2019,
- JLSSAZWZMS,
- JCXM,
- JCSSGLHZYWDW,
- JCXXSFJRCJW,
- QSJLSSAZQK,
- CSBLLJTS,
- ID,
- WINT_CODE,
- WINT_NAME,
- AD_CODE,
- AD_NAME,
- WINT_POS,
- WAIN_LONG,
- WAIN_LAT,
- LOC_WRZ1RD_NAME,
- LOC_WRZ2RD_NAME,
- LOC_WRZ3RD_NAME,
- WAIN_TYPE,
- CHAR_DEP_NM,
- CHAR_DEP_PERS,
- CHAR_DEP_TEL,
- WAIN_INT_NAME,
- WAIN_INT_TYPE,
- WAIN_WASO_TYPE,
- WAIN_WASO_NAME,
- DES_Q,
- DES_DAY_Q,
- DES_YEAR_Q,
- IN_TM,
- UP_TM,
- CW_ID,
- SSXTDM,
- SSGCDM,
- SSXMID,
- SZYFQDM,
- SSLYDM,
- JSYXZT,
- SFAZJCJLSS,
- JCJLSSLX,
- JCJLSSSFZCYX,
- SFSXZXJC,
- SFDQJDHJZ,
- SFDKDJ,
- QSKSL,
- SFBJSC,
- QSKJBXXBZ,
- JCJLBZ,
- COLUMN1,
- COLUMN2,
- COLUMN3,
- COLUMN4,
- COLUMN5,
- WIU_NAME,
- WIU_CONTACT,
- WIU_CONTACT_TEL,
- WIU_PRINCIPAL,
- WIU_PRINCIPAL_TEL
- </sql>
- <sql id="entity_properties">
- #{dclljts},
- #{sbts},
- #{qtts},
- #{jlsssfdqjdjz},
- #{zjycjdjzsj},
- #{qsl2016},
- #{qsl2017},
- #{qsl2018},
- #{qsl2019},
- #{jlssazwzms},
- #{jcxm},
- #{jcssglhzywdw},
- #{jcxxsfjrcjw},
- #{qsjlssazqk},
- #{csblljts},
- #{id},
- #{wintCode},
- #{wintName},
- #{adCode},
- #{adName},
- #{wintPos},
- #{wainLong},
- #{wainLat},
- #{locWrz1rdName},
- #{locWrz2rdName},
- #{locWrz3rdName},
- #{wainType},
- #{charDepNm},
- #{charDepPers},
- #{charDepTel},
- #{wainIntName},
- #{wainIntType},
- #{wainWasoType},
- #{wainWasoName},
- #{desQ},
- #{desDayQ},
- #{desYearQ},
- #{inTm},
- #{upTm},
- #{cwId},
- #{ssxtdm},
- #{ssgcdm},
- #{ssxmid},
- #{szyfqdm},
- #{sslydm},
- #{jsyxzt},
- #{sfazjcjlss},
- #{jcjlsslx},
- #{jcjlsssfzcyx},
- #{sfsxzxjc},
- #{sfdqjdhjz},
- #{sfdkdj},
- #{qsksl},
- #{sfbjsc},
- #{qskjbxxbz},
- #{jcjlbz},
- #{column1},
- #{column2},
- #{column3},
- #{column4},
- #{column5},
- #{wiuName},
- #{wiuContact},
- #{wiuContactTel},
- #{wiuPrincipal},
- #{wiuPrincipalTel}
- </sql>
- <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
- <sql id="page_where">
- <trim prefix="where" prefixOverrides="and | or ">
- <if test="sbts != null and sbts != ''">and SBTS = #{sbts}</if>
- <if test="qtts != null and qtts != ''">and QTTS = #{qtts}</if>
- <if test="jlsssfdqjdjz != null and jlsssfdqjdjz != ''">and JLSSSFDQJDJZ = #{jlsssfdqjdjz}</if>
- <if test="zjycjdjzsj != null and zjycjdjzsj != ''">and ZJYCJDJZSJ = #{zjycjdjzsj}</if>
- <if test="qsl2016 != null and qsl2016 != ''">and QSL2016 = #{qsl2016}</if>
- <if test="qsl2017 != null and qsl2017 != ''">and QSL2017 = #{qsl2017}</if>
- <if test="qsl2018 != null and qsl2018 != ''">and QSL2018 = #{qsl2018}</if>
- <if test="qsl2019 != null and qsl2019 != ''">and QSL2019 = #{qsl2019}</if>
- <if test="jlssazwzms != null and jlssazwzms != ''">and JLSSAZWZMS = #{jlssazwzms}</if>
- <if test="jcxm != null and jcxm != ''">and JCXM = #{jcxm}</if>
- <if test="jcssglhzywdw != null and jcssglhzywdw != ''">and JCSSGLHZYWDW = #{jcssglhzywdw}</if>
- <if test="jcxxsfjrcjw != null and jcxxsfjrcjw != ''">and JCXXSFJRCJW = #{jcxxsfjrcjw}</if>
- <if test="qsjlssazqk != null and qsjlssazqk != ''">and QSJLSSAZQK = #{qsjlssazqk}</if>
- <if test="csblljts != null and csblljts != ''">and CSBLLJTS = #{csblljts}</if>
- <if test="id != null and id != ''">and ID = #{id}</if>
- <if test="wintCode != null and wintCode != ''">and WINT_CODE = #{wintCode}</if>
- <if test="wintName != null and wintName != ''">and WINT_NAME = #{wintName}</if>
- <if test="adCode != null and adCode != ''">and AD_CODE = #{adCode}</if>
- <if test="adName != null and adName != ''">and AD_NAME = #{adName}</if>
- <if test="wintPos != null and wintPos != ''">and WINT_POS = #{wintPos}</if>
- <if test="wainLong != null and wainLong != ''">and WAIN_LONG = #{wainLong}</if>
- <if test="wainLat != null and wainLat != ''">and WAIN_LAT = #{wainLat}</if>
- <if test="locWrz1rdName != null and locWrz1rdName != ''">and LOC_WRZ1RD_NAME = #{locWrz1rdName}</if>
- <if test="locWrz2rdName != null and locWrz2rdName != ''">and LOC_WRZ2RD_NAME = #{locWrz2rdName}</if>
- <if test="locWrz3rdName != null and locWrz3rdName != ''">and LOC_WRZ3RD_NAME = #{locWrz3rdName}</if>
- <if test="wainType != null and wainType != ''">and WAIN_TYPE = #{wainType}</if>
- <if test="charDepNm != null and charDepNm != ''">and CHAR_DEP_NM = #{charDepNm}</if>
- <if test="charDepPers != null and charDepPers != ''">and CHAR_DEP_PERS = #{charDepPers}</if>
- <if test="charDepTel != null and charDepTel != ''">and CHAR_DEP_TEL = #{charDepTel}</if>
- <if test="wainIntName != null and wainIntName != ''">and WAIN_INT_NAME = #{wainIntName}</if>
- <if test="wainIntType != null and wainIntType != ''">and WAIN_INT_TYPE = #{wainIntType}</if>
- <if test="wainWasoType != null and wainWasoType != ''">and WAIN_WASO_TYPE = #{wainWasoType}</if>
- <if test="wainWasoName != null and wainWasoName != ''">and WAIN_WASO_NAME = #{wainWasoName}</if>
- <if test="desQ != null and desQ != ''">and DES_Q = #{desQ}</if>
- <if test="desDayQ != null and desDayQ != ''">and DES_DAY_Q = #{desDayQ}</if>
- <if test="desYearQ != null and desYearQ != ''">and DES_YEAR_Q = #{desYearQ}</if>
- <if test="inTm != null">and IN_TM = #{inTm}</if>
- <if test="upTm != null">and UP_TM = #{upTm}</if>
- <if test="cwId != null and cwId != ''">and CW_ID = #{cwId}</if>
- <if test="ssxtdm != null and ssxtdm != ''">and SSXTDM = #{ssxtdm}</if>
- <if test="ssgcdm != null and ssgcdm != ''">and SSGCDM = #{ssgcdm}</if>
- <if test="ssxmid != null and ssxmid != ''">and SSXMID = #{ssxmid}</if>
- <if test="szyfqdm != null and szyfqdm != ''">and SZYFQDM = #{szyfqdm}</if>
- <if test="sslydm != null and sslydm != ''">and SSLYDM = #{sslydm}</if>
- <if test="jsyxzt != null and jsyxzt != ''">and JSYXZT = #{jsyxzt}</if>
- <if test="sfazjcjlss != null and sfazjcjlss != ''">and SFAZJCJLSS = #{sfazjcjlss}</if>
- <if test="jcjlsslx != null and jcjlsslx != ''">and JCJLSSLX = #{jcjlsslx}</if>
- <if test="jcjlsssfzcyx != null and jcjlsssfzcyx != ''">and JCJLSSSFZCYX = #{jcjlsssfzcyx}</if>
- <if test="sfsxzxjc != null and sfsxzxjc != ''">and SFSXZXJC = #{sfsxzxjc}</if>
- <if test="sfdqjdhjz != null and sfdqjdhjz != ''">and SFDQJDHJZ = #{sfdqjdhjz}</if>
- <if test="sfdkdj != null and sfdkdj != ''">and SFDKDJ = #{sfdkdj}</if>
- <if test="qsksl != null and qsksl != ''">and QSKSL = #{qsksl}</if>
- <if test="sfbjsc != null and sfbjsc != ''">and SFBJSC = #{sfbjsc}</if>
- <if test="qskjbxxbz != null and qskjbxxbz != ''">and QSKJBXXBZ = #{qskjbxxbz}</if>
- <if test="jcjlbz != null and jcjlbz != ''">and JCJLBZ = #{jcjlbz}</if>
- <if test="column1 != null and column1 != ''">and COLUMN1 = #{column1}</if>
- <if test="column2 != null and column2 != ''">and COLUMN2 = #{column2}</if>
- <if test="column3 != null and column3 != ''">and COLUMN3 = #{column3}</if>
- <if test="column4 != null and column4 != ''">and COLUMN4 = #{column4}</if>
- <if test="column5 != null and column5 != ''">and COLUMN5 = #{column5}</if>
- <if test="wiuName != null and wiuName != ''">and WIU_NAME = #{wiuName}</if>
- <if test="wiuContact != null and wiuContact != ''">and WIU_CONTACT = #{wiuContact}</if>
- <if test="wiuContactTel != null and wiuContactTel != ''">and WIU_CONTACT_TEL = #{wiuContactTel}</if>
- <if test="wiuPrincipal != null and wiuPrincipal != ''">and WIU_PRINCIPAL = #{wiuPrincipal}</if>
- <if test="wiuPrincipalTel != null and wiuPrincipalTel != ''">and WIU_PRINCIPAL_TEL = #{wiuPrincipalTel}</if>
- </trim>
- </sql>
- <select id="get" resultMap="attWintBaseResultMap" parameterType="String" >
- select <include refid="table_columns" /> from ATT_WINT_BASE where ID = #{id}
- </select>
- <select id="getBy" resultMap="attWintBaseResultMap">
- select <include refid="table_columns" /> from ATT_WINT_BASE <include refid="page_where" />
- </select>
- <select id="findAll" resultMap="attWintBaseResultMap">
- select <include refid="table_columns" /> from ATT_WINT_BASE
- </select>
- <select id="findList" resultMap="attWintBaseResultMap">
- select <include refid="table_columns" /> from ATT_WINT_BASE <include refid="page_where" />
- </select>
- <select id="selectCount" resultType="int" >
- select count(ID) from ATT_WINT_BASE <include refid="page_where" />
- </select>
- <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.AttWintBase">
- insert into ATT_WINT_BASE( <include refid="table_columns" /> )
- values ( <include refid="entity_properties" /> )
- </insert>
- <delete id="delete" parameterType="java.lang.String">
- delete from ATT_WINT_BASE where ID = #{id}
- </delete>
- <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.AttWintBase">
- delete from ATT_WINT_BASE <include refid="page_where" />
- </delete>
- <update id="deleteInFlag" parameterType="java.lang.String">
- update ATT_WINT_BASE set flag_valid = 0 where>ID = #{id}
- </update>
- <update id="update" parameterType="cn.com.goldenwater.dcproj.model.AttWintBase">
- update ATT_WINT_BASE
- <trim prefix="set" suffixOverrides=",">
- <if test="sbts != null and sbts != ''">SBTS = #{sbts},</if>
- <if test="qtts != null and qtts != ''">QTTS = #{qtts},</if>
- <if test="jlsssfdqjdjz != null and jlsssfdqjdjz != ''">JLSSSFDQJDJZ = #{jlsssfdqjdjz},</if>
- <if test="zjycjdjzsj != null and zjycjdjzsj != ''">ZJYCJDJZSJ = #{zjycjdjzsj},</if>
- <if test="qsl2016 != null and qsl2016 != ''">QSL2016 = #{qsl2016},</if>
- <if test="qsl2017 != null and qsl2017 != ''">QSL2017 = #{qsl2017},</if>
- <if test="qsl2018 != null and qsl2018 != ''">QSL2018 = #{qsl2018},</if>
- <if test="qsl2019 != null and qsl2019 != ''">QSL2019 = #{qsl2019},</if>
- <if test="jlssazwzms != null and jlssazwzms != ''">JLSSAZWZMS = #{jlssazwzms},</if>
- <if test="jcxm != null and jcxm != ''">JCXM = #{jcxm},</if>
- <if test="jcssglhzywdw != null and jcssglhzywdw != ''">JCSSGLHZYWDW = #{jcssglhzywdw},</if>
- <if test="jcxxsfjrcjw != null and jcxxsfjrcjw != ''">JCXXSFJRCJW = #{jcxxsfjrcjw},</if>
- <if test="qsjlssazqk != null and qsjlssazqk != ''">QSJLSSAZQK = #{qsjlssazqk},</if>
- <if test="csblljts != null and csblljts != ''">CSBLLJTS = #{csblljts},</if>
- <if test="id != null and id != ''">ID = #{id},</if>
- <if test="wintCode != null and wintCode != ''">WINT_CODE = #{wintCode},</if>
- <if test="wintName != null and wintName != ''">WINT_NAME = #{wintName},</if>
- <if test="adCode != null and adCode != ''">AD_CODE = #{adCode},</if>
- <if test="adName != null and adName != ''">AD_NAME = #{adName},</if>
- <if test="wintPos != null and wintPos != ''">WINT_POS = #{wintPos},</if>
- <if test="wainLong != null and wainLong != ''">WAIN_LONG = #{wainLong},</if>
- <if test="wainLat != null and wainLat != ''">WAIN_LAT = #{wainLat},</if>
- <if test="locWrz1rdName != null and locWrz1rdName != ''">LOC_WRZ1RD_NAME = #{locWrz1rdName},</if>
- <if test="locWrz2rdName != null and locWrz2rdName != ''">LOC_WRZ2RD_NAME = #{locWrz2rdName},</if>
- <if test="locWrz3rdName != null and locWrz3rdName != ''">LOC_WRZ3RD_NAME = #{locWrz3rdName},</if>
- <if test="wainType != null and wainType != ''">WAIN_TYPE = #{wainType},</if>
- <if test="charDepNm != null and charDepNm != ''">CHAR_DEP_NM = #{charDepNm},</if>
- <if test="charDepPers != null and charDepPers != ''">CHAR_DEP_PERS = #{charDepPers},</if>
- <if test="charDepTel != null and charDepTel != ''">CHAR_DEP_TEL = #{charDepTel},</if>
- <if test="wainIntName != null and wainIntName != ''">WAIN_INT_NAME = #{wainIntName},</if>
- <if test="wainIntType != null and wainIntType != ''">WAIN_INT_TYPE = #{wainIntType},</if>
- <if test="wainWasoType != null and wainWasoType != ''">WAIN_WASO_TYPE = #{wainWasoType},</if>
- <if test="wainWasoName != null and wainWasoName != ''">WAIN_WASO_NAME = #{wainWasoName},</if>
- <if test="desQ != null and desQ != ''">DES_Q = #{desQ},</if>
- <if test="desDayQ != null and desDayQ != ''">DES_DAY_Q = #{desDayQ},</if>
- <if test="desYearQ != null and desYearQ != ''">DES_YEAR_Q = #{desYearQ},</if>
- <if test="inTm != null">IN_TM = #{inTm},</if>
- <if test="upTm != null">UP_TM = #{upTm},</if>
- <if test="cwId != null and cwId != ''">CW_ID = #{cwId},</if>
- <if test="ssxtdm != null and ssxtdm != ''">SSXTDM = #{ssxtdm},</if>
- <if test="ssgcdm != null and ssgcdm != ''">SSGCDM = #{ssgcdm},</if>
- <if test="ssxmid != null and ssxmid != ''">SSXMID = #{ssxmid},</if>
- <if test="szyfqdm != null and szyfqdm != ''">SZYFQDM = #{szyfqdm},</if>
- <if test="sslydm != null and sslydm != ''">SSLYDM = #{sslydm},</if>
- <if test="jsyxzt != null and jsyxzt != ''">JSYXZT = #{jsyxzt},</if>
- <if test="sfazjcjlss != null and sfazjcjlss != ''">SFAZJCJLSS = #{sfazjcjlss},</if>
- <if test="jcjlsslx != null and jcjlsslx != ''">JCJLSSLX = #{jcjlsslx},</if>
- <if test="jcjlsssfzcyx != null and jcjlsssfzcyx != ''">JCJLSSSFZCYX = #{jcjlsssfzcyx},</if>
- <if test="sfsxzxjc != null and sfsxzxjc != ''">SFSXZXJC = #{sfsxzxjc},</if>
- <if test="sfdqjdhjz != null and sfdqjdhjz != ''">SFDQJDHJZ = #{sfdqjdhjz},</if>
- <if test="sfdkdj != null and sfdkdj != ''">SFDKDJ = #{sfdkdj},</if>
- <if test="qsksl != null and qsksl != ''">QSKSL = #{qsksl},</if>
- <if test="sfbjsc != null and sfbjsc != ''">SFBJSC = #{sfbjsc},</if>
- <if test="qskjbxxbz != null and qskjbxxbz != ''">QSKJBXXBZ = #{qskjbxxbz},</if>
- <if test="jcjlbz != null and jcjlbz != ''">JCJLBZ = #{jcjlbz},</if>
- <if test="column1 != null and column1 != ''">COLUMN1 = #{column1},</if>
- <if test="column2 != null and column2 != ''">COLUMN2 = #{column2},</if>
- <if test="column3 != null and column3 != ''">COLUMN3 = #{column3},</if>
- <if test="column4 != null and column4 != ''">COLUMN4 = #{column4},</if>
- <if test="column5 != null and column5 != ''">COLUMN5 = #{column5},</if>
- <if test="wiuName != null and wiuName != ''"> WIU_NAME = #{wiuName},</if>
- <if test="wiuContact != null and wiuContact != ''"> WIU_CONTACT = #{wiuContact},</if>
- <if test="wiuContactTel != null and wiuContactTel != ''"> WIU_CONTACT_TEL = #{wiuContactTel}</if>
- <if test="wiuPrincipal != null and wiuPrincipal != ''"> WIU_PRINCIPAL = #{wiuPrincipal},</if>
- <if test="wiuPrincipalTel != null and wiuPrincipalTel != ''"> WIU_PRINCIPAL_TEL = #{wiuPrincipalTel},</if>
- </trim>
- <where>ID = #{id}</where>
- </update>
- <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.AttWintBase">
- update ATT_WINT_BASE
- <trim prefix="set" suffixOverrides=",">
- <if test="sbts != null and sbts != ''">SBTS = #{sbts},</if>
- <if test="qtts != null and qtts != ''">QTTS = #{qtts},</if>
- <if test="jlsssfdqjdjz != null and jlsssfdqjdjz != ''">JLSSSFDQJDJZ = #{jlsssfdqjdjz},</if>
- <if test="zjycjdjzsj != null and zjycjdjzsj != ''">ZJYCJDJZSJ = #{zjycjdjzsj},</if>
- <if test="qsl2016 != null and qsl2016 != ''">QSL2016 = #{qsl2016},</if>
- <if test="qsl2017 != null and qsl2017 != ''">QSL2017 = #{qsl2017},</if>
- <if test="qsl2018 != null and qsl2018 != ''">QSL2018 = #{qsl2018},</if>
- <if test="qsl2019 != null and qsl2019 != ''">QSL2019 = #{qsl2019},</if>
- <if test="jlssazwzms != null and jlssazwzms != ''">JLSSAZWZMS = #{jlssazwzms},</if>
- <if test="jcxm != null and jcxm != ''">JCXM = #{jcxm},</if>
- <if test="jcssglhzywdw != null and jcssglhzywdw != ''">JCSSGLHZYWDW = #{jcssglhzywdw},</if>
- <if test="jcxxsfjrcjw != null and jcxxsfjrcjw != ''">JCXXSFJRCJW = #{jcxxsfjrcjw},</if>
- <if test="qsjlssazqk != null and qsjlssazqk != ''">QSJLSSAZQK = #{qsjlssazqk},</if>
- <if test="csblljts != null and csblljts != ''">CSBLLJTS = #{csblljts},</if>
- <if test="id != null and id != ''">ID = #{id},</if>
- <if test="wintCode != null and wintCode != ''">WINT_CODE = #{wintCode},</if>
- <if test="wintName != null and wintName != ''">WINT_NAME = #{wintName},</if>
- <if test="adCode != null and adCode != ''">AD_CODE = #{adCode},</if>
- <if test="adName != null and adName != ''">AD_NAME = #{adName},</if>
- <if test="wintPos != null and wintPos != ''">WINT_POS = #{wintPos},</if>
- <if test="wainLong != null and wainLong != ''">WAIN_LONG = #{wainLong},</if>
- <if test="wainLat != null and wainLat != ''">WAIN_LAT = #{wainLat},</if>
- <if test="locWrz1rdName != null and locWrz1rdName != ''">LOC_WRZ1RD_NAME = #{locWrz1rdName},</if>
- <if test="locWrz2rdName != null and locWrz2rdName != ''">LOC_WRZ2RD_NAME = #{locWrz2rdName},</if>
- <if test="locWrz3rdName != null and locWrz3rdName != ''">LOC_WRZ3RD_NAME = #{locWrz3rdName},</if>
- <if test="wainType != null and wainType != ''">WAIN_TYPE = #{wainType},</if>
- <if test="charDepNm != null and charDepNm != ''">CHAR_DEP_NM = #{charDepNm},</if>
- <if test="charDepPers != null and charDepPers != ''">CHAR_DEP_PERS = #{charDepPers},</if>
- <if test="charDepTel != null and charDepTel != ''">CHAR_DEP_TEL = #{charDepTel},</if>
- <if test="wainIntName != null and wainIntName != ''">WAIN_INT_NAME = #{wainIntName},</if>
- <if test="wainIntType != null and wainIntType != ''">WAIN_INT_TYPE = #{wainIntType},</if>
- <if test="wainWasoType != null and wainWasoType != ''">WAIN_WASO_TYPE = #{wainWasoType},</if>
- <if test="wainWasoName != null and wainWasoName != ''">WAIN_WASO_NAME = #{wainWasoName},</if>
- <if test="desQ != null and desQ != ''">DES_Q = #{desQ},</if>
- <if test="desDayQ != null and desDayQ != ''">DES_DAY_Q = #{desDayQ},</if>
- <if test="desYearQ != null and desYearQ != ''">DES_YEAR_Q = #{desYearQ},</if>
- <if test="inTm != null">IN_TM = #{inTm},</if>
- <if test="upTm != null">UP_TM = #{upTm},</if>
- <if test="cwId != null and cwId != ''">CW_ID = #{cwId},</if>
- <if test="ssxtdm != null and ssxtdm != ''">SSXTDM = #{ssxtdm},</if>
- <if test="ssgcdm != null and ssgcdm != ''">SSGCDM = #{ssgcdm},</if>
- <if test="ssxmid != null and ssxmid != ''">SSXMID = #{ssxmid},</if>
- <if test="szyfqdm != null and szyfqdm != ''">SZYFQDM = #{szyfqdm},</if>
- <if test="sslydm != null and sslydm != ''">SSLYDM = #{sslydm},</if>
- <if test="jsyxzt != null and jsyxzt != ''">JSYXZT = #{jsyxzt},</if>
- <if test="sfazjcjlss != null and sfazjcjlss != ''">SFAZJCJLSS = #{sfazjcjlss},</if>
- <if test="jcjlsslx != null and jcjlsslx != ''">JCJLSSLX = #{jcjlsslx},</if>
- <if test="jcjlsssfzcyx != null and jcjlsssfzcyx != ''">JCJLSSSFZCYX = #{jcjlsssfzcyx},</if>
- <if test="sfsxzxjc != null and sfsxzxjc != ''">SFSXZXJC = #{sfsxzxjc},</if>
- <if test="sfdqjdhjz != null and sfdqjdhjz != ''">SFDQJDHJZ = #{sfdqjdhjz},</if>
- <if test="sfdkdj != null and sfdkdj != ''">SFDKDJ = #{sfdkdj},</if>
- <if test="qsksl != null and qsksl != ''">QSKSL = #{qsksl},</if>
- <if test="sfbjsc != null and sfbjsc != ''">SFBJSC = #{sfbjsc},</if>
- <if test="qskjbxxbz != null and qskjbxxbz != ''">QSKJBXXBZ = #{qskjbxxbz},</if>
- <if test="jcjlbz != null and jcjlbz != ''">JCJLBZ = #{jcjlbz},</if>
- <if test="column1 != null and column1 != ''">COLUMN1 = #{column1},</if>
- <if test="column2 != null and column2 != ''">COLUMN2 = #{column2},</if>
- <if test="column3 != null and column3 != ''">COLUMN3 = #{column3},</if>
- <if test="column4 != null and column4 != ''">COLUMN4 = #{column4},</if>
- <if test="column5 != null and column5 != ''">COLUMN5 = #{column5},</if>
- <if test="wiuName != null and wiuName != ''"> WIU_NAME = #{wiuName},</if>
- <if test="wiuContact != null and wiuContact != ''"> WIU_CONTACT = #{wiuContact},</if>
- <if test="wiuContactTel != null and wiuContactTel != ''"> WIU_CONTACT_TEL = #{wiuContactTel}</if>
- <if test="wiuPrincipal != null and wiuPrincipal != ''"> WIU_PRINCIPAL = #{wiuPrincipal},</if>
- <if test="wiuPrincipalTel != null and wiuPrincipalTel != ''"> WIU_PRINCIPAL_TEL = #{wiuPrincipalTel},</if>
- </trim>
- <include refid="page_where" />
- </update>
- <!-- 其他自定义SQL -->
- </mapper>
|