BisInspWrm2021WellwDao.xml 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044
  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.BisInspWrm2021WellwDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw" id="bisInspWrm2021WellwResultMap">
  5. <result property="id" column="ID"/>
  6. <result property="rgstrId" column="RGSTR_ID"/>
  7. <result property="bchkDep" column="BCHK_DEP"/>
  8. <result property="bchkDepCon" column="BCHK_DEP_CON"/>
  9. <result property="chkDep" column="CHK_DEP"/>
  10. <result property="chkDepPers" column="CHK_DEP_PERS"/>
  11. <result property="chkTm" column="CHK_TM"/>
  12. <result property="yearAckPlan" column="YEAR_ACK_PLAN"/>
  13. <result property="yearAckFnsh" column="YEAR_ACK_FNSH"/>
  14. <result property="yearAckPblm" column="YEAR_ACK_PBLM"/>
  15. <result property="yearAckChk" column="YEAR_ACK_CHK"/>
  16. <result property="snwtPlan" column="SNWT_PLAN"/>
  17. <result property="snwtFnsh" column="SNWT_FNSH"/>
  18. <result property="snwtPblm" column="SNWT_PBLM"/>
  19. <result property="snwtChk" column="SNWT_CHK"/>
  20. <result property="zNote" column="Z_NOTE"/>
  21. <result property="zPblm" column="Z_PBLM"/>
  22. <result property="zChk" column="Z_CHK"/>
  23. <result property="rvwtNote" column="RVWT_NOTE"/>
  24. <result property="rvwtPblm" column="RVWT_PBLM"/>
  25. <result property="rvwtChk" column="RVWT_CHK"/>
  26. <result property="awtsvPblan" column="AWTSV_PBLAN"/>
  27. <result property="awtsvFnsh" column="AWTSV_FNSH"/>
  28. <result property="awtsvPblm" column="AWTSV_PBLM"/>
  29. <result property="awtsvChk" column="AWTSV_CHK"/>
  30. <result property="twtsvPlan" column="TWTSV_PLAN"/>
  31. <result property="twtsvFnsh" column="TWTSV_FNSH"/>
  32. <result property="twtsvPblm" column="TWTSV_PBLM"/>
  33. <result property="twtsvChk" column="TWTSV_CHK"/>
  34. <result property="iwtsvPlan" column="IWTSV_PLAN"/>
  35. <result property="iwtsvFnsh" column="IWTSV_FNSH"/>
  36. <result property="iwtsvPblm" column="IWTSV_PBLM"/>
  37. <result property="iwtsvChk" column="IWTSV_CHK"/>
  38. <result property="appSnwtPlan" column="APP_SNWT_PLAN"/>
  39. <result property="appSnwtFnsh" column="APP_SNWT_FNSH"/>
  40. <result property="appSnwtPblm" column="APP_SNWT_PBLM"/>
  41. <result property="appSnwtChk" column="APP_SNWT_CHK"/>
  42. <result property="rplcPlan" column="RPLC_PLAN"/>
  43. <result property="rplcPblm" column="RPLC_PBLM"/>
  44. <result property="rplcChk" column="RPLC_CHK"/>
  45. <result property="suwtPlan" column="SUWT_PLAN"/>
  46. <result property="suwtFnsh" column="SUWT_FNSH"/>
  47. <result property="suwtPblm" column="SUWT_PBLM"/>
  48. <result property="suwtChk" column="SUWT_CHK"/>
  49. <result property="nborNote" column="NBOR_NOTE"/>
  50. <result property="nborPblm" column="NBOR_PBLM"/>
  51. <result property="nborChk" column="NBOR_CHK"/>
  52. <result property="wellPlan" column="WELL_PLAN"/>
  53. <result property="wellFnsh" column="WELL_FNSH"/>
  54. <result property="wellPblm" column="WELL_PBLM"/>
  55. <result property="wellChk" column="WELL_CHK"/>
  56. <result property="nwellNote" column="NWELL_NOTE"/>
  57. <result property="nwellPblm" column="NWELL_PBLM"/>
  58. <result property="nwellChk" column="NWELL_CHK"/>
  59. <result property="uwtNote" column="UWT_NOTE"/>
  60. <result property="uwtPblm" column="UWT_PBLM"/>
  61. <result property="uwtChk" column="UWT_CHK"/>
  62. <result property="isWtprRfm" column="IS_WTPR_RFM"/>
  63. <result property="wtprRfmPblm" column="WTPR_RFM_PBLM"/>
  64. <result property="wtprRfmChk" column="WTPR_RFM_CHK"/>
  65. <result property="isBuldPlan" column="IS_BULD_PLAN"/>
  66. <result property="buldPlanPblm" column="BULD_PLAN_PBLM"/>
  67. <result property="buldPlanChk" column="BULD_PLAN_CHK"/>
  68. <result property="isDutyWrk" column="IS_DUTY_WRK"/>
  69. <result property="dutyWrkPblm" column="DUTY_WRK_PBLM"/>
  70. <result property="dutyWrkChk" column="DUTY_WRK_CHK"/>
  71. <result property="isPbuSys" column="IS_PBU_SYS"/>
  72. <result property="pbuSysPblm" column="PBU_SYS_PBLM"/>
  73. <result property="pbuSysChk" column="PBU_SYS_CHK"/>
  74. <result property="isWrkChk" column="IS_WRK_CHK"/>
  75. <result property="wrkChkPblm" column="WRK_CHK_PBLM"/>
  76. <result property="wrkChkChk" column="WRK_CHK_CHK"/>
  77. <result property="isMendPyear" column="IS_MEND_PYEAR"/>
  78. <result property="mendPyearPblm" column="MEND_PYEAR_PBLM"/>
  79. <result property="mendPyearChk" column="MEND_PYEAR_CHK"/>
  80. <result property="persId" column="PERS_ID"/>
  81. <result property="intm" column="INTM"/>
  82. <result property="uptm" column="UPTM"/>
  83. <result property="status" column="STATUS"/>
  84. <result property="dataStat" column="DATA_STAT"/>
  85. </resultMap>
  86. <sql id="table_columns">
  87. ID,
  88. RGSTR_ID,
  89. BCHK_DEP,
  90. BCHK_DEP_CON,
  91. CHK_DEP,
  92. CHK_DEP_PERS,
  93. CHK_TM,
  94. YEAR_ACK_PLAN,
  95. YEAR_ACK_FNSH,
  96. YEAR_ACK_PBLM,
  97. YEAR_ACK_CHK,
  98. SNWT_PLAN,
  99. SNWT_FNSH,
  100. SNWT_PBLM,
  101. SNWT_CHK,
  102. Z_NOTE,
  103. Z_PBLM,
  104. Z_CHK,
  105. RVWT_NOTE,
  106. RVWT_PBLM,
  107. RVWT_CHK,
  108. AWTSV_PBLAN,
  109. AWTSV_FNSH,
  110. AWTSV_PBLM,
  111. AWTSV_CHK,
  112. TWTSV_PLAN,
  113. TWTSV_FNSH,
  114. TWTSV_PBLM,
  115. TWTSV_CHK,
  116. IWTSV_PLAN,
  117. IWTSV_FNSH,
  118. IWTSV_PBLM,
  119. IWTSV_CHK,
  120. APP_SNWT_PLAN,
  121. APP_SNWT_FNSH,
  122. APP_SNWT_PBLM,
  123. APP_SNWT_CHK,
  124. RPLC_PLAN,
  125. RPLC_PBLM,
  126. RPLC_CHK,
  127. SUWT_PLAN,
  128. SUWT_FNSH,
  129. SUWT_PBLM,
  130. SUWT_CHK,
  131. NBOR_NOTE,
  132. NBOR_PBLM,
  133. NBOR_CHK,
  134. WELL_PLAN,
  135. WELL_FNSH,
  136. WELL_PBLM,
  137. WELL_CHK,
  138. NWELL_NOTE,
  139. NWELL_PBLM,
  140. NWELL_CHK,
  141. UWT_NOTE,
  142. UWT_PBLM,
  143. UWT_CHK,
  144. IS_WTPR_RFM,
  145. WTPR_RFM_PBLM,
  146. WTPR_RFM_CHK,
  147. IS_BULD_PLAN,
  148. BULD_PLAN_PBLM,
  149. BULD_PLAN_CHK,
  150. IS_DUTY_WRK,
  151. DUTY_WRK_PBLM,
  152. DUTY_WRK_CHK,
  153. IS_PBU_SYS,
  154. PBU_SYS_PBLM,
  155. PBU_SYS_CHK,
  156. IS_WRK_CHK,
  157. WRK_CHK_PBLM,
  158. WRK_CHK_CHK,
  159. IS_MEND_PYEAR,
  160. MEND_PYEAR_PBLM,
  161. MEND_PYEAR_CHK,
  162. PERS_ID,
  163. INTM,
  164. UPTM,
  165. STATUS,
  166. DATA_STAT
  167. </sql>
  168. <sql id="entity_properties">
  169. #{id},
  170. #{rgstrId},
  171. #{bchkDep},
  172. #{bchkDepCon},
  173. #{chkDep},
  174. #{chkDepPers},
  175. #{chkTm},
  176. #{yearAckPlan},
  177. #{yearAckFnsh},
  178. #{yearAckPblm},
  179. #{yearAckChk},
  180. #{snwtPlan},
  181. #{snwtFnsh},
  182. #{snwtPblm},
  183. #{snwtChk},
  184. #{zNote},
  185. #{zPblm},
  186. #{zChk},
  187. #{rvwtNote},
  188. #{rvwtPblm},
  189. #{rvwtChk},
  190. #{awtsvPblan},
  191. #{awtsvFnsh},
  192. #{awtsvPblm},
  193. #{awtsvChk},
  194. #{twtsvPlan},
  195. #{twtsvFnsh},
  196. #{twtsvPblm},
  197. #{twtsvChk},
  198. #{iwtsvPlan},
  199. #{iwtsvFnsh},
  200. #{iwtsvPblm},
  201. #{iwtsvChk},
  202. #{appSnwtPlan},
  203. #{appSnwtFnsh},
  204. #{appSnwtPblm},
  205. #{appSnwtChk},
  206. #{rplcPlan},
  207. #{rplcPblm},
  208. #{rplcChk},
  209. #{suwtPlan},
  210. #{suwtFnsh},
  211. #{suwtPblm},
  212. #{suwtChk},
  213. #{nborNote},
  214. #{nborPblm},
  215. #{nborChk},
  216. #{wellPlan},
  217. #{wellFnsh},
  218. #{wellPblm},
  219. #{wellChk},
  220. #{nwellNote},
  221. #{nwellPblm},
  222. #{nwellChk},
  223. #{uwtNote},
  224. #{uwtPblm},
  225. #{uwtChk},
  226. #{isWtprRfm},
  227. #{wtprRfmPblm},
  228. #{wtprRfmChk},
  229. #{isBuldPlan},
  230. #{buldPlanPblm},
  231. #{buldPlanChk},
  232. #{isDutyWrk},
  233. #{dutyWrkPblm},
  234. #{dutyWrkChk},
  235. #{isPbuSys},
  236. #{pbuSysPblm},
  237. #{pbuSysChk},
  238. #{isWrkChk},
  239. #{wrkChkPblm},
  240. #{wrkChkChk},
  241. #{isMendPyear},
  242. #{mendPyearPblm},
  243. #{mendPyearChk},
  244. #{persId},
  245. #{intm},
  246. #{uptm},
  247. #{status},
  248. #{dataStat}
  249. </sql>
  250. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  251. <sql id="page_where">
  252. <trim prefix="where" prefixOverrides="and | or ">
  253. <if test="rgstrId != null and rgstrId != ''">
  254. and RGSTR_ID = #{rgstrId}
  255. </if>
  256. <if test="bchkDep != null and bchkDep != ''">
  257. and BCHK_DEP = #{bchkDep}
  258. </if>
  259. <if test="bchkDepCon != null and bchkDepCon != ''">
  260. and BCHK_DEP_CON = #{bchkDepCon}
  261. </if>
  262. <if test="chkDep != null and chkDep != ''">
  263. and CHK_DEP = #{chkDep}
  264. </if>
  265. <if test="chkDepPers != null and chkDepPers != ''">
  266. and CHK_DEP_PERS = #{chkDepPers}
  267. </if>
  268. <if test="chkTm != null">
  269. and CHK_TM = #{chkTm}
  270. </if>
  271. <if test="yearAckPlan != null and yearAckPlan != ''">
  272. and YEAR_ACK_PLAN = #{yearAckPlan}
  273. </if>
  274. <if test="yearAckFnsh != null and yearAckFnsh != ''">
  275. and YEAR_ACK_FNSH = #{yearAckFnsh}
  276. </if>
  277. <if test="yearAckPblm != null and yearAckPblm != ''">
  278. and YEAR_ACK_PBLM = #{yearAckPblm}
  279. </if>
  280. <if test="yearAckChk != null and yearAckChk != ''">
  281. and YEAR_ACK_CHK = #{yearAckChk}
  282. </if>
  283. <if test="snwtPlan != null and snwtPlan != ''">
  284. and SNWT_PLAN = #{snwtPlan}
  285. </if>
  286. <if test="snwtFnsh != null and snwtFnsh != ''">
  287. and SNWT_FNSH = #{snwtFnsh}
  288. </if>
  289. <if test="snwtPblm != null and snwtPblm != ''">
  290. and SNWT_PBLM = #{snwtPblm}
  291. </if>
  292. <if test="snwtChk != null and snwtChk != ''">
  293. and SNWT_CHK = #{snwtChk}
  294. </if>
  295. <if test="zNote != null and zNote != ''">
  296. and Z_NOTE = #{zNote}
  297. </if>
  298. <if test="zPblm != null and zPblm != ''">
  299. and Z_PBLM = #{zPblm}
  300. </if>
  301. <if test="zChk != null and zChk != ''">
  302. and Z_CHK = #{zChk}
  303. </if>
  304. <if test="rvwtNote != null and rvwtNote != ''">
  305. and RVWT_NOTE = #{rvwtNote}
  306. </if>
  307. <if test="rvwtPblm != null and rvwtPblm != ''">
  308. and RVWT_PBLM = #{rvwtPblm}
  309. </if>
  310. <if test="rvwtChk != null and rvwtChk != ''">
  311. and RVWT_CHK = #{rvwtChk}
  312. </if>
  313. <if test="awtsvPblan != null and awtsvPblan != ''">
  314. and AWTSV_PBLAN = #{awtsvPblan}
  315. </if>
  316. <if test="awtsvFnsh != null and awtsvFnsh != ''">
  317. and AWTSV_FNSH = #{awtsvFnsh}
  318. </if>
  319. <if test="awtsvPblm != null and awtsvPblm != ''">
  320. and AWTSV_PBLM = #{awtsvPblm}
  321. </if>
  322. <if test="awtsvChk != null and awtsvChk != ''">
  323. and AWTSV_CHK = #{awtsvChk}
  324. </if>
  325. <if test="twtsvPlan != null and twtsvPlan != ''">
  326. and TWTSV_PLAN = #{twtsvPlan}
  327. </if>
  328. <if test="twtsvFnsh != null and twtsvFnsh != ''">
  329. and TWTSV_FNSH = #{twtsvFnsh}
  330. </if>
  331. <if test="twtsvPblm != null and twtsvPblm != ''">
  332. and TWTSV_PBLM = #{twtsvPblm}
  333. </if>
  334. <if test="twtsvChk != null and twtsvChk != ''">
  335. and TWTSV_CHK = #{twtsvChk}
  336. </if>
  337. <if test="iwtsvPlan != null and iwtsvPlan != ''">
  338. and IWTSV_PLAN = #{iwtsvPlan}
  339. </if>
  340. <if test="iwtsvFnsh != null and iwtsvFnsh != ''">
  341. and IWTSV_FNSH = #{iwtsvFnsh}
  342. </if>
  343. <if test="iwtsvPblm != null and iwtsvPblm != ''">
  344. and IWTSV_PBLM = #{iwtsvPblm}
  345. </if>
  346. <if test="iwtsvChk != null and iwtsvChk != ''">
  347. and IWTSV_CHK = #{iwtsvChk}
  348. </if>
  349. <if test="appSnwtPlan != null and appSnwtPlan != ''">
  350. and APP_SNWT_PLAN = #{appSnwtPlan}
  351. </if>
  352. <if test="appSnwtFnsh != null and appSnwtFnsh != ''">
  353. and APP_SNWT_FNSH = #{appSnwtFnsh}
  354. </if>
  355. <if test="appSnwtPblm != null and appSnwtPblm != ''">
  356. and APP_SNWT_PBLM = #{appSnwtPblm}
  357. </if>
  358. <if test="appSnwtChk != null and appSnwtChk != ''">
  359. and APP_SNWT_CHK = #{appSnwtChk}
  360. </if>
  361. <if test="rplcPlan != null and rplcPlan != ''">
  362. and RPLC_PLAN = #{rplcPlan}
  363. </if>
  364. <if test="rplcPblm != null and rplcPblm != ''">
  365. and RPLC_PBLM = #{rplcPblm}
  366. </if>
  367. <if test="rplcChk != null and rplcChk != ''">
  368. and RPLC_CHK = #{rplcChk}
  369. </if>
  370. <if test="suwtPlan != null and suwtPlan != ''">
  371. and SUWT_PLAN = #{suwtPlan}
  372. </if>
  373. <if test="suwtFnsh != null and suwtFnsh != ''">
  374. and SUWT_FNSH = #{suwtFnsh}
  375. </if>
  376. <if test="suwtPblm != null and suwtPblm != ''">
  377. and SUWT_PBLM = #{suwtPblm}
  378. </if>
  379. <if test="suwtChk != null and suwtChk != ''">
  380. and SUWT_CHK = #{suwtChk}
  381. </if>
  382. <if test="nborNote != null and nborNote != ''">
  383. and NBOR_NOTE = #{nborNote}
  384. </if>
  385. <if test="nborPblm != null and nborPblm != ''">
  386. and NBOR_PBLM = #{nborPblm}
  387. </if>
  388. <if test="nborChk != null and nborChk != ''">
  389. and NBOR_CHK = #{nborChk}
  390. </if>
  391. <if test="wellPlan != null and wellPlan != ''">
  392. and WELL_PLAN = #{wellPlan}
  393. </if>
  394. <if test="wellFnsh != null and wellFnsh != ''">
  395. and WELL_FNSH = #{wellFnsh}
  396. </if>
  397. <if test="wellPblm != null and wellPblm != ''">
  398. and WELL_PBLM = #{wellPblm}
  399. </if>
  400. <if test="wellChk != null and wellChk != ''">
  401. and WELL_CHK = #{wellChk}
  402. </if>
  403. <if test="nwellNote != null and nwellNote != ''">
  404. and NWELL_NOTE = #{nwellNote}
  405. </if>
  406. <if test="nwellPblm != null and nwellPblm != ''">
  407. and NWELL_PBLM = #{nwellPblm}
  408. </if>
  409. <if test="nwellChk != null and nwellChk != ''">
  410. and NWELL_CHK = #{nwellChk}
  411. </if>
  412. <if test="uwtNote != null and uwtNote != ''">
  413. and UWT_NOTE = #{uwtNote}
  414. </if>
  415. <if test="uwtPblm != null and uwtPblm != ''">
  416. and UWT_PBLM = #{uwtPblm}
  417. </if>
  418. <if test="uwtChk != null and uwtChk != ''">
  419. and UWT_CHK = #{uwtChk}
  420. </if>
  421. <if test="isWtprRfm != null and isWtprRfm != ''">
  422. and IS_WTPR_RFM = #{isWtprRfm}
  423. </if>
  424. <if test="wtprRfmPblm != null and wtprRfmPblm != ''">
  425. and WTPR_RFM_PBLM = #{wtprRfmPblm}
  426. </if>
  427. <if test="wtprRfmChk != null and wtprRfmChk != ''">
  428. and WTPR_RFM_CHK = #{wtprRfmChk}
  429. </if>
  430. <if test="isBuldPlan != null and isBuldPlan != ''">
  431. and IS_BULD_PLAN = #{isBuldPlan}
  432. </if>
  433. <if test="buldPlanPblm != null and buldPlanPblm != ''">
  434. and BULD_PLAN_PBLM = #{buldPlanPblm}
  435. </if>
  436. <if test="buldPlanChk != null and buldPlanChk != ''">
  437. and BULD_PLAN_CHK = #{buldPlanChk}
  438. </if>
  439. <if test="isDutyWrk != null and isDutyWrk != ''">
  440. and IS_DUTY_WRK = #{isDutyWrk}
  441. </if>
  442. <if test="dutyWrkPblm != null and dutyWrkPblm != ''">
  443. and DUTY_WRK_PBLM = #{dutyWrkPblm}
  444. </if>
  445. <if test="dutyWrkChk != null and dutyWrkChk != ''">
  446. and DUTY_WRK_CHK = #{dutyWrkChk}
  447. </if>
  448. <if test="isPbuSys != null and isPbuSys != ''">
  449. and IS_PBU_SYS = #{isPbuSys}
  450. </if>
  451. <if test="pbuSysPblm != null and pbuSysPblm != ''">
  452. and PBU_SYS_PBLM = #{pbuSysPblm}
  453. </if>
  454. <if test="pbuSysChk != null and pbuSysChk != ''">
  455. and PBU_SYS_CHK = #{pbuSysChk}
  456. </if>
  457. <if test="isWrkChk != null and isWrkChk != ''">
  458. and IS_WRK_CHK = #{isWrkChk}
  459. </if>
  460. <if test="wrkChkPblm != null and wrkChkPblm != ''">
  461. and WRK_CHK_PBLM = #{wrkChkPblm}
  462. </if>
  463. <if test="wrkChkChk != null and wrkChkChk != ''">
  464. and WRK_CHK_CHK = #{wrkChkChk}
  465. </if>
  466. <if test="isMendPyear != null and isMendPyear != ''">
  467. and IS_MEND_PYEAR = #{isMendPyear}
  468. </if>
  469. <if test="mendPyearPblm != null and mendPyearPblm != ''">
  470. and MEND_PYEAR_PBLM = #{mendPyearPblm}
  471. </if>
  472. <if test="mendPyearChk != null and mendPyearChk != ''">
  473. and MEND_PYEAR_CHK = #{mendPyearChk}
  474. </if>
  475. <if test="persId != null and persId != ''">
  476. and PERS_ID = #{persId}
  477. </if>
  478. <if test="intm != null">
  479. and INTM = #{intm}
  480. </if>
  481. <if test="uptm != null">
  482. and UPTM = #{uptm}
  483. </if>
  484. <if test="status != null and status != ''">
  485. and STATUS = #{status}
  486. </if>
  487. <if test="dataStat != null and dataStat != ''">
  488. and DATA_STAT = #{dataStat}
  489. </if>
  490. and DATA_STAT='0'
  491. </trim>
  492. </sql>
  493. <select id="get" resultMap="bisInspWrm2021WellwResultMap" parameterType="String">
  494. select
  495. <include refid="table_columns"/>
  496. from BIS_INSP_WRM2021_WELLW where RGSTR_ID = #{id}
  497. </select>
  498. <select id="getBy" resultMap="bisInspWrm2021WellwResultMap">
  499. select
  500. <include refid="table_columns"/>
  501. from BIS_INSP_WRM2021_WELLW
  502. <include refid="page_where"/>
  503. </select>
  504. <select id="findAll" resultMap="bisInspWrm2021WellwResultMap">
  505. select
  506. <include refid="table_columns"/>
  507. from BIS_INSP_WRM2021_WELLW
  508. </select>
  509. <select id="findList" resultMap="bisInspWrm2021WellwResultMap">
  510. select
  511. <include refid="table_columns"/>
  512. from BIS_INSP_WRM2021_WELLW
  513. <include refid="page_where"/>
  514. </select>
  515. <select id="selectCount" resultType="int">
  516. select count(ID) from BIS_INSP_WRM2021_WELLW
  517. <include refid="page_where"/>
  518. </select>
  519. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw">
  520. insert into BIS_INSP_WRM2021_WELLW(
  521. <include refid="table_columns"/>
  522. )
  523. values (
  524. <include refid="entity_properties"/>
  525. )
  526. </insert>
  527. <delete id="delete" parameterType="java.lang.String">
  528. update BIS_INSP_WRM2021_WELLW set DATA_STAT='9' where ID = #{id}
  529. </delete>
  530. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw">
  531. update BIS_INSP_WRM2021_WELLW set DATA_STAT='9'
  532. <include refid="page_where"/>
  533. </delete>
  534. <update id="deleteInFlag" parameterType="java.lang.String">
  535. update BIS_INSP_WRM2021_WELLW set DATA_STAT = '9' where ID = #{id}
  536. </update>
  537. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw">
  538. update BIS_INSP_WRM2021_WELLW
  539. <trim prefix="set" suffixOverrides=",">
  540. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID
  541. = #{rgstrId},
  542. </if>
  543. <if test="bchkDep != null and bchkDep != ''">BCHK_DEP
  544. = #{bchkDep},
  545. </if>
  546. <if test="bchkDepCon != null and bchkDepCon != ''">BCHK_DEP_CON
  547. = #{bchkDepCon},
  548. </if>
  549. <if test="chkDep != null and chkDep != ''">CHK_DEP
  550. = #{chkDep},
  551. </if>
  552. <if test="chkDepPers != null and chkDepPers != ''">CHK_DEP_PERS
  553. = #{chkDepPers},
  554. </if>
  555. <if test="chkTm != null">CHK_TM
  556. = #{chkTm},
  557. </if>
  558. <if test="yearAckPlan != null and yearAckPlan != ''">YEAR_ACK_PLAN
  559. = #{yearAckPlan},
  560. </if>
  561. <if test="yearAckFnsh != null and yearAckFnsh != ''">YEAR_ACK_FNSH
  562. = #{yearAckFnsh},
  563. </if>
  564. <if test="yearAckPblm != null and yearAckPblm != ''">YEAR_ACK_PBLM
  565. = #{yearAckPblm},
  566. </if>
  567. <if test="yearAckChk != null and yearAckChk != ''">YEAR_ACK_CHK
  568. = #{yearAckChk},
  569. </if>
  570. <if test="snwtPlan != null and snwtPlan != ''">SNWT_PLAN
  571. = #{snwtPlan},
  572. </if>
  573. <if test="snwtFnsh != null and snwtFnsh != ''">SNWT_FNSH
  574. = #{snwtFnsh},
  575. </if>
  576. <if test="snwtPblm != null and snwtPblm != ''">SNWT_PBLM
  577. = #{snwtPblm},
  578. </if>
  579. <if test="snwtChk != null and snwtChk != ''">SNWT_CHK
  580. = #{snwtChk},
  581. </if>
  582. <if test="zNote != null and zNote != ''">Z_NOTE
  583. = #{zNote},
  584. </if>
  585. <if test="zPblm != null and zPblm != ''">Z_PBLM
  586. = #{zPblm},
  587. </if>
  588. <if test="zChk != null and zChk != ''">Z_CHK
  589. = #{zChk},
  590. </if>
  591. <if test="rvwtNote != null and rvwtNote != ''">RVWT_NOTE
  592. = #{rvwtNote},
  593. </if>
  594. <if test="rvwtPblm != null and rvwtPblm != ''">RVWT_PBLM
  595. = #{rvwtPblm},
  596. </if>
  597. <if test="rvwtChk != null and rvwtChk != ''">RVWT_CHK
  598. = #{rvwtChk},
  599. </if>
  600. <if test="awtsvPblan != null and awtsvPblan != ''">AWTSV_PBLAN
  601. = #{awtsvPblan},
  602. </if>
  603. <if test="awtsvFnsh != null and awtsvFnsh != ''">AWTSV_FNSH
  604. = #{awtsvFnsh},
  605. </if>
  606. <if test="awtsvPblm != null and awtsvPblm != ''">AWTSV_PBLM
  607. = #{awtsvPblm},
  608. </if>
  609. <if test="awtsvChk != null and awtsvChk != ''">AWTSV_CHK
  610. = #{awtsvChk},
  611. </if>
  612. <if test="twtsvPlan != null and twtsvPlan != ''">TWTSV_PLAN
  613. = #{twtsvPlan},
  614. </if>
  615. <if test="twtsvFnsh != null and twtsvFnsh != ''">TWTSV_FNSH
  616. = #{twtsvFnsh},
  617. </if>
  618. <if test="twtsvPblm != null and twtsvPblm != ''">TWTSV_PBLM
  619. = #{twtsvPblm},
  620. </if>
  621. <if test="twtsvChk != null and twtsvChk != ''">TWTSV_CHK
  622. = #{twtsvChk},
  623. </if>
  624. <if test="iwtsvPlan != null and iwtsvPlan != ''">IWTSV_PLAN
  625. = #{iwtsvPlan},
  626. </if>
  627. <if test="iwtsvFnsh != null and iwtsvFnsh != ''">IWTSV_FNSH
  628. = #{iwtsvFnsh},
  629. </if>
  630. <if test="iwtsvPblm != null and iwtsvPblm != ''">IWTSV_PBLM
  631. = #{iwtsvPblm},
  632. </if>
  633. <if test="iwtsvChk != null and iwtsvChk != ''">IWTSV_CHK
  634. = #{iwtsvChk},
  635. </if>
  636. <if test="appSnwtPlan != null and appSnwtPlan != ''">APP_SNWT_PLAN
  637. = #{appSnwtPlan},
  638. </if>
  639. <if test="appSnwtFnsh != null and appSnwtFnsh != ''">APP_SNWT_FNSH
  640. = #{appSnwtFnsh},
  641. </if>
  642. <if test="appSnwtPblm != null and appSnwtPblm != ''">APP_SNWT_PBLM
  643. = #{appSnwtPblm},
  644. </if>
  645. <if test="appSnwtChk != null and appSnwtChk != ''">APP_SNWT_CHK
  646. = #{appSnwtChk},
  647. </if>
  648. <if test="rplcPlan != null and rplcPlan != ''">RPLC_PLAN
  649. = #{rplcPlan},
  650. </if>
  651. <if test="rplcPblm != null and rplcPblm != ''">RPLC_PBLM
  652. = #{rplcPblm},
  653. </if>
  654. <if test="rplcChk != null and rplcChk != ''">RPLC_CHK
  655. = #{rplcChk},
  656. </if>
  657. <if test="suwtPlan != null and suwtPlan != ''">SUWT_PLAN
  658. = #{suwtPlan},
  659. </if>
  660. <if test="suwtFnsh != null and suwtFnsh != ''">SUWT_FNSH
  661. = #{suwtFnsh},
  662. </if>
  663. <if test="suwtPblm != null and suwtPblm != ''">SUWT_PBLM
  664. = #{suwtPblm},
  665. </if>
  666. <if test="suwtChk != null and suwtChk != ''">SUWT_CHK
  667. = #{suwtChk},
  668. </if>
  669. <if test="nborNote != null and nborNote != ''">NBOR_NOTE
  670. = #{nborNote},
  671. </if>
  672. <if test="nborPblm != null and nborPblm != ''">NBOR_PBLM
  673. = #{nborPblm},
  674. </if>
  675. <if test="nborChk != null and nborChk != ''">NBOR_CHK
  676. = #{nborChk},
  677. </if>
  678. <if test="wellPlan != null and wellPlan != ''">WELL_PLAN
  679. = #{wellPlan},
  680. </if>
  681. <if test="wellFnsh != null and wellFnsh != ''">WELL_FNSH
  682. = #{wellFnsh},
  683. </if>
  684. <if test="wellPblm != null and wellPblm != ''">WELL_PBLM
  685. = #{wellPblm},
  686. </if>
  687. <if test="wellChk != null and wellChk != ''">WELL_CHK
  688. = #{wellChk},
  689. </if>
  690. <if test="nwellNote != null and nwellNote != ''">NWELL_NOTE
  691. = #{nwellNote},
  692. </if>
  693. <if test="nwellPblm != null and nwellPblm != ''">NWELL_PBLM
  694. = #{nwellPblm},
  695. </if>
  696. <if test="nwellChk != null and nwellChk != ''">NWELL_CHK
  697. = #{nwellChk},
  698. </if>
  699. <if test="uwtNote != null and uwtNote != ''">UWT_NOTE
  700. = #{uwtNote},
  701. </if>
  702. <if test="uwtPblm != null and uwtPblm != ''">UWT_PBLM
  703. = #{uwtPblm},
  704. </if>
  705. <if test="uwtChk != null and uwtChk != ''">UWT_CHK
  706. = #{uwtChk},
  707. </if>
  708. <if test="isWtprRfm != null and isWtprRfm != ''">IS_WTPR_RFM
  709. = #{isWtprRfm},
  710. </if>
  711. <if test="wtprRfmPblm != null and wtprRfmPblm != ''">WTPR_RFM_PBLM
  712. = #{wtprRfmPblm},
  713. </if>
  714. <if test="wtprRfmChk != null and wtprRfmChk != ''">WTPR_RFM_CHK
  715. = #{wtprRfmChk},
  716. </if>
  717. <if test="isBuldPlan != null and isBuldPlan != ''">IS_BULD_PLAN
  718. = #{isBuldPlan},
  719. </if>
  720. <if test="buldPlanPblm != null and buldPlanPblm != ''">BULD_PLAN_PBLM
  721. = #{buldPlanPblm},
  722. </if>
  723. <if test="buldPlanChk != null and buldPlanChk != ''">BULD_PLAN_CHK
  724. = #{buldPlanChk},
  725. </if>
  726. <if test="isDutyWrk != null and isDutyWrk != ''">IS_DUTY_WRK
  727. = #{isDutyWrk},
  728. </if>
  729. <if test="dutyWrkPblm != null and dutyWrkPblm != ''">DUTY_WRK_PBLM
  730. = #{dutyWrkPblm},
  731. </if>
  732. <if test="dutyWrkChk != null and dutyWrkChk != ''">DUTY_WRK_CHK
  733. = #{dutyWrkChk},
  734. </if>
  735. <if test="isPbuSys != null and isPbuSys != ''">IS_PBU_SYS
  736. = #{isPbuSys},
  737. </if>
  738. <if test="pbuSysPblm != null and pbuSysPblm != ''">PBU_SYS_PBLM
  739. = #{pbuSysPblm},
  740. </if>
  741. <if test="pbuSysChk != null and pbuSysChk != ''">PBU_SYS_CHK
  742. = #{pbuSysChk},
  743. </if>
  744. <if test="isWrkChk != null and isWrkChk != ''">IS_WRK_CHK
  745. = #{isWrkChk},
  746. </if>
  747. <if test="wrkChkPblm != null and wrkChkPblm != ''">WRK_CHK_PBLM
  748. = #{wrkChkPblm},
  749. </if>
  750. <if test="wrkChkChk != null and wrkChkChk != ''">WRK_CHK_CHK
  751. = #{wrkChkChk},
  752. </if>
  753. <if test="isMendPyear != null and isMendPyear != ''">IS_MEND_PYEAR
  754. = #{isMendPyear},
  755. </if>
  756. <if test="mendPyearPblm != null and mendPyearPblm != ''">MEND_PYEAR_PBLM
  757. = #{mendPyearPblm},
  758. </if>
  759. <if test="mendPyearChk != null and mendPyearChk != ''">MEND_PYEAR_CHK
  760. = #{mendPyearChk},
  761. </if>
  762. <if test="persId != null and persId != ''">PERS_ID
  763. = #{persId},
  764. </if>
  765. <if test="intm != null">INTM
  766. = #{intm},
  767. </if>
  768. <if test="uptm != null">UPTM
  769. = #{uptm},
  770. </if>
  771. <if test="status != null and status != ''">STATUS
  772. = #{status},
  773. </if>
  774. <if test="dataStat != null and dataStat != ''">DATA_STAT
  775. = #{dataStat},
  776. </if>
  777. </trim>
  778. <where>ID = #{id}</where>
  779. </update>
  780. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw">
  781. update BIS_INSP_WRM2021_WELLW
  782. <trim prefix="set" suffixOverrides=",">
  783. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID
  784. = #{rgstrId},
  785. </if>
  786. <if test="bchkDep != null and bchkDep != ''">BCHK_DEP
  787. = #{bchkDep},
  788. </if>
  789. <if test="bchkDepCon != null and bchkDepCon != ''">BCHK_DEP_CON
  790. = #{bchkDepCon},
  791. </if>
  792. <if test="chkDep != null and chkDep != ''">CHK_DEP
  793. = #{chkDep},
  794. </if>
  795. <if test="chkDepPers != null and chkDepPers != ''">CHK_DEP_PERS
  796. = #{chkDepPers},
  797. </if>
  798. <if test="chkTm != null">CHK_TM
  799. = #{chkTm},
  800. </if>
  801. <if test="yearAckPlan != null and yearAckPlan != ''">YEAR_ACK_PLAN
  802. = #{yearAckPlan},
  803. </if>
  804. <if test="yearAckFnsh != null and yearAckFnsh != ''">YEAR_ACK_FNSH
  805. = #{yearAckFnsh},
  806. </if>
  807. <if test="yearAckPblm != null and yearAckPblm != ''">YEAR_ACK_PBLM
  808. = #{yearAckPblm},
  809. </if>
  810. <if test="yearAckChk != null and yearAckChk != ''">YEAR_ACK_CHK
  811. = #{yearAckChk},
  812. </if>
  813. <if test="snwtPlan != null and snwtPlan != ''">SNWT_PLAN
  814. = #{snwtPlan},
  815. </if>
  816. <if test="snwtFnsh != null and snwtFnsh != ''">SNWT_FNSH
  817. = #{snwtFnsh},
  818. </if>
  819. <if test="snwtPblm != null and snwtPblm != ''">SNWT_PBLM
  820. = #{snwtPblm},
  821. </if>
  822. <if test="snwtChk != null and snwtChk != ''">SNWT_CHK
  823. = #{snwtChk},
  824. </if>
  825. <if test="zNote != null and zNote != ''">Z_NOTE
  826. = #{zNote},
  827. </if>
  828. <if test="zPblm != null and zPblm != ''">Z_PBLM
  829. = #{zPblm},
  830. </if>
  831. <if test="zChk != null and zChk != ''">Z_CHK
  832. = #{zChk},
  833. </if>
  834. <if test="rvwtNote != null and rvwtNote != ''">RVWT_NOTE
  835. = #{rvwtNote},
  836. </if>
  837. <if test="rvwtPblm != null and rvwtPblm != ''">RVWT_PBLM
  838. = #{rvwtPblm},
  839. </if>
  840. <if test="rvwtChk != null and rvwtChk != ''">RVWT_CHK
  841. = #{rvwtChk},
  842. </if>
  843. <if test="awtsvPblan != null and awtsvPblan != ''">AWTSV_PBLAN
  844. = #{awtsvPblan},
  845. </if>
  846. <if test="awtsvFnsh != null and awtsvFnsh != ''">AWTSV_FNSH
  847. = #{awtsvFnsh},
  848. </if>
  849. <if test="awtsvPblm != null and awtsvPblm != ''">AWTSV_PBLM
  850. = #{awtsvPblm},
  851. </if>
  852. <if test="awtsvChk != null and awtsvChk != ''">AWTSV_CHK
  853. = #{awtsvChk},
  854. </if>
  855. <if test="twtsvPlan != null and twtsvPlan != ''">TWTSV_PLAN
  856. = #{twtsvPlan},
  857. </if>
  858. <if test="twtsvFnsh != null and twtsvFnsh != ''">TWTSV_FNSH
  859. = #{twtsvFnsh},
  860. </if>
  861. <if test="twtsvPblm != null and twtsvPblm != ''">TWTSV_PBLM
  862. = #{twtsvPblm},
  863. </if>
  864. <if test="twtsvChk != null and twtsvChk != ''">TWTSV_CHK
  865. = #{twtsvChk},
  866. </if>
  867. <if test="iwtsvPlan != null and iwtsvPlan != ''">IWTSV_PLAN
  868. = #{iwtsvPlan},
  869. </if>
  870. <if test="iwtsvFnsh != null and iwtsvFnsh != ''">IWTSV_FNSH
  871. = #{iwtsvFnsh},
  872. </if>
  873. <if test="iwtsvPblm != null and iwtsvPblm != ''">IWTSV_PBLM
  874. = #{iwtsvPblm},
  875. </if>
  876. <if test="iwtsvChk != null and iwtsvChk != ''">IWTSV_CHK
  877. = #{iwtsvChk},
  878. </if>
  879. <if test="appSnwtPlan != null and appSnwtPlan != ''">APP_SNWT_PLAN
  880. = #{appSnwtPlan},
  881. </if>
  882. <if test="appSnwtFnsh != null and appSnwtFnsh != ''">APP_SNWT_FNSH
  883. = #{appSnwtFnsh},
  884. </if>
  885. <if test="appSnwtPblm != null and appSnwtPblm != ''">APP_SNWT_PBLM
  886. = #{appSnwtPblm},
  887. </if>
  888. <if test="appSnwtChk != null and appSnwtChk != ''">APP_SNWT_CHK
  889. = #{appSnwtChk},
  890. </if>
  891. <if test="rplcPlan != null and rplcPlan != ''">RPLC_PLAN
  892. = #{rplcPlan},
  893. </if>
  894. <if test="rplcPblm != null and rplcPblm != ''">RPLC_PBLM
  895. = #{rplcPblm},
  896. </if>
  897. <if test="rplcChk != null and rplcChk != ''">RPLC_CHK
  898. = #{rplcChk},
  899. </if>
  900. <if test="suwtPlan != null and suwtPlan != ''">SUWT_PLAN
  901. = #{suwtPlan},
  902. </if>
  903. <if test="suwtFnsh != null and suwtFnsh != ''">SUWT_FNSH
  904. = #{suwtFnsh},
  905. </if>
  906. <if test="suwtPblm != null and suwtPblm != ''">SUWT_PBLM
  907. = #{suwtPblm},
  908. </if>
  909. <if test="suwtChk != null and suwtChk != ''">SUWT_CHK
  910. = #{suwtChk},
  911. </if>
  912. <if test="nborNote != null and nborNote != ''">NBOR_NOTE
  913. = #{nborNote},
  914. </if>
  915. <if test="nborPblm != null and nborPblm != ''">NBOR_PBLM
  916. = #{nborPblm},
  917. </if>
  918. <if test="nborChk != null and nborChk != ''">NBOR_CHK
  919. = #{nborChk},
  920. </if>
  921. <if test="wellPlan != null and wellPlan != ''">WELL_PLAN
  922. = #{wellPlan},
  923. </if>
  924. <if test="wellFnsh != null and wellFnsh != ''">WELL_FNSH
  925. = #{wellFnsh},
  926. </if>
  927. <if test="wellPblm != null and wellPblm != ''">WELL_PBLM
  928. = #{wellPblm},
  929. </if>
  930. <if test="wellChk != null and wellChk != ''">WELL_CHK
  931. = #{wellChk},
  932. </if>
  933. <if test="nwellNote != null and nwellNote != ''">NWELL_NOTE
  934. = #{nwellNote},
  935. </if>
  936. <if test="nwellPblm != null and nwellPblm != ''">NWELL_PBLM
  937. = #{nwellPblm},
  938. </if>
  939. <if test="nwellChk != null and nwellChk != ''">NWELL_CHK
  940. = #{nwellChk},
  941. </if>
  942. <if test="uwtNote != null and uwtNote != ''">UWT_NOTE
  943. = #{uwtNote},
  944. </if>
  945. <if test="uwtPblm != null and uwtPblm != ''">UWT_PBLM
  946. = #{uwtPblm},
  947. </if>
  948. <if test="uwtChk != null and uwtChk != ''">UWT_CHK
  949. = #{uwtChk},
  950. </if>
  951. <if test="isWtprRfm != null and isWtprRfm != ''">IS_WTPR_RFM
  952. = #{isWtprRfm},
  953. </if>
  954. <if test="wtprRfmPblm != null and wtprRfmPblm != ''">WTPR_RFM_PBLM
  955. = #{wtprRfmPblm},
  956. </if>
  957. <if test="wtprRfmChk != null and wtprRfmChk != ''">WTPR_RFM_CHK
  958. = #{wtprRfmChk},
  959. </if>
  960. <if test="isBuldPlan != null and isBuldPlan != ''">IS_BULD_PLAN
  961. = #{isBuldPlan},
  962. </if>
  963. <if test="buldPlanPblm != null and buldPlanPblm != ''">BULD_PLAN_PBLM
  964. = #{buldPlanPblm},
  965. </if>
  966. <if test="buldPlanChk != null and buldPlanChk != ''">BULD_PLAN_CHK
  967. = #{buldPlanChk},
  968. </if>
  969. <if test="isDutyWrk != null and isDutyWrk != ''">IS_DUTY_WRK
  970. = #{isDutyWrk},
  971. </if>
  972. <if test="dutyWrkPblm != null and dutyWrkPblm != ''">DUTY_WRK_PBLM
  973. = #{dutyWrkPblm},
  974. </if>
  975. <if test="dutyWrkChk != null and dutyWrkChk != ''">DUTY_WRK_CHK
  976. = #{dutyWrkChk},
  977. </if>
  978. <if test="isPbuSys != null and isPbuSys != ''">IS_PBU_SYS
  979. = #{isPbuSys},
  980. </if>
  981. <if test="pbuSysPblm != null and pbuSysPblm != ''">PBU_SYS_PBLM
  982. = #{pbuSysPblm},
  983. </if>
  984. <if test="pbuSysChk != null and pbuSysChk != ''">PBU_SYS_CHK
  985. = #{pbuSysChk},
  986. </if>
  987. <if test="isWrkChk != null and isWrkChk != ''">IS_WRK_CHK
  988. = #{isWrkChk},
  989. </if>
  990. <if test="wrkChkPblm != null and wrkChkPblm != ''">WRK_CHK_PBLM
  991. = #{wrkChkPblm},
  992. </if>
  993. <if test="wrkChkChk != null and wrkChkChk != ''">WRK_CHK_CHK
  994. = #{wrkChkChk},
  995. </if>
  996. <if test="isMendPyear != null and isMendPyear != ''">IS_MEND_PYEAR
  997. = #{isMendPyear},
  998. </if>
  999. <if test="mendPyearPblm != null and mendPyearPblm != ''">MEND_PYEAR_PBLM
  1000. = #{mendPyearPblm},
  1001. </if>
  1002. <if test="mendPyearChk != null and mendPyearChk != ''">MEND_PYEAR_CHK
  1003. = #{mendPyearChk},
  1004. </if>
  1005. <if test="persId != null and persId != ''">PERS_ID
  1006. = #{persId},
  1007. </if>
  1008. <if test="intm != null">INTM
  1009. = #{intm},
  1010. </if>
  1011. <if test="uptm != null">UPTM
  1012. = #{uptm},
  1013. </if>
  1014. <if test="status != null and status != ''">STATUS
  1015. = #{status},
  1016. </if>
  1017. <if test="dataStat != null and dataStat != ''">DATA_STAT
  1018. = #{dataStat},
  1019. </if>
  1020. </trim>
  1021. <include refid="page_where"/>
  1022. </update>
  1023. <!-- 其他自定义SQL -->
  1024. </mapper>