BisInspXjvillRunDao.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  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.BisInspXjvillRunDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspXjvillRun" id="bisInspXjvillRunResultMap">
  5. <result property="nm" column="NM"/>
  6. <result property="adCode" column="AD_CODE"/>
  7. <result property="adName" column="AD_NAME"/>
  8. <result property="loc" column="LOC"/>
  9. <result property="waterSupply" column="WATER_SUPPLY"/>
  10. <result property="prjNtr" column="PRJ_NTR"/>
  11. <result property="prjType" column="PRJ_TYPE"/>
  12. <result property="persSize" column="PERS_SIZE"/>
  13. <result property="centerX" column="CENTER_X"/>
  14. <result property="centerY" column="CENTER_Y"/>
  15. <result property="gdX" column="GD_X"/>
  16. <result property="gdY" column="GD_Y"/>
  17. <result property="isRun" column="IS_RUN"/>
  18. <result property="isMeet" column="IS_MEET"/>
  19. <result property="isMeetBook" column="IS_MEET_BOOK"/>
  20. <result property="isChk" column="IS_CHK"/>
  21. <result property="isChkLeak" column="IS_CHK_LEAK"/>
  22. <result property="chkInfo" column="CHK_INFO"/>
  23. <result property="isSprrt" column="IS_SPRRT"/>
  24. <result property="isLook" column="IS_LOOK"/>
  25. <result property="isBuldChk" column="IS_BULD_CHK"/>
  26. <result property="supTel" column="SUP_TEL"/>
  27. <result property="isSupTel" column="IS_SUP_TEL"/>
  28. <result property="isTeamDeal" column="IS_TEAM_DEAL"/>
  29. <result property="isPrice" column="IS_PRICE"/>
  30. <result property="priceInfo" column="PRICE_INFO"/>
  31. <result property="isCost" column="IS_COST"/>
  32. <result property="isCostCover" column="IS_COST_COVER"/>
  33. <result property="cost" column="COST"/>
  34. <result property="isImporve" column="IS_IMPORVE"/>
  35. <result property="isClean" column="IS_CLEAN"/>
  36. <result property="isCleanRun" column="IS_CLEAN_RUN"/>
  37. <result property="isDsn" column="IS_DSN"/>
  38. <result property="isDsnRun" column="IS_DSN_RUN"/>
  39. <result property="isRpt" column="IS_RPT"/>
  40. <result property="isRptUp" column="IS_RPT_UP"/>
  41. <result property="persId" column="PERS_ID"/>
  42. <result property="intm" column="INTM"/>
  43. <result property="uptm" column="UPTM"/>
  44. <result property="note" column="NOTE"/>
  45. <result property="dataStat" column="DATA_STAT"/>
  46. <result property="state" column="STATE"/>
  47. <result property="rgstrId" column="RGSTR_ID"/>
  48. <result property="id" column="ID"/>
  49. <result property="regmId" column="REGM_ID"/>
  50. <result property="cwsId" column="CWS_ID"/>
  51. <result property="pricingBasis" column="PRICING_BASIS"/>
  52. </resultMap>
  53. <sql id="table_columns">
  54. NM,
  55. AD_CODE,
  56. AD_NAME,
  57. LOC,
  58. WATER_SUPPLY,
  59. PRJ_NTR,
  60. PRJ_TYPE,
  61. PERS_SIZE,
  62. CENTER_X,
  63. CENTER_Y,
  64. GD_X,
  65. GD_Y,
  66. IS_RUN,
  67. IS_MEET,
  68. IS_MEET_BOOK,
  69. IS_CHK,
  70. IS_CHK_LEAK,
  71. CHK_INFO,
  72. IS_SPRRT,
  73. IS_LOOK,
  74. IS_BULD_CHK,
  75. SUP_TEL,
  76. IS_SUP_TEL,
  77. IS_TEAM_DEAL,
  78. IS_PRICE,
  79. PRICE_INFO,
  80. IS_COST,
  81. IS_COST_COVER,
  82. COST,
  83. IS_IMPORVE,
  84. IS_CLEAN,
  85. IS_CLEAN_RUN,
  86. IS_DSN,
  87. IS_DSN_RUN,
  88. IS_RPT,
  89. IS_RPT_UP,
  90. PERS_ID,
  91. INTM,
  92. UPTM,
  93. NOTE,
  94. DATA_STAT,
  95. STATE,
  96. RGSTR_ID,
  97. ID,
  98. REGM_ID,
  99. CWS_ID,
  100. PRICING_BASIS
  101. </sql>
  102. <sql id="entity_properties">
  103. #{nm},
  104. #{adCode},
  105. #{adName},
  106. #{loc},
  107. #{waterSupply},
  108. #{prjNtr},
  109. #{prjType},
  110. #{persSize},
  111. #{centerX},
  112. #{centerY},
  113. #{gdX},
  114. #{gdY},
  115. #{isRun},
  116. #{isMeet},
  117. #{isMeetBook},
  118. #{isChk},
  119. #{isChkLeak},
  120. #{chkInfo},
  121. #{isSprrt},
  122. #{isLook},
  123. #{isBuldChk},
  124. #{supTel},
  125. #{isSupTel},
  126. #{isTeamDeal},
  127. #{isPrice},
  128. #{priceInfo},
  129. #{isCost},
  130. #{isCostCover},
  131. #{cost},
  132. #{isImporve},
  133. #{isClean},
  134. #{isCleanRun},
  135. #{isDsn},
  136. #{isDsnRun},
  137. #{isRpt},
  138. #{isRptUp},
  139. #{persId},
  140. #{intm},
  141. #{uptm},
  142. #{note},
  143. #{dataStat},
  144. #{state},
  145. #{rgstrId},
  146. #{id},
  147. #{regmId},
  148. #{cwsId},
  149. #{pricingBasis}
  150. </sql>
  151. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  152. <sql id="page_where">
  153. <trim prefix="where" prefixOverrides="and | or ">
  154. <if test="nm != null and nm != ''">
  155. and NM = #{nm}
  156. </if>
  157. <if test="adCode != null and adCode != ''">
  158. and AD_CODE = #{adCode}
  159. </if>
  160. <if test="adName != null and adName != ''">
  161. and AD_NAME = #{adName}
  162. </if>
  163. <if test="loc != null and loc != ''">
  164. and LOC = #{loc}
  165. </if>
  166. <if test="waterSupply != null and waterSupply != ''">
  167. and WATER_SUPPLY = #{waterSupply}
  168. </if>
  169. <if test="prjNtr != null and prjNtr != ''">
  170. and PRJ_NTR = #{prjNtr}
  171. </if>
  172. <if test="prjType != null and prjType != ''">
  173. and PRJ_TYPE = #{prjType}
  174. </if>
  175. <if test="persSize != null and persSize != ''">
  176. and PERS_SIZE = #{persSize}
  177. </if>
  178. <if test="centerX != null and centerX != ''">
  179. and CENTER_X = #{centerX}
  180. </if>
  181. <if test="centerY != null and centerY != ''">
  182. and CENTER_Y = #{centerY}
  183. </if>
  184. <if test="gdX != null and gdX != ''">
  185. and GD_X = #{gdX}
  186. </if>
  187. <if test="gdY != null and gdY != ''">
  188. and GD_Y = #{gdY}
  189. </if>
  190. <if test="isRun != null and isRun != ''">
  191. and IS_RUN = #{isRun}
  192. </if>
  193. <if test="isMeet != null and isMeet != ''">
  194. and IS_MEET = #{isMeet}
  195. </if>
  196. <if test="isMeetBook != null and isMeetBook != ''">
  197. and IS_MEET_BOOK = #{isMeetBook}
  198. </if>
  199. <if test="isChk != null and isChk != ''">
  200. and IS_CHK = #{isChk}
  201. </if>
  202. <if test="isChkLeak != null and isChkLeak != ''">
  203. and IS_CHK_LEAK = #{isChkLeak}
  204. </if>
  205. <if test="chkInfo != null and chkInfo != ''">
  206. and CHK_INFO = #{chkInfo}
  207. </if>
  208. <if test="isSprrt != null and isSprrt != ''">
  209. and IS_SPRRT = #{isSprrt}
  210. </if>
  211. <if test="isLook != null and isLook != ''">
  212. and IS_LOOK = #{isLook}
  213. </if>
  214. <if test="isBuldChk != null and isBuldChk != ''">
  215. and IS_BULD_CHK = #{isBuldChk}
  216. </if>
  217. <if test="supTel != null and supTel != ''">
  218. and SUP_TEL = #{supTel}
  219. </if>
  220. <if test="isSupTel != null and isSupTel != ''">
  221. and IS_SUP_TEL = #{isSupTel}
  222. </if>
  223. <if test="isTeamDeal != null and isTeamDeal != ''">
  224. and IS_TEAM_DEAL = #{isTeamDeal}
  225. </if>
  226. <if test="isPrice != null and isPrice != ''">
  227. and IS_PRICE = #{isPrice}
  228. </if>
  229. <if test="priceInfo != null and priceInfo != ''">
  230. and PRICE_INFO = #{priceInfo}
  231. </if>
  232. <if test="isCost != null and isCost != ''">
  233. and IS_COST = #{isCost}
  234. </if>
  235. <if test="isCostCover != null and isCostCover != ''">
  236. and IS_COST_COVER = #{isCostCover}
  237. </if>
  238. <if test="cost != null and cost != ''">
  239. and COST = #{cost}
  240. </if>
  241. <if test="isImporve != null and isImporve != ''">
  242. and IS_IMPORVE = #{isImporve}
  243. </if>
  244. <if test="isClean != null and isClean != ''">
  245. and IS_CLEAN = #{isClean}
  246. </if>
  247. <if test="isCleanRun != null and isCleanRun != ''">
  248. and IS_CLEAN_RUN = #{isCleanRun}
  249. </if>
  250. <if test="isDsn != null and isDsn != ''">
  251. and IS_DSN = #{isDsn}
  252. </if>
  253. <if test="isDsnRun != null and isDsnRun != ''">
  254. and IS_DSN_RUN = #{isDsnRun}
  255. </if>
  256. <if test="isRpt != null and isRpt != ''">
  257. and IS_RPT = #{isRpt}
  258. </if>
  259. <if test="isRptUp != null and isRptUp != ''">
  260. and IS_RPT_UP = #{isRptUp}
  261. </if>
  262. <if test="persId != null and persId != ''">
  263. and PERS_ID = #{persId}
  264. </if>
  265. <if test="intm != null">
  266. and INTM = #{intm}
  267. </if>
  268. <if test="uptm != null">
  269. and UPTM = #{uptm}
  270. </if>
  271. <if test="note != null and note != ''">
  272. and NOTE = #{note}
  273. </if>
  274. <if test="dataStat != null and dataStat != ''">
  275. and DATA_STAT = #{dataStat}
  276. </if>
  277. <if test="state != null and state != ''">
  278. and STATE = #{state}
  279. </if>
  280. <if test="rgstrId != null and rgstrId != ''">
  281. and RGSTR_ID = #{rgstrId}
  282. </if>
  283. <if test="pricingBasis != null and pricingBasis != ''">
  284. and PRICING_BASIS = #{pricingBasis}
  285. </if>
  286. <if test="regmId != null and regmId != ''">
  287. and REGM_ID = #{regmId}
  288. </if>
  289. <if test="cwsId != null and cwsId != ''">
  290. and CWS_ID = #{cwsId}
  291. </if>
  292. and DATA_STAT='0'
  293. </trim>
  294. </sql>
  295. <select id="get" resultMap="bisInspXjvillRunResultMap" parameterType="String">
  296. select
  297. <include refid="table_columns"/>
  298. from BIS_INSP_XJVILL_RUN where ID = #{id}
  299. </select>
  300. <select id="getBy" resultMap="bisInspXjvillRunResultMap">
  301. select
  302. <include refid="table_columns"/>
  303. from BIS_INSP_XJVILL_RUN
  304. <include refid="page_where"/>
  305. </select>
  306. <select id="findAll" resultMap="bisInspXjvillRunResultMap">
  307. select
  308. <include refid="table_columns"/>
  309. from BIS_INSP_XJVILL_RUN
  310. </select>
  311. <select id="findList" resultMap="bisInspXjvillRunResultMap">
  312. select
  313. <include refid="table_columns"/>
  314. from BIS_INSP_XJVILL_RUN
  315. <include refid="page_where"/>
  316. <choose>
  317. <when test="regmId != null and regmId != ''">
  318. and REGM_ID = #{regmId}
  319. </when>
  320. <otherwise>
  321. and REGM_ID IS NULL
  322. </otherwise>
  323. </choose>
  324. </select>
  325. <select id="selectCount" resultType="int">
  326. select count(ID) from BIS_INSP_XJVILL_RUN
  327. <include refid="page_where"/>
  328. </select>
  329. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspXjvillRun">
  330. insert into BIS_INSP_XJVILL_RUN(
  331. <include refid="table_columns"/>
  332. )
  333. values (
  334. <include refid="entity_properties"/>
  335. )
  336. </insert>
  337. <delete id="delete" parameterType="java.lang.String">
  338. update BIS_INSP_XJVILL_RUN set DATA_STAT='9' where ID = #{id}
  339. </delete>
  340. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspXjvillRun">
  341. update BIS_INSP_XJVILL_RUN set DATA_STAT='9'
  342. <include refid="page_where"/>
  343. </delete>
  344. <update id="deleteInFlag" parameterType="java.lang.String">
  345. update BIS_INSP_XJVILL_RUN set DATA_STAT = '9' where ID = #{id}
  346. </update>
  347. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspXjvillRun">
  348. update BIS_INSP_XJVILL_RUN
  349. <trim prefix="set" suffixOverrides=",">
  350. <if test="pricingBasis != null and pricingBasis != ''">
  351. PRICING_BASIS = #{pricingBasis},
  352. </if>
  353. <if test="nm != null and nm != ''">NM
  354. = #{nm},
  355. </if>
  356. <if test="adCode != null and adCode != ''">AD_CODE
  357. = #{adCode},
  358. </if>
  359. <if test="adName != null and adName != ''">AD_NAME
  360. = #{adName},
  361. </if>
  362. <if test="loc != null and loc != ''">LOC
  363. = #{loc},
  364. </if>
  365. <if test="waterSupply != null and waterSupply != ''">WATER_SUPPLY
  366. = #{waterSupply},
  367. </if>
  368. <if test="prjNtr != null and prjNtr != ''">PRJ_NTR
  369. = #{prjNtr},
  370. </if>
  371. <if test="prjType != null and prjType != ''">PRJ_TYPE
  372. = #{prjType},
  373. </if>
  374. <if test="persSize != null and persSize != ''">PERS_SIZE
  375. = #{persSize},
  376. </if>
  377. <if test="centerX != null and centerX != ''">CENTER_X
  378. = #{centerX},
  379. </if>
  380. <if test="centerY != null and centerY != ''">CENTER_Y
  381. = #{centerY},
  382. </if>
  383. <if test="gdX != null and gdX != ''">GD_X
  384. = #{gdX},
  385. </if>
  386. <if test="gdY != null and gdY != ''">GD_Y
  387. = #{gdY},
  388. </if>
  389. <if test="isRun != null and isRun != ''">IS_RUN
  390. = #{isRun},
  391. </if>
  392. <if test="isMeet != null and isMeet != ''">IS_MEET
  393. = #{isMeet},
  394. </if>
  395. <if test="isMeetBook != null and isMeetBook != ''">IS_MEET_BOOK
  396. = #{isMeetBook},
  397. </if>
  398. <if test="isChk != null and isChk != ''">IS_CHK
  399. = #{isChk},
  400. </if>
  401. <if test="isChkLeak != null and isChkLeak != ''">IS_CHK_LEAK
  402. = #{isChkLeak},
  403. </if>
  404. <if test="chkInfo != null and chkInfo != ''">CHK_INFO
  405. = #{chkInfo},
  406. </if>
  407. <if test="isSprrt != null and isSprrt != ''">IS_SPRRT
  408. = #{isSprrt},
  409. </if>
  410. <if test="isLook != null and isLook != ''">IS_LOOK
  411. = #{isLook},
  412. </if>
  413. <if test="isBuldChk != null and isBuldChk != ''">IS_BULD_CHK
  414. = #{isBuldChk},
  415. </if>
  416. <if test="supTel != null and supTel != ''">SUP_TEL
  417. = #{supTel},
  418. </if>
  419. <if test="isSupTel != null and isSupTel != ''">IS_SUP_TEL
  420. = #{isSupTel},
  421. </if>
  422. <if test="isTeamDeal != null and isTeamDeal != ''">IS_TEAM_DEAL
  423. = #{isTeamDeal},
  424. </if>
  425. <if test="isPrice != null and isPrice != ''">IS_PRICE
  426. = #{isPrice},
  427. </if>
  428. <if test="priceInfo != null and priceInfo != ''">PRICE_INFO
  429. = #{priceInfo},
  430. </if>
  431. <if test="isCost != null and isCost != ''">IS_COST
  432. = #{isCost},
  433. </if>
  434. <if test="isCostCover != null and isCostCover != ''">IS_COST_COVER
  435. = #{isCostCover},
  436. </if>
  437. <if test="cost != null and cost != ''">COST
  438. = #{cost},
  439. </if>
  440. <if test="isImporve != null and isImporve != ''">IS_IMPORVE
  441. = #{isImporve},
  442. </if>
  443. <if test="isClean != null and isClean != ''">IS_CLEAN
  444. = #{isClean},
  445. </if>
  446. <if test="isCleanRun != null and isCleanRun != ''">IS_CLEAN_RUN
  447. = #{isCleanRun},
  448. </if>
  449. <if test="isDsn != null and isDsn != ''">IS_DSN
  450. = #{isDsn},
  451. </if>
  452. <if test="isDsnRun != null and isDsnRun != ''">IS_DSN_RUN
  453. = #{isDsnRun},
  454. </if>
  455. <if test="isRpt != null and isRpt != ''">IS_RPT
  456. = #{isRpt},
  457. </if>
  458. <if test="isRptUp != null and isRptUp != ''">IS_RPT_UP
  459. = #{isRptUp},
  460. </if>
  461. <if test="persId != null and persId != ''">PERS_ID
  462. = #{persId},
  463. </if>
  464. <if test="intm != null">INTM
  465. = #{intm},
  466. </if>
  467. <if test="uptm != null">UPTM
  468. = #{uptm},
  469. </if>
  470. <if test="note != null and note != ''">NOTE
  471. = #{note},
  472. </if>
  473. <if test="dataStat != null and dataStat != ''">DATA_STAT
  474. = #{dataStat},
  475. </if>
  476. <if test="state != null and state != ''">STATE
  477. = #{state},
  478. </if>
  479. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID
  480. = #{rgstrId},
  481. </if>
  482. <if test="regmId != null and regmId != ''">REGM_ID
  483. = #{regmId},
  484. </if>
  485. <if test="cwsId != null and cwsId != ''">CWS_ID
  486. = #{cwsId},
  487. </if>
  488. </trim>
  489. <where>ID = #{id}</where>
  490. </update>
  491. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspXjvillRun">
  492. update BIS_INSP_XJVILL_RUN
  493. <trim prefix="set" suffixOverrides=",">
  494. <if test="pricingBasis != null and pricingBasis != ''">
  495. PRICING_BASIS = #{pricingBasis},
  496. </if>
  497. <if test="nm != null and nm != ''">NM
  498. = #{nm},
  499. </if>
  500. <if test="adCode != null and adCode != ''">AD_CODE
  501. = #{adCode},
  502. </if>
  503. <if test="adName != null and adName != ''">AD_NAME
  504. = #{adName},
  505. </if>
  506. <if test="loc != null and loc != ''">LOC
  507. = #{loc},
  508. </if>
  509. <if test="waterSupply != null and waterSupply != ''">WATER_SUPPLY
  510. = #{waterSupply},
  511. </if>
  512. <if test="prjNtr != null and prjNtr != ''">PRJ_NTR
  513. = #{prjNtr},
  514. </if>
  515. <if test="prjType != null and prjType != ''">PRJ_TYPE
  516. = #{prjType},
  517. </if>
  518. <if test="persSize != null and persSize != ''">PERS_SIZE
  519. = #{persSize},
  520. </if>
  521. <if test="centerX != null and centerX != ''">CENTER_X
  522. = #{centerX},
  523. </if>
  524. <if test="centerY != null and centerY != ''">CENTER_Y
  525. = #{centerY},
  526. </if>
  527. <if test="gdX != null and gdX != ''">GD_X
  528. = #{gdX},
  529. </if>
  530. <if test="gdY != null and gdY != ''">GD_Y
  531. = #{gdY},
  532. </if>
  533. <if test="isRun != null and isRun != ''">IS_RUN
  534. = #{isRun},
  535. </if>
  536. <if test="isMeet != null and isMeet != ''">IS_MEET
  537. = #{isMeet},
  538. </if>
  539. <if test="isMeetBook != null and isMeetBook != ''">IS_MEET_BOOK
  540. = #{isMeetBook},
  541. </if>
  542. <if test="isChk != null and isChk != ''">IS_CHK
  543. = #{isChk},
  544. </if>
  545. <if test="isChkLeak != null and isChkLeak != ''">IS_CHK_LEAK
  546. = #{isChkLeak},
  547. </if>
  548. <if test="chkInfo != null and chkInfo != ''">CHK_INFO
  549. = #{chkInfo},
  550. </if>
  551. <if test="isSprrt != null and isSprrt != ''">IS_SPRRT
  552. = #{isSprrt},
  553. </if>
  554. <if test="isLook != null and isLook != ''">IS_LOOK
  555. = #{isLook},
  556. </if>
  557. <if test="isBuldChk != null and isBuldChk != ''">IS_BULD_CHK
  558. = #{isBuldChk},
  559. </if>
  560. <if test="supTel != null and supTel != ''">SUP_TEL
  561. = #{supTel},
  562. </if>
  563. <if test="isSupTel != null and isSupTel != ''">IS_SUP_TEL
  564. = #{isSupTel},
  565. </if>
  566. <if test="isTeamDeal != null and isTeamDeal != ''">IS_TEAM_DEAL
  567. = #{isTeamDeal},
  568. </if>
  569. <if test="isPrice != null and isPrice != ''">IS_PRICE
  570. = #{isPrice},
  571. </if>
  572. <if test="priceInfo != null and priceInfo != ''">PRICE_INFO
  573. = #{priceInfo},
  574. </if>
  575. <if test="isCost != null and isCost != ''">IS_COST
  576. = #{isCost},
  577. </if>
  578. <if test="isCostCover != null and isCostCover != ''">IS_COST_COVER
  579. = #{isCostCover},
  580. </if>
  581. <if test="cost != null and cost != ''">COST
  582. = #{cost},
  583. </if>
  584. <if test="isImporve != null and isImporve != ''">IS_IMPORVE
  585. = #{isImporve},
  586. </if>
  587. <if test="isClean != null and isClean != ''">IS_CLEAN
  588. = #{isClean},
  589. </if>
  590. <if test="isCleanRun != null and isCleanRun != ''">IS_CLEAN_RUN
  591. = #{isCleanRun},
  592. </if>
  593. <if test="isDsn != null and isDsn != ''">IS_DSN
  594. = #{isDsn},
  595. </if>
  596. <if test="isDsnRun != null and isDsnRun != ''">IS_DSN_RUN
  597. = #{isDsnRun},
  598. </if>
  599. <if test="isRpt != null and isRpt != ''">IS_RPT
  600. = #{isRpt},
  601. </if>
  602. <if test="isRptUp != null and isRptUp != ''">IS_RPT_UP
  603. = #{isRptUp},
  604. </if>
  605. <if test="persId != null and persId != ''">PERS_ID
  606. = #{persId},
  607. </if>
  608. <if test="intm != null">INTM
  609. = #{intm},
  610. </if>
  611. <if test="uptm != null">UPTM
  612. = #{uptm},
  613. </if>
  614. <if test="note != null and note != ''">NOTE
  615. = #{note},
  616. </if>
  617. <if test="dataStat != null and dataStat != ''">DATA_STAT
  618. = #{dataStat},
  619. </if>
  620. <if test="state != null and state != ''">STATE
  621. = #{state},
  622. </if>
  623. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID
  624. = #{rgstrId},
  625. </if>
  626. <if test="regmId != null and regmId != ''">REGM_ID
  627. = #{regmId},
  628. </if>
  629. <if test="cwsId != null and cwsId != ''">CWS_ID
  630. = #{cwsId},
  631. </if>
  632. </trim>
  633. <include refid="page_where"/>
  634. </update>
  635. <!-- 其他自定义SQL -->
  636. </mapper>