AttWintBaseDao.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="cn.com.goldenwater.dcproj.dao.AttWintBaseDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.AttWintBase" id="attWintBaseResultMap">
  5. <result property="dclljts" column="DCLLJTS" />
  6. <result property="sbts" column="SBTS" />
  7. <result property="qtts" column="QTTS" />
  8. <result property="jlsssfdqjdjz" column="JLSSSFDQJDJZ" />
  9. <result property="zjycjdjzsj" column="ZJYCJDJZSJ" />
  10. <result property="qsl2016" column="QSL2016" />
  11. <result property="qsl2017" column="QSL2017" />
  12. <result property="qsl2018" column="QSL2018" />
  13. <result property="qsl2019" column="QSL2019" />
  14. <result property="jlssazwzms" column="JLSSAZWZMS" />
  15. <result property="jcxm" column="JCXM" />
  16. <result property="jcssglhzywdw" column="JCSSGLHZYWDW" />
  17. <result property="jcxxsfjrcjw" column="JCXXSFJRCJW" />
  18. <result property="qsjlssazqk" column="QSJLSSAZQK" />
  19. <result property="csblljts" column="CSBLLJTS" />
  20. <result property="id" column="ID" />
  21. <result property="wintCode" column="WINT_CODE" />
  22. <result property="wintName" column="WINT_NAME" />
  23. <result property="adCode" column="AD_CODE" />
  24. <result property="adName" column="AD_NAME" />
  25. <result property="wintPos" column="WINT_POS" />
  26. <result property="wainLong" column="WAIN_LONG" />
  27. <result property="wainLat" column="WAIN_LAT" />
  28. <result property="locWrz1rdName" column="LOC_WRZ1RD_NAME" />
  29. <result property="locWrz2rdName" column="LOC_WRZ2RD_NAME" />
  30. <result property="locWrz3rdName" column="LOC_WRZ3RD_NAME" />
  31. <result property="wainType" column="WAIN_TYPE" />
  32. <result property="charDepNm" column="CHAR_DEP_NM" />
  33. <result property="charDepPers" column="CHAR_DEP_PERS" />
  34. <result property="charDepTel" column="CHAR_DEP_TEL" />
  35. <result property="wainIntName" column="WAIN_INT_NAME" />
  36. <result property="wainIntType" column="WAIN_INT_TYPE" />
  37. <result property="wainWasoType" column="WAIN_WASO_TYPE" />
  38. <result property="wainWasoName" column="WAIN_WASO_NAME" />
  39. <result property="desQ" column="DES_Q" />
  40. <result property="desDayQ" column="DES_DAY_Q" />
  41. <result property="desYearQ" column="DES_YEAR_Q" />
  42. <result property="inTm" column="IN_TM" />
  43. <result property="upTm" column="UP_TM" />
  44. <result property="cwId" column="CW_ID" />
  45. <result property="ssxtdm" column="SSXTDM" />
  46. <result property="ssgcdm" column="SSGCDM" />
  47. <result property="ssxmid" column="SSXMID" />
  48. <result property="szyfqdm" column="SZYFQDM" />
  49. <result property="sslydm" column="SSLYDM" />
  50. <result property="jsyxzt" column="JSYXZT" />
  51. <result property="sfazjcjlss" column="SFAZJCJLSS" />
  52. <result property="jcjlsslx" column="JCJLSSLX" />
  53. <result property="jcjlsssfzcyx" column="JCJLSSSFZCYX" />
  54. <result property="sfsxzxjc" column="SFSXZXJC" />
  55. <result property="sfdqjdhjz" column="SFDQJDHJZ" />
  56. <result property="sfdkdj" column="SFDKDJ" />
  57. <result property="qsksl" column="QSKSL" />
  58. <result property="sfbjsc" column="SFBJSC" />
  59. <result property="qskjbxxbz" column="QSKJBXXBZ" />
  60. <result property="jcjlbz" column="JCJLBZ" />
  61. <result property="column1" column="COLUMN1" />
  62. <result property="column2" column="COLUMN2" />
  63. <result property="column3" column="COLUMN3" />
  64. <result property="column4" column="COLUMN4" />
  65. <result property="column5" column="COLUMN5" />
  66. <result property="wiuName" column="WIU_NAME" />
  67. <result property="wiuContact" column="WIU_CONTACT" />
  68. <result property="wiuContactTel" column="WIU_CONTACT_TEL" />
  69. <result property="wiuPrincipal" column="WIU_PRINCIPAL" />
  70. <result property="wiuPrincipalTel" column="WIU_PRINCIPAL_TEL" />
  71. </resultMap>
  72. <sql id="table_columns">
  73. DCLLJTS,
  74. SBTS,
  75. QTTS,
  76. JLSSSFDQJDJZ,
  77. ZJYCJDJZSJ,
  78. QSL2016,
  79. QSL2017,
  80. QSL2018,
  81. QSL2019,
  82. JLSSAZWZMS,
  83. JCXM,
  84. JCSSGLHZYWDW,
  85. JCXXSFJRCJW,
  86. QSJLSSAZQK,
  87. CSBLLJTS,
  88. ID,
  89. WINT_CODE,
  90. WINT_NAME,
  91. AD_CODE,
  92. AD_NAME,
  93. WINT_POS,
  94. WAIN_LONG,
  95. WAIN_LAT,
  96. LOC_WRZ1RD_NAME,
  97. LOC_WRZ2RD_NAME,
  98. LOC_WRZ3RD_NAME,
  99. WAIN_TYPE,
  100. CHAR_DEP_NM,
  101. CHAR_DEP_PERS,
  102. CHAR_DEP_TEL,
  103. WAIN_INT_NAME,
  104. WAIN_INT_TYPE,
  105. WAIN_WASO_TYPE,
  106. WAIN_WASO_NAME,
  107. DES_Q,
  108. DES_DAY_Q,
  109. DES_YEAR_Q,
  110. IN_TM,
  111. UP_TM,
  112. CW_ID,
  113. SSXTDM,
  114. SSGCDM,
  115. SSXMID,
  116. SZYFQDM,
  117. SSLYDM,
  118. JSYXZT,
  119. SFAZJCJLSS,
  120. JCJLSSLX,
  121. JCJLSSSFZCYX,
  122. SFSXZXJC,
  123. SFDQJDHJZ,
  124. SFDKDJ,
  125. QSKSL,
  126. SFBJSC,
  127. QSKJBXXBZ,
  128. JCJLBZ,
  129. COLUMN1,
  130. COLUMN2,
  131. COLUMN3,
  132. COLUMN4,
  133. COLUMN5,
  134. WIU_NAME,
  135. WIU_CONTACT,
  136. WIU_CONTACT_TEL,
  137. WIU_PRINCIPAL,
  138. WIU_PRINCIPAL_TEL
  139. </sql>
  140. <sql id="entity_properties">
  141. #{dclljts},
  142. #{sbts},
  143. #{qtts},
  144. #{jlsssfdqjdjz},
  145. #{zjycjdjzsj},
  146. #{qsl2016},
  147. #{qsl2017},
  148. #{qsl2018},
  149. #{qsl2019},
  150. #{jlssazwzms},
  151. #{jcxm},
  152. #{jcssglhzywdw},
  153. #{jcxxsfjrcjw},
  154. #{qsjlssazqk},
  155. #{csblljts},
  156. #{id},
  157. #{wintCode},
  158. #{wintName},
  159. #{adCode},
  160. #{adName},
  161. #{wintPos},
  162. #{wainLong},
  163. #{wainLat},
  164. #{locWrz1rdName},
  165. #{locWrz2rdName},
  166. #{locWrz3rdName},
  167. #{wainType},
  168. #{charDepNm},
  169. #{charDepPers},
  170. #{charDepTel},
  171. #{wainIntName},
  172. #{wainIntType},
  173. #{wainWasoType},
  174. #{wainWasoName},
  175. #{desQ},
  176. #{desDayQ},
  177. #{desYearQ},
  178. #{inTm},
  179. #{upTm},
  180. #{cwId},
  181. #{ssxtdm},
  182. #{ssgcdm},
  183. #{ssxmid},
  184. #{szyfqdm},
  185. #{sslydm},
  186. #{jsyxzt},
  187. #{sfazjcjlss},
  188. #{jcjlsslx},
  189. #{jcjlsssfzcyx},
  190. #{sfsxzxjc},
  191. #{sfdqjdhjz},
  192. #{sfdkdj},
  193. #{qsksl},
  194. #{sfbjsc},
  195. #{qskjbxxbz},
  196. #{jcjlbz},
  197. #{column1},
  198. #{column2},
  199. #{column3},
  200. #{column4},
  201. #{column5},
  202. #{wiuName},
  203. #{wiuContact},
  204. #{wiuContactTel},
  205. #{wiuPrincipal},
  206. #{wiuPrincipalTel}
  207. </sql>
  208. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  209. <sql id="page_where">
  210. <trim prefix="where" prefixOverrides="and | or ">
  211. <if test="sbts != null and sbts != ''">and SBTS = #{sbts}</if>
  212. <if test="qtts != null and qtts != ''">and QTTS = #{qtts}</if>
  213. <if test="jlsssfdqjdjz != null and jlsssfdqjdjz != ''">and JLSSSFDQJDJZ = #{jlsssfdqjdjz}</if>
  214. <if test="zjycjdjzsj != null and zjycjdjzsj != ''">and ZJYCJDJZSJ = #{zjycjdjzsj}</if>
  215. <if test="qsl2016 != null and qsl2016 != ''">and QSL2016 = #{qsl2016}</if>
  216. <if test="qsl2017 != null and qsl2017 != ''">and QSL2017 = #{qsl2017}</if>
  217. <if test="qsl2018 != null and qsl2018 != ''">and QSL2018 = #{qsl2018}</if>
  218. <if test="qsl2019 != null and qsl2019 != ''">and QSL2019 = #{qsl2019}</if>
  219. <if test="jlssazwzms != null and jlssazwzms != ''">and JLSSAZWZMS = #{jlssazwzms}</if>
  220. <if test="jcxm != null and jcxm != ''">and JCXM = #{jcxm}</if>
  221. <if test="jcssglhzywdw != null and jcssglhzywdw != ''">and JCSSGLHZYWDW = #{jcssglhzywdw}</if>
  222. <if test="jcxxsfjrcjw != null and jcxxsfjrcjw != ''">and JCXXSFJRCJW = #{jcxxsfjrcjw}</if>
  223. <if test="qsjlssazqk != null and qsjlssazqk != ''">and QSJLSSAZQK = #{qsjlssazqk}</if>
  224. <if test="csblljts != null and csblljts != ''">and CSBLLJTS = #{csblljts}</if>
  225. <if test="id != null and id != ''">and ID = #{id}</if>
  226. <if test="wintCode != null and wintCode != ''">and WINT_CODE = #{wintCode}</if>
  227. <if test="wintName != null and wintName != ''">and WINT_NAME = #{wintName}</if>
  228. <if test="adCode != null and adCode != ''">and AD_CODE = #{adCode}</if>
  229. <if test="adName != null and adName != ''">and AD_NAME = #{adName}</if>
  230. <if test="wintPos != null and wintPos != ''">and WINT_POS = #{wintPos}</if>
  231. <if test="wainLong != null and wainLong != ''">and WAIN_LONG = #{wainLong}</if>
  232. <if test="wainLat != null and wainLat != ''">and WAIN_LAT = #{wainLat}</if>
  233. <if test="locWrz1rdName != null and locWrz1rdName != ''">and LOC_WRZ1RD_NAME = #{locWrz1rdName}</if>
  234. <if test="locWrz2rdName != null and locWrz2rdName != ''">and LOC_WRZ2RD_NAME = #{locWrz2rdName}</if>
  235. <if test="locWrz3rdName != null and locWrz3rdName != ''">and LOC_WRZ3RD_NAME = #{locWrz3rdName}</if>
  236. <if test="wainType != null and wainType != ''">and WAIN_TYPE = #{wainType}</if>
  237. <if test="charDepNm != null and charDepNm != ''">and CHAR_DEP_NM = #{charDepNm}</if>
  238. <if test="charDepPers != null and charDepPers != ''">and CHAR_DEP_PERS = #{charDepPers}</if>
  239. <if test="charDepTel != null and charDepTel != ''">and CHAR_DEP_TEL = #{charDepTel}</if>
  240. <if test="wainIntName != null and wainIntName != ''">and WAIN_INT_NAME = #{wainIntName}</if>
  241. <if test="wainIntType != null and wainIntType != ''">and WAIN_INT_TYPE = #{wainIntType}</if>
  242. <if test="wainWasoType != null and wainWasoType != ''">and WAIN_WASO_TYPE = #{wainWasoType}</if>
  243. <if test="wainWasoName != null and wainWasoName != ''">and WAIN_WASO_NAME = #{wainWasoName}</if>
  244. <if test="desQ != null and desQ != ''">and DES_Q = #{desQ}</if>
  245. <if test="desDayQ != null and desDayQ != ''">and DES_DAY_Q = #{desDayQ}</if>
  246. <if test="desYearQ != null and desYearQ != ''">and DES_YEAR_Q = #{desYearQ}</if>
  247. <if test="inTm != null">and IN_TM = #{inTm}</if>
  248. <if test="upTm != null">and UP_TM = #{upTm}</if>
  249. <if test="cwId != null and cwId != ''">and CW_ID = #{cwId}</if>
  250. <if test="ssxtdm != null and ssxtdm != ''">and SSXTDM = #{ssxtdm}</if>
  251. <if test="ssgcdm != null and ssgcdm != ''">and SSGCDM = #{ssgcdm}</if>
  252. <if test="ssxmid != null and ssxmid != ''">and SSXMID = #{ssxmid}</if>
  253. <if test="szyfqdm != null and szyfqdm != ''">and SZYFQDM = #{szyfqdm}</if>
  254. <if test="sslydm != null and sslydm != ''">and SSLYDM = #{sslydm}</if>
  255. <if test="jsyxzt != null and jsyxzt != ''">and JSYXZT = #{jsyxzt}</if>
  256. <if test="sfazjcjlss != null and sfazjcjlss != ''">and SFAZJCJLSS = #{sfazjcjlss}</if>
  257. <if test="jcjlsslx != null and jcjlsslx != ''">and JCJLSSLX = #{jcjlsslx}</if>
  258. <if test="jcjlsssfzcyx != null and jcjlsssfzcyx != ''">and JCJLSSSFZCYX = #{jcjlsssfzcyx}</if>
  259. <if test="sfsxzxjc != null and sfsxzxjc != ''">and SFSXZXJC = #{sfsxzxjc}</if>
  260. <if test="sfdqjdhjz != null and sfdqjdhjz != ''">and SFDQJDHJZ = #{sfdqjdhjz}</if>
  261. <if test="sfdkdj != null and sfdkdj != ''">and SFDKDJ = #{sfdkdj}</if>
  262. <if test="qsksl != null and qsksl != ''">and QSKSL = #{qsksl}</if>
  263. <if test="sfbjsc != null and sfbjsc != ''">and SFBJSC = #{sfbjsc}</if>
  264. <if test="qskjbxxbz != null and qskjbxxbz != ''">and QSKJBXXBZ = #{qskjbxxbz}</if>
  265. <if test="jcjlbz != null and jcjlbz != ''">and JCJLBZ = #{jcjlbz}</if>
  266. <if test="column1 != null and column1 != ''">and COLUMN1 = #{column1}</if>
  267. <if test="column2 != null and column2 != ''">and COLUMN2 = #{column2}</if>
  268. <if test="column3 != null and column3 != ''">and COLUMN3 = #{column3}</if>
  269. <if test="column4 != null and column4 != ''">and COLUMN4 = #{column4}</if>
  270. <if test="column5 != null and column5 != ''">and COLUMN5 = #{column5}</if>
  271. <if test="wiuName != null and wiuName != ''">and WIU_NAME = #{wiuName}</if>
  272. <if test="wiuContact != null and wiuContact != ''">and WIU_CONTACT = #{wiuContact}</if>
  273. <if test="wiuContactTel != null and wiuContactTel != ''">and WIU_CONTACT_TEL = #{wiuContactTel}</if>
  274. <if test="wiuPrincipal != null and wiuPrincipal != ''">and WIU_PRINCIPAL = #{wiuPrincipal}</if>
  275. <if test="wiuPrincipalTel != null and wiuPrincipalTel != ''">and WIU_PRINCIPAL_TEL = #{wiuPrincipalTel}</if>
  276. </trim>
  277. </sql>
  278. <select id="get" resultMap="attWintBaseResultMap" parameterType="String" >
  279. select <include refid="table_columns" /> from ATT_WINT_BASE where ID = #{id}
  280. </select>
  281. <select id="getBy" resultMap="attWintBaseResultMap">
  282. select <include refid="table_columns" /> from ATT_WINT_BASE <include refid="page_where" />
  283. </select>
  284. <select id="findAll" resultMap="attWintBaseResultMap">
  285. select <include refid="table_columns" /> from ATT_WINT_BASE
  286. </select>
  287. <select id="findList" resultMap="attWintBaseResultMap">
  288. select <include refid="table_columns" /> from ATT_WINT_BASE <include refid="page_where" />
  289. </select>
  290. <select id="selectCount" resultType="int" >
  291. select count(ID) from ATT_WINT_BASE <include refid="page_where" />
  292. </select>
  293. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.AttWintBase">
  294. insert into ATT_WINT_BASE( <include refid="table_columns" /> )
  295. values ( <include refid="entity_properties" /> )
  296. </insert>
  297. <delete id="delete" parameterType="java.lang.String">
  298. delete from ATT_WINT_BASE where ID = #{id}
  299. </delete>
  300. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.AttWintBase">
  301. delete from ATT_WINT_BASE <include refid="page_where" />
  302. </delete>
  303. <update id="deleteInFlag" parameterType="java.lang.String">
  304. update ATT_WINT_BASE set flag_valid = 0 where>ID = #{id}
  305. </update>
  306. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.AttWintBase">
  307. update ATT_WINT_BASE
  308. <trim prefix="set" suffixOverrides=",">
  309. <if test="sbts != null and sbts != ''">SBTS = #{sbts},</if>
  310. <if test="qtts != null and qtts != ''">QTTS = #{qtts},</if>
  311. <if test="jlsssfdqjdjz != null and jlsssfdqjdjz != ''">JLSSSFDQJDJZ = #{jlsssfdqjdjz},</if>
  312. <if test="zjycjdjzsj != null and zjycjdjzsj != ''">ZJYCJDJZSJ = #{zjycjdjzsj},</if>
  313. <if test="qsl2016 != null and qsl2016 != ''">QSL2016 = #{qsl2016},</if>
  314. <if test="qsl2017 != null and qsl2017 != ''">QSL2017 = #{qsl2017},</if>
  315. <if test="qsl2018 != null and qsl2018 != ''">QSL2018 = #{qsl2018},</if>
  316. <if test="qsl2019 != null and qsl2019 != ''">QSL2019 = #{qsl2019},</if>
  317. <if test="jlssazwzms != null and jlssazwzms != ''">JLSSAZWZMS = #{jlssazwzms},</if>
  318. <if test="jcxm != null and jcxm != ''">JCXM = #{jcxm},</if>
  319. <if test="jcssglhzywdw != null and jcssglhzywdw != ''">JCSSGLHZYWDW = #{jcssglhzywdw},</if>
  320. <if test="jcxxsfjrcjw != null and jcxxsfjrcjw != ''">JCXXSFJRCJW = #{jcxxsfjrcjw},</if>
  321. <if test="qsjlssazqk != null and qsjlssazqk != ''">QSJLSSAZQK = #{qsjlssazqk},</if>
  322. <if test="csblljts != null and csblljts != ''">CSBLLJTS = #{csblljts},</if>
  323. <if test="id != null and id != ''">ID = #{id},</if>
  324. <if test="wintCode != null and wintCode != ''">WINT_CODE = #{wintCode},</if>
  325. <if test="wintName != null and wintName != ''">WINT_NAME = #{wintName},</if>
  326. <if test="adCode != null and adCode != ''">AD_CODE = #{adCode},</if>
  327. <if test="adName != null and adName != ''">AD_NAME = #{adName},</if>
  328. <if test="wintPos != null and wintPos != ''">WINT_POS = #{wintPos},</if>
  329. <if test="wainLong != null and wainLong != ''">WAIN_LONG = #{wainLong},</if>
  330. <if test="wainLat != null and wainLat != ''">WAIN_LAT = #{wainLat},</if>
  331. <if test="locWrz1rdName != null and locWrz1rdName != ''">LOC_WRZ1RD_NAME = #{locWrz1rdName},</if>
  332. <if test="locWrz2rdName != null and locWrz2rdName != ''">LOC_WRZ2RD_NAME = #{locWrz2rdName},</if>
  333. <if test="locWrz3rdName != null and locWrz3rdName != ''">LOC_WRZ3RD_NAME = #{locWrz3rdName},</if>
  334. <if test="wainType != null and wainType != ''">WAIN_TYPE = #{wainType},</if>
  335. <if test="charDepNm != null and charDepNm != ''">CHAR_DEP_NM = #{charDepNm},</if>
  336. <if test="charDepPers != null and charDepPers != ''">CHAR_DEP_PERS = #{charDepPers},</if>
  337. <if test="charDepTel != null and charDepTel != ''">CHAR_DEP_TEL = #{charDepTel},</if>
  338. <if test="wainIntName != null and wainIntName != ''">WAIN_INT_NAME = #{wainIntName},</if>
  339. <if test="wainIntType != null and wainIntType != ''">WAIN_INT_TYPE = #{wainIntType},</if>
  340. <if test="wainWasoType != null and wainWasoType != ''">WAIN_WASO_TYPE = #{wainWasoType},</if>
  341. <if test="wainWasoName != null and wainWasoName != ''">WAIN_WASO_NAME = #{wainWasoName},</if>
  342. <if test="desQ != null and desQ != ''">DES_Q = #{desQ},</if>
  343. <if test="desDayQ != null and desDayQ != ''">DES_DAY_Q = #{desDayQ},</if>
  344. <if test="desYearQ != null and desYearQ != ''">DES_YEAR_Q = #{desYearQ},</if>
  345. <if test="inTm != null">IN_TM = #{inTm},</if>
  346. <if test="upTm != null">UP_TM = #{upTm},</if>
  347. <if test="cwId != null and cwId != ''">CW_ID = #{cwId},</if>
  348. <if test="ssxtdm != null and ssxtdm != ''">SSXTDM = #{ssxtdm},</if>
  349. <if test="ssgcdm != null and ssgcdm != ''">SSGCDM = #{ssgcdm},</if>
  350. <if test="ssxmid != null and ssxmid != ''">SSXMID = #{ssxmid},</if>
  351. <if test="szyfqdm != null and szyfqdm != ''">SZYFQDM = #{szyfqdm},</if>
  352. <if test="sslydm != null and sslydm != ''">SSLYDM = #{sslydm},</if>
  353. <if test="jsyxzt != null and jsyxzt != ''">JSYXZT = #{jsyxzt},</if>
  354. <if test="sfazjcjlss != null and sfazjcjlss != ''">SFAZJCJLSS = #{sfazjcjlss},</if>
  355. <if test="jcjlsslx != null and jcjlsslx != ''">JCJLSSLX = #{jcjlsslx},</if>
  356. <if test="jcjlsssfzcyx != null and jcjlsssfzcyx != ''">JCJLSSSFZCYX = #{jcjlsssfzcyx},</if>
  357. <if test="sfsxzxjc != null and sfsxzxjc != ''">SFSXZXJC = #{sfsxzxjc},</if>
  358. <if test="sfdqjdhjz != null and sfdqjdhjz != ''">SFDQJDHJZ = #{sfdqjdhjz},</if>
  359. <if test="sfdkdj != null and sfdkdj != ''">SFDKDJ = #{sfdkdj},</if>
  360. <if test="qsksl != null and qsksl != ''">QSKSL = #{qsksl},</if>
  361. <if test="sfbjsc != null and sfbjsc != ''">SFBJSC = #{sfbjsc},</if>
  362. <if test="qskjbxxbz != null and qskjbxxbz != ''">QSKJBXXBZ = #{qskjbxxbz},</if>
  363. <if test="jcjlbz != null and jcjlbz != ''">JCJLBZ = #{jcjlbz},</if>
  364. <if test="column1 != null and column1 != ''">COLUMN1 = #{column1},</if>
  365. <if test="column2 != null and column2 != ''">COLUMN2 = #{column2},</if>
  366. <if test="column3 != null and column3 != ''">COLUMN3 = #{column3},</if>
  367. <if test="column4 != null and column4 != ''">COLUMN4 = #{column4},</if>
  368. <if test="column5 != null and column5 != ''">COLUMN5 = #{column5},</if>
  369. <if test="wiuName != null and wiuName != ''"> WIU_NAME = #{wiuName},</if>
  370. <if test="wiuContact != null and wiuContact != ''"> WIU_CONTACT = #{wiuContact},</if>
  371. <if test="wiuContactTel != null and wiuContactTel != ''"> WIU_CONTACT_TEL = #{wiuContactTel}</if>
  372. <if test="wiuPrincipal != null and wiuPrincipal != ''"> WIU_PRINCIPAL = #{wiuPrincipal},</if>
  373. <if test="wiuPrincipalTel != null and wiuPrincipalTel != ''"> WIU_PRINCIPAL_TEL = #{wiuPrincipalTel},</if>
  374. </trim>
  375. <where>ID = #{id}</where>
  376. </update>
  377. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.AttWintBase">
  378. update ATT_WINT_BASE
  379. <trim prefix="set" suffixOverrides=",">
  380. <if test="sbts != null and sbts != ''">SBTS = #{sbts},</if>
  381. <if test="qtts != null and qtts != ''">QTTS = #{qtts},</if>
  382. <if test="jlsssfdqjdjz != null and jlsssfdqjdjz != ''">JLSSSFDQJDJZ = #{jlsssfdqjdjz},</if>
  383. <if test="zjycjdjzsj != null and zjycjdjzsj != ''">ZJYCJDJZSJ = #{zjycjdjzsj},</if>
  384. <if test="qsl2016 != null and qsl2016 != ''">QSL2016 = #{qsl2016},</if>
  385. <if test="qsl2017 != null and qsl2017 != ''">QSL2017 = #{qsl2017},</if>
  386. <if test="qsl2018 != null and qsl2018 != ''">QSL2018 = #{qsl2018},</if>
  387. <if test="qsl2019 != null and qsl2019 != ''">QSL2019 = #{qsl2019},</if>
  388. <if test="jlssazwzms != null and jlssazwzms != ''">JLSSAZWZMS = #{jlssazwzms},</if>
  389. <if test="jcxm != null and jcxm != ''">JCXM = #{jcxm},</if>
  390. <if test="jcssglhzywdw != null and jcssglhzywdw != ''">JCSSGLHZYWDW = #{jcssglhzywdw},</if>
  391. <if test="jcxxsfjrcjw != null and jcxxsfjrcjw != ''">JCXXSFJRCJW = #{jcxxsfjrcjw},</if>
  392. <if test="qsjlssazqk != null and qsjlssazqk != ''">QSJLSSAZQK = #{qsjlssazqk},</if>
  393. <if test="csblljts != null and csblljts != ''">CSBLLJTS = #{csblljts},</if>
  394. <if test="id != null and id != ''">ID = #{id},</if>
  395. <if test="wintCode != null and wintCode != ''">WINT_CODE = #{wintCode},</if>
  396. <if test="wintName != null and wintName != ''">WINT_NAME = #{wintName},</if>
  397. <if test="adCode != null and adCode != ''">AD_CODE = #{adCode},</if>
  398. <if test="adName != null and adName != ''">AD_NAME = #{adName},</if>
  399. <if test="wintPos != null and wintPos != ''">WINT_POS = #{wintPos},</if>
  400. <if test="wainLong != null and wainLong != ''">WAIN_LONG = #{wainLong},</if>
  401. <if test="wainLat != null and wainLat != ''">WAIN_LAT = #{wainLat},</if>
  402. <if test="locWrz1rdName != null and locWrz1rdName != ''">LOC_WRZ1RD_NAME = #{locWrz1rdName},</if>
  403. <if test="locWrz2rdName != null and locWrz2rdName != ''">LOC_WRZ2RD_NAME = #{locWrz2rdName},</if>
  404. <if test="locWrz3rdName != null and locWrz3rdName != ''">LOC_WRZ3RD_NAME = #{locWrz3rdName},</if>
  405. <if test="wainType != null and wainType != ''">WAIN_TYPE = #{wainType},</if>
  406. <if test="charDepNm != null and charDepNm != ''">CHAR_DEP_NM = #{charDepNm},</if>
  407. <if test="charDepPers != null and charDepPers != ''">CHAR_DEP_PERS = #{charDepPers},</if>
  408. <if test="charDepTel != null and charDepTel != ''">CHAR_DEP_TEL = #{charDepTel},</if>
  409. <if test="wainIntName != null and wainIntName != ''">WAIN_INT_NAME = #{wainIntName},</if>
  410. <if test="wainIntType != null and wainIntType != ''">WAIN_INT_TYPE = #{wainIntType},</if>
  411. <if test="wainWasoType != null and wainWasoType != ''">WAIN_WASO_TYPE = #{wainWasoType},</if>
  412. <if test="wainWasoName != null and wainWasoName != ''">WAIN_WASO_NAME = #{wainWasoName},</if>
  413. <if test="desQ != null and desQ != ''">DES_Q = #{desQ},</if>
  414. <if test="desDayQ != null and desDayQ != ''">DES_DAY_Q = #{desDayQ},</if>
  415. <if test="desYearQ != null and desYearQ != ''">DES_YEAR_Q = #{desYearQ},</if>
  416. <if test="inTm != null">IN_TM = #{inTm},</if>
  417. <if test="upTm != null">UP_TM = #{upTm},</if>
  418. <if test="cwId != null and cwId != ''">CW_ID = #{cwId},</if>
  419. <if test="ssxtdm != null and ssxtdm != ''">SSXTDM = #{ssxtdm},</if>
  420. <if test="ssgcdm != null and ssgcdm != ''">SSGCDM = #{ssgcdm},</if>
  421. <if test="ssxmid != null and ssxmid != ''">SSXMID = #{ssxmid},</if>
  422. <if test="szyfqdm != null and szyfqdm != ''">SZYFQDM = #{szyfqdm},</if>
  423. <if test="sslydm != null and sslydm != ''">SSLYDM = #{sslydm},</if>
  424. <if test="jsyxzt != null and jsyxzt != ''">JSYXZT = #{jsyxzt},</if>
  425. <if test="sfazjcjlss != null and sfazjcjlss != ''">SFAZJCJLSS = #{sfazjcjlss},</if>
  426. <if test="jcjlsslx != null and jcjlsslx != ''">JCJLSSLX = #{jcjlsslx},</if>
  427. <if test="jcjlsssfzcyx != null and jcjlsssfzcyx != ''">JCJLSSSFZCYX = #{jcjlsssfzcyx},</if>
  428. <if test="sfsxzxjc != null and sfsxzxjc != ''">SFSXZXJC = #{sfsxzxjc},</if>
  429. <if test="sfdqjdhjz != null and sfdqjdhjz != ''">SFDQJDHJZ = #{sfdqjdhjz},</if>
  430. <if test="sfdkdj != null and sfdkdj != ''">SFDKDJ = #{sfdkdj},</if>
  431. <if test="qsksl != null and qsksl != ''">QSKSL = #{qsksl},</if>
  432. <if test="sfbjsc != null and sfbjsc != ''">SFBJSC = #{sfbjsc},</if>
  433. <if test="qskjbxxbz != null and qskjbxxbz != ''">QSKJBXXBZ = #{qskjbxxbz},</if>
  434. <if test="jcjlbz != null and jcjlbz != ''">JCJLBZ = #{jcjlbz},</if>
  435. <if test="column1 != null and column1 != ''">COLUMN1 = #{column1},</if>
  436. <if test="column2 != null and column2 != ''">COLUMN2 = #{column2},</if>
  437. <if test="column3 != null and column3 != ''">COLUMN3 = #{column3},</if>
  438. <if test="column4 != null and column4 != ''">COLUMN4 = #{column4},</if>
  439. <if test="column5 != null and column5 != ''">COLUMN5 = #{column5},</if>
  440. <if test="wiuName != null and wiuName != ''"> WIU_NAME = #{wiuName},</if>
  441. <if test="wiuContact != null and wiuContact != ''"> WIU_CONTACT = #{wiuContact},</if>
  442. <if test="wiuContactTel != null and wiuContactTel != ''"> WIU_CONTACT_TEL = #{wiuContactTel}</if>
  443. <if test="wiuPrincipal != null and wiuPrincipal != ''"> WIU_PRINCIPAL = #{wiuPrincipal},</if>
  444. <if test="wiuPrincipalTel != null and wiuPrincipalTel != ''"> WIU_PRINCIPAL_TEL = #{wiuPrincipalTel},</if>
  445. </trim>
  446. <include refid="page_where" />
  447. </update>
  448. <!-- 其他自定义SQL -->
  449. </mapper>