BisInspWiujsUnitDao.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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.BisInspWiujsUnitDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspWiujsUnit" id="bisInspWiujsUnitResultMap">
  5. <result property="mainProd" column="MAIN_PROD"/>
  6. <result property="isAccount" column="IS_ACCOUNT"/>
  7. <result property="isByndQuota" column="IS_BYND_QUOTA"/>
  8. <result property="isByndLic" column="IS_BYND_LIC"/>
  9. <result property="isByndYrpln" column="IS_BYND_YRPLN"/>
  10. <result property="isInstall" column="IS_INSTALL"/>
  11. <result property="isCheck" column="IS_CHECK"/>
  12. <result property="isSpotChk" column="IS_SPOT_CHK"/>
  13. <result property="isRectSpotChk" column="IS_RECT_SPOT_CHK"/>
  14. <result property="isAbnormEqpt" column="IS_ABNORM_EQPT"/>
  15. <result property="isBuildBook" column="IS_BUILD_BOOK"/>
  16. <result property="isPay" column="IS_PAY"/>
  17. <result property="isInfo" column="IS_INFO"/>
  18. <result property="isBuildNorm" column="IS_BUILD_NORM"/>
  19. <result property="isBhvrNorm" column="IS_BHVR_NORM"/>
  20. <result property="isBookNorm" column="IS_BOOK_NORM"/>
  21. <result property="isMeasNorm" column="IS_MEAS_NORM"/>
  22. <result property="isMontNorm" column="IS_MONT_NORM"/>
  23. <result property="isMarkNorm" column="IS_MARK_NORM"/>
  24. <result property="isApprAbnorm" column="IS_APPR_ABNORM"/>
  25. <result property="isReport" column="IS_REPORT"/>
  26. <result property="isIssuYrpln" column="IS_ISSU_YRPLN"/>
  27. <result property="isConsist" column="IS_CONSIST"/>
  28. <result property="isEntry" column="IS_ENTRY"/>
  29. <result property="isFill" column="IS_FILL"/>
  30. <result property="isMakeInfo" column="IS_MAKE_INFO"/>
  31. <result property="isOversight" column="IS_OVERSIGHT"/>
  32. <result property="isDailyChk" column="IS_DAILY_CHK"/>
  33. <result property="id" column="ID"/>
  34. <result property="persId" column="PERS_ID"/>
  35. <result property="dataStat" column="DATA_STAT"/>
  36. <result property="intm" column="INTM"/>
  37. <result property="uptm" column="UPTM"/>
  38. <result property="rgstrId" column="RGSTR_ID"/>
  39. <result property="wintName" column="WINT_NAME"/>
  40. <result property="wintNm" column="WINT_NM"/>
  41. <result property="watLicCode" column="WAT_LIC_CODE"/>
  42. <result property="wintCntctPer" column="WINT_CNTCT_PER"/>
  43. <result property="apprDeptPer" column="APPR_DEPT_PER"/>
  44. <result property="isAccept" column="IS_ACCEPT"/>
  45. <result property="isIssueCert" column="IS_ISSUE_CERT"/>
  46. <result property="isEffeCert" column="IS_EFFE_CERT"/>
  47. <result property="isMeas" column="IS_MEAS"/>
  48. <result property="isAccdLaw" column="IS_ACCD_LAW"/>
  49. <result property="isTmCancel" column="IS_TM_CANCEL"/>
  50. <result property="isGetWater" column="IS_GET_WATER"/>
  51. <result property="actualWater" column="ACTUAL_WATER"/>
  52. </resultMap>
  53. <sql id="table_columns">
  54. MAIN_PROD,
  55. IS_ACCOUNT,
  56. IS_BYND_QUOTA,
  57. IS_BYND_LIC,
  58. IS_BYND_YRPLN,
  59. IS_INSTALL,
  60. IS_CHECK,
  61. IS_SPOT_CHK,
  62. IS_RECT_SPOT_CHK,
  63. IS_ABNORM_EQPT,
  64. IS_BUILD_BOOK,
  65. IS_PAY,
  66. IS_INFO,
  67. IS_BUILD_NORM,
  68. IS_BHVR_NORM,
  69. IS_BOOK_NORM,
  70. IS_MEAS_NORM,
  71. IS_MONT_NORM,
  72. IS_MARK_NORM,
  73. IS_APPR_ABNORM,
  74. IS_REPORT,
  75. IS_ISSU_YRPLN,
  76. IS_CONSIST,
  77. IS_ENTRY,
  78. IS_FILL,
  79. IS_MAKE_INFO,
  80. IS_OVERSIGHT,
  81. IS_DAILY_CHK,
  82. ID,
  83. PERS_ID,
  84. DATA_STAT,
  85. INTM,
  86. UPTM,
  87. RGSTR_ID,
  88. WINT_NAME,
  89. WINT_NM,
  90. WAT_LIC_CODE,
  91. WINT_CNTCT_PER,
  92. APPR_DEPT_PER,
  93. IS_ACCEPT,
  94. IS_ISSUE_CERT,
  95. IS_EFFE_CERT,
  96. IS_MEAS,
  97. IS_ACCD_LAW,
  98. IS_TM_CANCEL,
  99. IS_GET_WATER,
  100. ACTUAL_WATER
  101. </sql>
  102. <sql id="entity_properties">
  103. #{mainProd},
  104. #{isAccount},
  105. #{isByndQuota},
  106. #{isByndLic},
  107. #{isByndYrpln},
  108. #{isInstall},
  109. #{isCheck},
  110. #{isSpotChk},
  111. #{isRectSpotChk},
  112. #{isAbnormEqpt},
  113. #{isBuildBook},
  114. #{isPay},
  115. #{isInfo},
  116. #{isBuildNorm},
  117. #{isBhvrNorm},
  118. #{isBookNorm},
  119. #{isMeasNorm},
  120. #{isMontNorm},
  121. #{isMarkNorm},
  122. #{isApprAbnorm},
  123. #{isReport},
  124. #{isIssuYrpln},
  125. #{isConsist},
  126. #{isEntry},
  127. #{isFill},
  128. #{isMakeInfo},
  129. #{isOversight},
  130. #{isDailyChk},
  131. #{id},
  132. #{persId},
  133. #{dataStat},
  134. #{intm},
  135. #{uptm},
  136. #{rgstrId},
  137. #{wintName},
  138. #{wintNm},
  139. #{watLicCode},
  140. #{wintCntctPer},
  141. #{apprDeptPer},
  142. #{isAccept},
  143. #{isIssueCert},
  144. #{isEffeCert},
  145. #{isMeas},
  146. #{isAccdLaw},
  147. #{isTmCancel},
  148. #{isGetWater},
  149. #{actualWater}
  150. </sql>
  151. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  152. <sql id="page_where">
  153. <trim prefix="where" prefixOverrides="and | or ">
  154. <if test="mainProd != null and mainProd != ''">and MAIN_PROD = #{mainProd}</if>
  155. <if test="isAccount != null and isAccount != ''">and IS_ACCOUNT = #{isAccount}</if>
  156. <if test="isByndQuota != null and isByndQuota != ''">and IS_BYND_QUOTA = #{isByndQuota}</if>
  157. <if test="isByndLic != null and isByndLic != ''">and IS_BYND_LIC = #{isByndLic}</if>
  158. <if test="isByndYrpln != null and isByndYrpln != ''">and IS_BYND_YRPLN = #{isByndYrpln}</if>
  159. <if test="isInstall != null and isInstall != ''">and IS_INSTALL = #{isInstall}</if>
  160. <if test="isCheck != null and isCheck != ''">and IS_CHECK = #{isCheck}</if>
  161. <if test="isSpotChk != null and isSpotChk != ''">and IS_SPOT_CHK = #{isSpotChk}</if>
  162. <if test="isRectSpotChk != null and isRectSpotChk != ''">and IS_RECT_SPOT_CHK = #{isRectSpotChk}</if>
  163. <if test="isAbnormEqpt != null and isAbnormEqpt != ''">and IS_ABNORM_EQPT = #{isAbnormEqpt}</if>
  164. <if test="isBuildBook != null and isBuildBook != ''">and IS_BUILD_BOOK = #{isBuildBook}</if>
  165. <if test="isPay != null and isPay != ''">and IS_PAY = #{isPay}</if>
  166. <if test="isInfo != null and isInfo != ''">and IS_INFO = #{isInfo}</if>
  167. <if test="isBuildNorm != null and isBuildNorm != ''">and IS_BUILD_NORM = #{isBuildNorm}</if>
  168. <if test="isBhvrNorm != null and isBhvrNorm != ''">and IS_BHVR_NORM = #{isBhvrNorm}</if>
  169. <if test="isBookNorm != null and isBookNorm != ''">and IS_BOOK_NORM = #{isBookNorm}</if>
  170. <if test="isMeasNorm != null and isMeasNorm != ''">and IS_MEAS_NORM = #{isMeasNorm}</if>
  171. <if test="isMontNorm != null and isMontNorm != ''">and IS_MONT_NORM = #{isMontNorm}</if>
  172. <if test="isMarkNorm != null and isMarkNorm != ''">and IS_MARK_NORM = #{isMarkNorm}</if>
  173. <if test="isApprAbnorm != null and isApprAbnorm != ''">and IS_APPR_ABNORM = #{isApprAbnorm}</if>
  174. <if test="isReport != null and isReport != ''">and IS_REPORT = #{isReport}</if>
  175. <if test="isIssuYrpln != null and isIssuYrpln != ''">and IS_ISSU_YRPLN = #{isIssuYrpln}</if>
  176. <if test="isConsist != null and isConsist != ''">and IS_CONSIST = #{isConsist}</if>
  177. <if test="isEntry != null and isEntry != ''">and IS_ENTRY = #{isEntry}</if>
  178. <if test="isFill != null and isFill != ''">and IS_FILL = #{isFill}</if>
  179. <if test="isMakeInfo != null and isMakeInfo != ''">and IS_MAKE_INFO = #{isMakeInfo}</if>
  180. <if test="isOversight != null and isOversight != ''">and IS_OVERSIGHT = #{isOversight}</if>
  181. <if test="isDailyChk != null and isDailyChk != ''">and IS_DAILY_CHK = #{isDailyChk}</if>
  182. <if test="persId != null and persId != ''">and PERS_ID = #{persId}</if>
  183. <if test="dataStat != null and dataStat != ''">and DATA_STAT = #{dataStat}</if>
  184. <if test="intm != null">and INTM = #{intm}</if>
  185. <if test="uptm != null">and UPTM = #{uptm}</if>
  186. <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
  187. <if test="wintName != null and wintName != ''">and WINT_NAME = #{wintName}</if>
  188. <if test="wintNm != null and wintNm != ''">and WINT_NM = #{wintNm}</if>
  189. <if test="watLicCode != null and watLicCode != ''">and WAT_LIC_CODE = #{watLicCode}</if>
  190. <if test="wintCntctPer != null and wintCntctPer != ''">and WINT_CNTCT_PER = #{wintCntctPer}</if>
  191. <if test="apprDeptPer != null and apprDeptPer != ''">and APPR_DEPT_PER = #{apprDeptPer}</if>
  192. <if test="isAccept != null and isAccept != ''">and IS_ACCEPT = #{isAccept}</if>
  193. <if test="isIssueCert != null and isIssueCert != ''">and IS_ISSUE_CERT = #{isIssueCert}</if>
  194. <if test="isEffeCert != null and isEffeCert != ''">and IS_EFFE_CERT = #{isEffeCert}</if>
  195. <if test="isMeas != null and isMeas != ''">and IS_MEAS = #{isMeas}</if>
  196. <if test="isAccdLaw != null and isAccdLaw != ''">and IS_ACCD_LAW = #{isAccdLaw}</if>
  197. <if test="isTmCancel != null and isTmCancel != ''">and IS_TM_CANCEL = #{isTmCancel}</if>
  198. <if test="isGetWater != null and isGetWater != ''">and IS_GET_WATER = #{isGetWater}</if>
  199. <if test="actualWater != null and actualWater != ''">and ACTUAL_WATER = #{actualWater}</if>
  200. and DATA_STAT='0'
  201. </trim>
  202. </sql>
  203. <select id="get" resultMap="bisInspWiujsUnitResultMap" parameterType="String">
  204. select
  205. <include refid="table_columns"/>
  206. from BIS_INSP_WIUJS_UNIT where RGSTR_ID = #{id}
  207. </select>
  208. <select id="getBy" resultMap="bisInspWiujsUnitResultMap">
  209. select
  210. <include refid="table_columns"/>
  211. from BIS_INSP_WIUJS_UNIT
  212. <include refid="page_where"/>
  213. </select>
  214. <select id="findAll" resultMap="bisInspWiujsUnitResultMap">
  215. select
  216. <include refid="table_columns"/>
  217. from BIS_INSP_WIUJS_UNIT
  218. </select>
  219. <select id="findList" resultMap="bisInspWiujsUnitResultMap">
  220. select
  221. <include refid="table_columns"/>
  222. from BIS_INSP_WIUJS_UNIT
  223. <include refid="page_where"/>
  224. </select>
  225. <select id="selectCount" resultType="int">
  226. select count(ID) from BIS_INSP_WIUJS_UNIT
  227. <include refid="page_where"/>
  228. </select>
  229. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspWiujsUnit">
  230. insert into BIS_INSP_WIUJS_UNIT(
  231. <include refid="table_columns"/>
  232. )
  233. values (
  234. <include refid="entity_properties"/>
  235. )
  236. </insert>
  237. <delete id="delete" parameterType="java.lang.String">
  238. update BIS_INSP_WIUJS_UNIT set DATA_STAT='9' where ID = #{id}
  239. </delete>
  240. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWiujsUnit">
  241. update BIS_INSP_WIUJS_UNIT set DATA_STAT='9'
  242. <include refid="page_where"/>
  243. </delete>
  244. <update id="deleteInFlag" parameterType="java.lang.String">
  245. update BIS_INSP_WIUJS_UNIT set DATA_STAT = '9' where ID = #{id}
  246. </update>
  247. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspWiujsUnit">
  248. update BIS_INSP_WIUJS_UNIT
  249. <trim prefix="set" suffixOverrides=",">
  250. <if test="mainProd != null and mainProd != ''">MAIN_PROD = #{mainProd},</if>
  251. <if test="isAccount != null and isAccount != ''">IS_ACCOUNT = #{isAccount},</if>
  252. <if test="isByndQuota != null and isByndQuota != ''">IS_BYND_QUOTA = #{isByndQuota},</if>
  253. <if test="isByndLic != null and isByndLic != ''">IS_BYND_LIC = #{isByndLic},</if>
  254. <if test="isByndYrpln != null and isByndYrpln != ''">IS_BYND_YRPLN = #{isByndYrpln},</if>
  255. <if test="isInstall != null and isInstall != ''">IS_INSTALL = #{isInstall},</if>
  256. <if test="isCheck != null and isCheck != ''">IS_CHECK = #{isCheck},</if>
  257. <if test="isSpotChk != null and isSpotChk != ''">IS_SPOT_CHK = #{isSpotChk},</if>
  258. <if test="isRectSpotChk != null and isRectSpotChk != ''">IS_RECT_SPOT_CHK = #{isRectSpotChk},</if>
  259. <if test="isAbnormEqpt != null and isAbnormEqpt != ''">IS_ABNORM_EQPT = #{isAbnormEqpt},</if>
  260. <if test="isBuildBook != null and isBuildBook != ''">IS_BUILD_BOOK = #{isBuildBook},</if>
  261. <if test="isPay != null and isPay != ''">IS_PAY = #{isPay},</if>
  262. <if test="isInfo != null and isInfo != ''">IS_INFO = #{isInfo},</if>
  263. <if test="isBuildNorm != null and isBuildNorm != ''">IS_BUILD_NORM = #{isBuildNorm},</if>
  264. <if test="isBhvrNorm != null and isBhvrNorm != ''">IS_BHVR_NORM = #{isBhvrNorm},</if>
  265. <if test="isBookNorm != null and isBookNorm != ''">IS_BOOK_NORM = #{isBookNorm},</if>
  266. <if test="isMeasNorm != null and isMeasNorm != ''">IS_MEAS_NORM = #{isMeasNorm},</if>
  267. <if test="isMontNorm != null and isMontNorm != ''">IS_MONT_NORM = #{isMontNorm},</if>
  268. <if test="isMarkNorm != null and isMarkNorm != ''">IS_MARK_NORM = #{isMarkNorm},</if>
  269. <if test="isApprAbnorm != null and isApprAbnorm != ''">IS_APPR_ABNORM = #{isApprAbnorm},</if>
  270. <if test="isReport != null and isReport != ''">IS_REPORT = #{isReport},</if>
  271. <if test="isIssuYrpln != null and isIssuYrpln != ''">IS_ISSU_YRPLN = #{isIssuYrpln},</if>
  272. <if test="isConsist != null and isConsist != ''">IS_CONSIST = #{isConsist},</if>
  273. <if test="isEntry != null and isEntry != ''">IS_ENTRY = #{isEntry},</if>
  274. <if test="isFill != null and isFill != ''">IS_FILL = #{isFill},</if>
  275. <if test="isMakeInfo != null and isMakeInfo != ''">IS_MAKE_INFO = #{isMakeInfo},</if>
  276. <if test="isOversight != null and isOversight != ''">IS_OVERSIGHT = #{isOversight},</if>
  277. <if test="isDailyChk != null and isDailyChk != ''">IS_DAILY_CHK = #{isDailyChk},</if>
  278. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  279. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  280. <if test="intm != null">INTM = #{intm},</if>
  281. <if test="uptm != null">UPTM = #{uptm},</if>
  282. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  283. <if test="wintName != null and wintName != ''">WINT_NAME = #{wintName},</if>
  284. <if test="wintNm != null and wintNm != ''">WINT_NM = #{wintNm},</if>
  285. <if test="watLicCode != null and watLicCode != ''">WAT_LIC_CODE = #{watLicCode},</if>
  286. <if test="wintCntctPer != null and wintCntctPer != ''">WINT_CNTCT_PER = #{wintCntctPer},</if>
  287. <if test="apprDeptPer != null and apprDeptPer != ''">APPR_DEPT_PER = #{apprDeptPer},</if>
  288. <if test="isAccept != null and isAccept != ''">IS_ACCEPT = #{isAccept},</if>
  289. <if test="isIssueCert != null and isIssueCert != ''">IS_ISSUE_CERT = #{isIssueCert},</if>
  290. <if test="isEffeCert != null and isEffeCert != ''">IS_EFFE_CERT = #{isEffeCert},</if>
  291. <if test="isMeas != null and isMeas != ''">IS_MEAS = #{isMeas},</if>
  292. <if test="isAccdLaw != null and isAccdLaw != ''">IS_ACCD_LAW = #{isAccdLaw},</if>
  293. <if test="isTmCancel != null and isTmCancel != ''">IS_TM_CANCEL = #{isTmCancel},</if>
  294. <if test="isGetWater != null and isGetWater != ''">IS_GET_WATER = #{isGetWater},</if>
  295. <if test="actualWater != null and actualWater != ''">ACTUAL_WATER = #{actualWater},</if>
  296. </trim>
  297. <where>ID = #{id}</where>
  298. </update>
  299. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWiujsUnit">
  300. update BIS_INSP_WIUJS_UNIT
  301. <trim prefix="set" suffixOverrides=",">
  302. <if test="mainProd != null and mainProd != ''">MAIN_PROD = #{mainProd},</if>
  303. <if test="isAccount != null and isAccount != ''">IS_ACCOUNT = #{isAccount},</if>
  304. <if test="isByndQuota != null and isByndQuota != ''">IS_BYND_QUOTA = #{isByndQuota},</if>
  305. <if test="isByndLic != null and isByndLic != ''">IS_BYND_LIC = #{isByndLic},</if>
  306. <if test="isByndYrpln != null and isByndYrpln != ''">IS_BYND_YRPLN = #{isByndYrpln},</if>
  307. <if test="isInstall != null and isInstall != ''">IS_INSTALL = #{isInstall},</if>
  308. <if test="isCheck != null and isCheck != ''">IS_CHECK = #{isCheck},</if>
  309. <if test="isSpotChk != null and isSpotChk != ''">IS_SPOT_CHK = #{isSpotChk},</if>
  310. <if test="isRectSpotChk != null and isRectSpotChk != ''">IS_RECT_SPOT_CHK = #{isRectSpotChk},</if>
  311. <if test="isAbnormEqpt != null and isAbnormEqpt != ''">IS_ABNORM_EQPT = #{isAbnormEqpt},</if>
  312. <if test="isBuildBook != null and isBuildBook != ''">IS_BUILD_BOOK = #{isBuildBook},</if>
  313. <if test="isPay != null and isPay != ''">IS_PAY = #{isPay},</if>
  314. <if test="isInfo != null and isInfo != ''">IS_INFO = #{isInfo},</if>
  315. <if test="isBuildNorm != null and isBuildNorm != ''">IS_BUILD_NORM = #{isBuildNorm},</if>
  316. <if test="isBhvrNorm != null and isBhvrNorm != ''">IS_BHVR_NORM = #{isBhvrNorm},</if>
  317. <if test="isBookNorm != null and isBookNorm != ''">IS_BOOK_NORM = #{isBookNorm},</if>
  318. <if test="isMeasNorm != null and isMeasNorm != ''">IS_MEAS_NORM = #{isMeasNorm},</if>
  319. <if test="isMontNorm != null and isMontNorm != ''">IS_MONT_NORM = #{isMontNorm},</if>
  320. <if test="isMarkNorm != null and isMarkNorm != ''">IS_MARK_NORM = #{isMarkNorm},</if>
  321. <if test="isApprAbnorm != null and isApprAbnorm != ''">IS_APPR_ABNORM = #{isApprAbnorm},</if>
  322. <if test="isReport != null and isReport != ''">IS_REPORT = #{isReport},</if>
  323. <if test="isIssuYrpln != null and isIssuYrpln != ''">IS_ISSU_YRPLN = #{isIssuYrpln},</if>
  324. <if test="isConsist != null and isConsist != ''">IS_CONSIST = #{isConsist},</if>
  325. <if test="isEntry != null and isEntry != ''">IS_ENTRY = #{isEntry},</if>
  326. <if test="isFill != null and isFill != ''">IS_FILL = #{isFill},</if>
  327. <if test="isMakeInfo != null and isMakeInfo != ''">IS_MAKE_INFO = #{isMakeInfo},</if>
  328. <if test="isOversight != null and isOversight != ''">IS_OVERSIGHT = #{isOversight},</if>
  329. <if test="isDailyChk != null and isDailyChk != ''">IS_DAILY_CHK = #{isDailyChk},</if>
  330. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  331. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  332. <if test="intm != null">INTM = #{intm},</if>
  333. <if test="uptm != null">UPTM = #{uptm},</if>
  334. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  335. <if test="wintName != null and wintName != ''">WINT_NAME = #{wintName},</if>
  336. <if test="wintNm != null and wintNm != ''">WINT_NM = #{wintNm},</if>
  337. <if test="watLicCode != null and watLicCode != ''">WAT_LIC_CODE = #{watLicCode},</if>
  338. <if test="wintCntctPer != null and wintCntctPer != ''">WINT_CNTCT_PER = #{wintCntctPer},</if>
  339. <if test="apprDeptPer != null and apprDeptPer != ''">APPR_DEPT_PER = #{apprDeptPer},</if>
  340. <if test="isAccept != null and isAccept != ''">IS_ACCEPT = #{isAccept},</if>
  341. <if test="isIssueCert != null and isIssueCert != ''">IS_ISSUE_CERT = #{isIssueCert},</if>
  342. <if test="isEffeCert != null and isEffeCert != ''">IS_EFFE_CERT = #{isEffeCert},</if>
  343. <if test="isMeas != null and isMeas != ''">IS_MEAS = #{isMeas},</if>
  344. <if test="isAccdLaw != null and isAccdLaw != ''">IS_ACCD_LAW = #{isAccdLaw},</if>
  345. <if test="isTmCancel != null and isTmCancel != ''">IS_TM_CANCEL = #{isTmCancel},</if>
  346. <if test="isGetWater != null and isGetWater != ''">IS_GET_WATER = #{isGetWater},</if>
  347. <if test="actualWater != null and actualWater != ''">ACTUAL_WATER = #{actualWater},</if>
  348. </trim>
  349. <include refid="page_where"/>
  350. </update>
  351. <!-- 其他自定义SQL -->
  352. </mapper>