BisInspWintRgstrIntInfoDao.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  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.BisInspWintRgstrIntInfoDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspWintRgstrIntInfo" id="bisInspWintRgstrIntInfoResultMap">
  5. <result property="isTaowtfswitrEwdirb2" column="IS_TAOWTFSWITR_EWDIRB2"/>
  6. <result property="isTaowtfswitrEwdirb3" column="IS_TAOWTFSWITR_EWDIRB3"/>
  7. <result property="isIsrbHasEfi1" column="IS_ISRB_HAS_EFI1"/>
  8. <result property="isIsrbHasEfi2" column="IS_ISRB_HAS_EFI2"/>
  9. <result property="isIsrbHasEfi3" column="IS_ISRB_HAS_EFI3"/>
  10. <result property="isEfGrant1" column="IS_EF_GRANT1"/>
  11. <result property="isEfGrant2" column="IS_EF_GRANT2"/>
  12. <result property="isEfGrant3" column="IS_EF_GRANT3"/>
  13. <result property="isHasRvCut11" column="IS_HAS_RV_CUT11"/>
  14. <result property="isHasRvCut12" column="IS_HAS_RV_CUT12"/>
  15. <result property="isHasRvCut13" column="IS_HAS_RV_CUT13"/>
  16. <result property="persId" column="PERS_ID"/>
  17. <result property="inTm" column="IN_TM"/>
  18. <result property="upTm" column="UP_TM"/>
  19. <result property="dataStat" column="DATA_STAT"/>
  20. <result property="id" column="ID"/>
  21. <result property="rgstrId" column="RGSTR_ID"/>
  22. <result property="isMrbwtrHasWi" column="IS_MRBWTR_HAS_WI"/>
  23. <result property="mrbwtrNum" column="MRBWTR_NUM"/>
  24. <result property="mrbwtrName" column="MRBWTR_NAME"/>
  25. <result property="hasWiMrbwtrNum" column="HAS_WI_MRBWTR_NUM"/>
  26. <result property="hasWiMrbwtrName" column="HAS_WI_MRBWTR_NAME"/>
  27. <result property="isTaowtfswitrEwdirb" column="IS_TAOWTFSWITR_EWDIRB"/>
  28. <result property="isTawuaEtawt" column="IS_TAWUA_ETAWT"/>
  29. <result property="isIsrbHasEfi" column="IS_ISRB_HAS_EFI"/>
  30. <result property="hasIsrbNum" column="HAS_ISRB_NUM"/>
  31. <result property="hasIsrbName" column="HAS_ISRB_NAME"/>
  32. <result property="isrbNum" column="ISRB_NUM"/>
  33. <result property="hasEfiIsrbNum" column="HAS_EFI_ISRB_NUM"/>
  34. <result property="isEfGrant" column="IS_EF_GRANT"/>
  35. <result property="isGezBanNwt" column="IS_GEZ_BAN_NWT"/>
  36. <result property="isGezGrem" column="IS_GEZ_GREM"/>
  37. <result property="isGraBanNwt" column="IS_GRA_BAN_NWT"/>
  38. <result property="isGoaUnwtlDown" column="IS_GOA_UNWTL_DOWN"/>
  39. <result property="isWintAtcCnstnt" column="IS_WINT_ATC_CNSTNT"/>
  40. <result property="isAtcRwintCnstnt" column="IS_ATC_RWINT_CNSTNT"/>
  41. <result property="wlmRoutRintWint" column="WLM_ROUT_RINT_WINT"/>
  42. <result property="rvCutNum" column="RV_CUT_NUM"/>
  43. <result property="rvCutAcct" column="RV_CUT_ACCT"/>
  44. <result property="lkShkNum" column="LK_SHK_NUM"/>
  45. <result property="lkShkAcct" column="LK_SHK_ACCT"/>
  46. <result property="rvNm1" column="RV_NM1"/>
  47. <result property="rvNm2" column="RV_NM2"/>
  48. <result property="rvNm3" column="RV_NM3"/>
  49. <result property="isMrbwtrHasWi1" column="IS_MRBWTR_HAS_WI1"/>
  50. <result property="isMrbwtrHasWi2" column="IS_MRBWTR_HAS_WI2"/>
  51. <result property="isMrbwtrHasWi3" column="IS_MRBWTR_HAS_WI3"/>
  52. <result property="isIntRv1" column="IS_INT_RV1"/>
  53. <result property="isIntRv2" column="IS_INT_RV2"/>
  54. <result property="isIntRv3" column="IS_INT_RV3"/>
  55. <result property="isHasRvCv1" column="IS_HAS_RV_CV1"/>
  56. <result property="isHasRvCv2" column="IS_HAS_RV_CV2"/>
  57. <result property="isHasRvCv3" column="IS_HAS_RV_CV3"/>
  58. <result property="isTaowtfswitrEwdirb1" column="IS_TAOWTFSWITR_EWDIRB1"/>
  59. <result property="isTaowtfswitrNote" column="IS_TAOWTFSWITR_NOTE"/>
  60. <result property="isIsRbHasNote" column="IS_ISRB_HAS_NOTE"/>
  61. <result property="isEfNote" column="IS_EF_NOTE"/>
  62. <result property="isGezBanNwtNt" column="IS_GEZ_BAN_NWT_NT"/>
  63. <result property="isGraBanNwtNt" column="IS_GRA_BAN_NWT_NT"/>
  64. <result property="isGoaUnwtlDownNt" column="IS_GOA_UNWTL_DOWN_NT"/>
  65. </resultMap>
  66. <sql id="table_columns">
  67. IS_TAOWTFSWITR_EWDIRB2,
  68. IS_TAOWTFSWITR_EWDIRB3,
  69. IS_ISRB_HAS_EFI1,
  70. IS_ISRB_HAS_EFI2,
  71. IS_ISRB_HAS_EFI3,
  72. IS_EF_GRANT1,
  73. IS_EF_GRANT2,
  74. IS_EF_GRANT3,
  75. IS_HAS_RV_CUT11,
  76. IS_HAS_RV_CUT12,
  77. IS_HAS_RV_CUT13,
  78. PERS_ID,
  79. IN_TM,
  80. UP_TM,
  81. DATA_STAT,
  82. ID,
  83. RGSTR_ID,
  84. IS_MRBWTR_HAS_WI,
  85. MRBWTR_NUM,
  86. MRBWTR_NAME,
  87. HAS_WI_MRBWTR_NUM,
  88. HAS_WI_MRBWTR_NAME,
  89. IS_TAOWTFSWITR_EWDIRB,
  90. IS_TAWUA_ETAWT,
  91. IS_ISRB_HAS_EFI,
  92. HAS_ISRB_NUM,
  93. HAS_ISRB_NAME,
  94. ISRB_NUM,
  95. HAS_EFI_ISRB_NUM,
  96. IS_EF_GRANT,
  97. IS_GEZ_BAN_NWT,
  98. IS_GEZ_GREM,
  99. IS_GRA_BAN_NWT,
  100. IS_GOA_UNWTL_DOWN,
  101. IS_WINT_ATC_CNSTNT,
  102. IS_ATC_RWINT_CNSTNT,
  103. WLM_ROUT_RINT_WINT,
  104. RV_CUT_NUM,
  105. RV_CUT_ACCT,
  106. LK_SHK_NUM,
  107. LK_SHK_ACCT,
  108. RV_NM1,
  109. RV_NM2,
  110. RV_NM3,
  111. IS_MRBWTR_HAS_WI1,
  112. IS_MRBWTR_HAS_WI2,
  113. IS_MRBWTR_HAS_WI3,
  114. IS_INT_RV1,
  115. IS_INT_RV2,
  116. IS_INT_RV3,
  117. IS_HAS_RV_CV1,
  118. IS_HAS_RV_CV2,
  119. IS_HAS_RV_CV3,
  120. IS_TAOWTFSWITR_EWDIRB1,
  121. IS_TAOWTFSWITR_NOTE,
  122. IS_ISRB_HAS_NOTE,
  123. IS_EF_NOTE,
  124. IS_GEZ_BAN_NWT_NT,
  125. IS_GRA_BAN_NWT_NT,
  126. IS_GOA_UNWTL_DOWN_NT
  127. </sql>
  128. <sql id="entity_properties">
  129. #{isTaowtfswitrEwdirb2},
  130. #{isTaowtfswitrEwdirb3},
  131. #{isIsrbHasEfi1},
  132. #{isIsrbHasEfi2},
  133. #{isIsrbHasEfi3},
  134. #{isEfGrant1},
  135. #{isEfGrant2},
  136. #{isEfGrant3},
  137. #{isHasRvCut11},
  138. #{isHasRvCut12},
  139. #{isHasRvCut13},
  140. #{persId},
  141. #{inTm},
  142. #{upTm},
  143. #{dataStat},
  144. #{id},
  145. #{rgstrId},
  146. #{isMrbwtrHasWi},
  147. #{mrbwtrNum},
  148. #{mrbwtrName},
  149. #{hasWiMrbwtrNum},
  150. #{hasWiMrbwtrName},
  151. #{isTaowtfswitrEwdirb},
  152. #{isTawuaEtawt},
  153. #{isIsrbHasEfi},
  154. #{hasIsrbNum},
  155. #{hasIsrbName},
  156. #{isrbNum},
  157. #{hasEfiIsrbNum},
  158. #{isEfGrant},
  159. #{isGezBanNwt},
  160. #{isGezGrem},
  161. #{isGraBanNwt},
  162. #{isGoaUnwtlDown},
  163. #{isWintAtcCnstnt},
  164. #{isAtcRwintCnstnt},
  165. #{wlmRoutRintWint},
  166. #{rvCutNum},
  167. #{rvCutAcct},
  168. #{lkShkNum},
  169. #{lkShkAcct},
  170. #{rvNm1},
  171. #{rvNm2},
  172. #{rvNm3},
  173. #{isMrbwtrHasWi1},
  174. #{isMrbwtrHasWi2},
  175. #{isMrbwtrHasWi3},
  176. #{isIntRv1},
  177. #{isIntRv2},
  178. #{isIntRv3},
  179. #{isHasRvCv1},
  180. #{isHasRvCv2},
  181. #{isHasRvCv3},
  182. #{isTaowtfswitrEwdirb1},
  183. #{isTaowtfswitrNote},
  184. #{isIsRbHasNote},
  185. #{isEfNote},
  186. #{isGezBanNwtNt},
  187. #{isGraBanNwtNt},
  188. #{isGoaUnwtlDownNt}
  189. </sql>
  190. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  191. <sql id="page_where">
  192. <trim prefix="where" prefixOverrides="and | or ">
  193. <if test="isTaowtfswitrEwdirb3 != null and isTaowtfswitrEwdirb3 != ''">and IS_TAOWTFSWITR_EWDIRB3 = #{isTaowtfswitrEwdirb3}</if>
  194. <if test="isIsrbHasEfi1 != null and isIsrbHasEfi1 != ''">and IS_ISRB_HAS_EFI1 = #{isIsrbHasEfi1}</if>
  195. <if test="isIsrbHasEfi2 != null and isIsrbHasEfi2 != ''">and IS_ISRB_HAS_EFI2 = #{isIsrbHasEfi2}</if>
  196. <if test="isIsrbHasEfi3 != null and isIsrbHasEfi3 != ''">and IS_ISRB_HAS_EFI3 = #{isIsrbHasEfi3}</if>
  197. <if test="isEfGrant1 != null and isEfGrant1 != ''">and IS_EF_GRANT1 = #{isEfGrant1}</if>
  198. <if test="isEfGrant2 != null and isEfGrant2 != ''">and IS_EF_GRANT2 = #{isEfGrant2}</if>
  199. <if test="isEfGrant3 != null and isEfGrant3 != ''">and IS_EF_GRANT3 = #{isEfGrant3}</if>
  200. <if test="isHasRvCut11 != null and isHasRvCut11 != ''">and IS_HAS_RV_CUT11 = #{isHasRvCut11}</if>
  201. <if test="isHasRvCut12 != null and isHasRvCut12 != ''">and IS_HAS_RV_CUT12 = #{isHasRvCut12}</if>
  202. <if test="isHasRvCut13 != null and isHasRvCut13 != ''">and IS_HAS_RV_CUT13 = #{isHasRvCut13}</if>
  203. <if test="persId != null and persId != ''">and PERS_ID = #{persId}</if>
  204. <if test="inTm != null">and IN_TM = #{inTm}</if>
  205. <if test="upTm != null">and UP_TM = #{upTm}</if>
  206. <if test="dataStat != null and dataStat != ''">and DATA_STAT = #{dataStat}</if>
  207. <if test="id != null and id != ''">and ID = #{id}</if>
  208. <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
  209. <if test="isMrbwtrHasWi != null and isMrbwtrHasWi != ''">and IS_MRBWTR_HAS_WI = #{isMrbwtrHasWi}</if>
  210. <if test="mrbwtrNum != null and mrbwtrNum != ''">and MRBWTR_NUM = #{mrbwtrNum}</if>
  211. <if test="mrbwtrName != null and mrbwtrName != ''">and MRBWTR_NAME = #{mrbwtrName}</if>
  212. <if test="hasWiMrbwtrNum != null and hasWiMrbwtrNum != ''">and HAS_WI_MRBWTR_NUM = #{hasWiMrbwtrNum}</if>
  213. <if test="hasWiMrbwtrName != null and hasWiMrbwtrName != ''">and HAS_WI_MRBWTR_NAME = #{hasWiMrbwtrName}</if>
  214. <if test="isTaowtfswitrEwdirb != null and isTaowtfswitrEwdirb != ''">and IS_TAOWTFSWITR_EWDIRB = #{isTaowtfswitrEwdirb}</if>
  215. <if test="isTawuaEtawt != null and isTawuaEtawt != ''">and IS_TAWUA_ETAWT = #{isTawuaEtawt}</if>
  216. <if test="isIsrbHasEfi != null and isIsrbHasEfi != ''">and IS_ISRB_HAS_EFI = #{isIsrbHasEfi}</if>
  217. <if test="hasIsrbNum != null and hasIsrbNum != ''">and HAS_ISRB_NUM = #{hasIsrbNum}</if>
  218. <if test="hasIsrbName != null and hasIsrbName != ''">and HAS_ISRB_NAME = #{hasIsrbName}</if>
  219. <if test="isrbNum != null and isrbNum != ''">and ISRB_NUM = #{isrbNum}</if>
  220. <if test="hasEfiIsrbNum != null and hasEfiIsrbNum != ''">and HAS_EFI_ISRB_NUM = #{hasEfiIsrbNum}</if>
  221. <if test="isEfGrant != null and isEfGrant != ''">and IS_EF_GRANT = #{isEfGrant}</if>
  222. <if test="isGezBanNwt != null and isGezBanNwt != ''">and IS_GEZ_BAN_NWT = #{isGezBanNwt}</if>
  223. <if test="isGezGrem != null and isGezGrem != ''">and IS_GEZ_GREM = #{isGezGrem}</if>
  224. <if test="isGraBanNwt != null and isGraBanNwt != ''">and IS_GRA_BAN_NWT = #{isGraBanNwt}</if>
  225. <if test="isGoaUnwtlDown != null and isGoaUnwtlDown != ''">and IS_GOA_UNWTL_DOWN = #{isGoaUnwtlDown}</if>
  226. <if test="isWintAtcCnstnt != null and isWintAtcCnstnt != ''">and IS_WINT_ATC_CNSTNT = #{isWintAtcCnstnt}</if>
  227. <if test="isAtcRwintCnstnt != null and isAtcRwintCnstnt != ''">and IS_ATC_RWINT_CNSTNT = #{isAtcRwintCnstnt}</if>
  228. <if test="wlmRoutRintWint != null and wlmRoutRintWint != ''">and WLM_ROUT_RINT_WINT = #{wlmRoutRintWint}</if>
  229. <if test="rvCutNum != null and rvCutNum != ''">and RV_CUT_NUM = #{rvCutNum}</if>
  230. <if test="rvCutAcct != null and rvCutAcct != ''">and RV_CUT_ACCT = #{rvCutAcct}</if>
  231. <if test="lkShkNum != null and lkShkNum != ''">and LK_SHK_NUM = #{lkShkNum}</if>
  232. <if test="lkShkAcct != null and lkShkAcct != ''">and LK_SHK_ACCT = #{lkShkAcct}</if>
  233. <if test="rvNm1 != null and rvNm1 != ''">and RV_NM1 = #{rvNm1}</if>
  234. <if test="rvNm2 != null and rvNm2 != ''">and RV_NM2 = #{rvNm2}</if>
  235. <if test="rvNm3 != null and rvNm3 != ''">and RV_NM3 = #{rvNm3}</if>
  236. <if test="isMrbwtrHasWi1 != null and isMrbwtrHasWi1 != ''">and IS_MRBWTR_HAS_WI1 = #{isMrbwtrHasWi1}</if>
  237. <if test="isMrbwtrHasWi2 != null and isMrbwtrHasWi2 != ''">and IS_MRBWTR_HAS_WI2 = #{isMrbwtrHasWi2}</if>
  238. <if test="isMrbwtrHasWi3 != null and isMrbwtrHasWi3 != ''">and IS_MRBWTR_HAS_WI3 = #{isMrbwtrHasWi3}</if>
  239. <if test="isIntRv1 != null and isIntRv1 != ''">and IS_INT_RV1 = #{isIntRv1}</if>
  240. <if test="isIntRv2 != null and isIntRv2 != ''">and IS_INT_RV2 = #{isIntRv2}</if>
  241. <if test="isIntRv3 != null and isIntRv3 != ''">and IS_INT_RV3 = #{isIntRv3}</if>
  242. <if test="isHasRvCv1 != null and isHasRvCv1 != ''">and IS_HAS_RV_CV1 = #{isHasRvCv1}</if>
  243. <if test="isHasRvCv2 != null and isHasRvCv2 != ''">and IS_HAS_RV_CV2 = #{isHasRvCv2}</if>
  244. <if test="isHasRvCv3 != null and isHasRvCv3 != ''">and IS_HAS_RV_CV3 = #{isHasRvCv3}</if>
  245. <if test="isTaowtfswitrEwdirb1 != null and isTaowtfswitrEwdirb1 != ''">and IS_TAOWTFSWITR_EWDIRB1 = #{isTaowtfswitrEwdirb1}</if>
  246. <if test="isTaowtfswitrNote != null and isTaowtfswitrNote != ''">and IS_TAOWTFSWITR_NOTE = #{isTaowtfswitrNote}</if>
  247. <if test="isIsRbHasNote != null and isIsRbHasNote != ''">and IS_ISRB_HAS_NOTE = #{isIsRbHasNote}</if>
  248. <if test="isEfNote != null and isEfNote != ''">and IS_EF_NOTE = #{isEfNote}</if>
  249. </trim>
  250. </sql>
  251. <select id="get" resultMap="bisInspWintRgstrIntInfoResultMap" parameterType="String" >
  252. select <include refid="table_columns" /> from BIS_INSP_WINT_RGSTR_INT_INFO where ID = #{id}
  253. </select>
  254. <select id="getBy" resultMap="bisInspWintRgstrIntInfoResultMap">
  255. select <include refid="table_columns" /> from BIS_INSP_WINT_RGSTR_INT_INFO <include refid="page_where" />
  256. </select>
  257. <select id="findAll" resultMap="bisInspWintRgstrIntInfoResultMap">
  258. select <include refid="table_columns" /> from BIS_INSP_WINT_RGSTR_INT_INFO
  259. </select>
  260. <select id="findList" resultMap="bisInspWintRgstrIntInfoResultMap">
  261. select <include refid="table_columns" /> from BIS_INSP_WINT_RGSTR_INT_INFO <include refid="page_where" />
  262. </select>
  263. <select id="selectCount" resultType="int" >
  264. select count(ID) from BIS_INSP_WINT_RGSTR_INT_INFO <include refid="page_where" />
  265. </select>
  266. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspWintRgstrIntInfo">
  267. insert into BIS_INSP_WINT_RGSTR_INT_INFO( <include refid="table_columns" /> )
  268. values ( <include refid="entity_properties" /> )
  269. </insert>
  270. <delete id="delete" parameterType="java.lang.String">
  271. delete from BIS_INSP_WINT_RGSTR_INT_INFO where ID = #{id}
  272. </delete>
  273. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWintRgstrIntInfo">
  274. delete from BIS_INSP_WINT_RGSTR_INT_INFO <include refid="page_where" />
  275. </delete>
  276. <update id="deleteInFlag" parameterType="java.lang.String">
  277. update BIS_INSP_WINT_RGSTR_INT_INFO set flag_valid = 0 where ID = #{id}
  278. </update>
  279. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspWintRgstrIntInfo">
  280. update BIS_INSP_WINT_RGSTR_INT_INFO
  281. <trim prefix="set" suffixOverrides=",">
  282. <if test="isTaowtfswitrEwdirb3 != null and isTaowtfswitrEwdirb3 != ''">IS_TAOWTFSWITR_EWDIRB3 = #{isTaowtfswitrEwdirb3},</if>
  283. <if test="isIsrbHasEfi1 != null and isIsrbHasEfi1 != ''">IS_ISRB_HAS_EFI1 = #{isIsrbHasEfi1},</if>
  284. <if test="isIsrbHasEfi2 != null and isIsrbHasEfi2 != ''">IS_ISRB_HAS_EFI2 = #{isIsrbHasEfi2},</if>
  285. <if test="isIsrbHasEfi3 != null and isIsrbHasEfi3 != ''">IS_ISRB_HAS_EFI3 = #{isIsrbHasEfi3},</if>
  286. <if test="isEfGrant1 != null and isEfGrant1 != ''">IS_EF_GRANT1 = #{isEfGrant1},</if>
  287. <if test="isEfGrant2 != null and isEfGrant2 != ''">IS_EF_GRANT2 = #{isEfGrant2},</if>
  288. <if test="isEfGrant3 != null and isEfGrant3 != ''">IS_EF_GRANT3 = #{isEfGrant3},</if>
  289. <if test="isHasRvCut11 != null and isHasRvCut11 != ''">IS_HAS_RV_CUT11 = #{isHasRvCut11},</if>
  290. <if test="isHasRvCut12 != null and isHasRvCut12 != ''">IS_HAS_RV_CUT12 = #{isHasRvCut12},</if>
  291. <if test="isHasRvCut13 != null and isHasRvCut13 != ''">IS_HAS_RV_CUT13 = #{isHasRvCut13},</if>
  292. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  293. <if test="inTm != null">IN_TM = #{inTm},</if>
  294. <if test="upTm != null">UP_TM = #{upTm},</if>
  295. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  296. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  297. <if test="isMrbwtrHasWi != null and isMrbwtrHasWi != ''">
  298. IS_MRBWTR_HAS_WI = #{isMrbwtrHasWi},
  299. </if>
  300. MRBWTR_NUM = #{mrbwtrNum},
  301. MRBWTR_NAME = #{mrbwtrName},
  302. HAS_WI_MRBWTR_NUM = #{hasWiMrbwtrNum},
  303. HAS_WI_MRBWTR_NAME = #{hasWiMrbwtrName},
  304. <if test="isTaowtfswitrEwdirb != null and isTaowtfswitrEwdirb != ''">IS_TAOWTFSWITR_EWDIRB = #{isTaowtfswitrEwdirb},</if>
  305. <if test="isTawuaEtawt != null and isTawuaEtawt != ''">IS_TAWUA_ETAWT = #{isTawuaEtawt},</if>
  306. <if test="isIsrbHasEfi != null and isIsrbHasEfi != ''">IS_ISRB_HAS_EFI = #{isIsrbHasEfi},</if>
  307. HAS_ISRB_NUM = #{hasIsrbNum},
  308. HAS_ISRB_NAME = #{hasIsrbName},
  309. ISRB_NUM = #{isrbNum},
  310. HAS_EFI_ISRB_NUM = #{hasEfiIsrbNum},
  311. <if test="isEfGrant != null and isEfGrant != ''">IS_EF_GRANT = #{isEfGrant},</if>
  312. <if test="isGezBanNwt != null and isGezBanNwt != ''">IS_GEZ_BAN_NWT = #{isGezBanNwt},</if>
  313. <if test="isGezGrem != null and isGezGrem != ''">IS_GEZ_GREM = #{isGezGrem},</if>
  314. <if test="isGraBanNwt != null and isGraBanNwt != ''">IS_GRA_BAN_NWT = #{isGraBanNwt},</if>
  315. <if test="isGoaUnwtlDown != null and isGoaUnwtlDown != ''">IS_GOA_UNWTL_DOWN = #{isGoaUnwtlDown},</if>
  316. <if test="isWintAtcCnstnt != null and isWintAtcCnstnt != ''">IS_WINT_ATC_CNSTNT = #{isWintAtcCnstnt},</if>
  317. <if test="isAtcRwintCnstnt != null and isAtcRwintCnstnt != ''">IS_ATC_RWINT_CNSTNT = #{isAtcRwintCnstnt},</if>
  318. WLM_ROUT_RINT_WINT = #{wlmRoutRintWint},
  319. RV_CUT_NUM = #{rvCutNum},
  320. RV_CUT_ACCT = #{rvCutAcct},
  321. LK_SHK_NUM = #{lkShkNum},
  322. LK_SHK_ACCT = #{lkShkAcct},
  323. RV_NM1 = #{rvNm1},
  324. RV_NM2 = #{rvNm2},
  325. RV_NM3 = #{rvNm3},
  326. <if test="isMrbwtrHasWi1 != null and isMrbwtrHasWi1 != ''">IS_MRBWTR_HAS_WI1 = #{isMrbwtrHasWi1},</if>
  327. <if test="isMrbwtrHasWi2 != null and isMrbwtrHasWi2 != ''">IS_MRBWTR_HAS_WI2 = #{isMrbwtrHasWi2},</if>
  328. <if test="isMrbwtrHasWi3 != null and isMrbwtrHasWi3 != ''">IS_MRBWTR_HAS_WI3 = #{isMrbwtrHasWi3},</if>
  329. <if test="isIntRv1 != null and isIntRv1 != ''">IS_INT_RV1 = #{isIntRv1},</if>
  330. <if test="isIntRv2 != null and isIntRv2 != ''">IS_INT_RV2 = #{isIntRv2},</if>
  331. <if test="isIntRv3 != null and isIntRv3 != ''">IS_INT_RV3 = #{isIntRv3},</if>
  332. <if test="isHasRvCv1 != null and isHasRvCv1 != ''">IS_HAS_RV_CV1 = #{isHasRvCv1},</if>
  333. <if test="isHasRvCv2 != null and isHasRvCv2 != ''">IS_HAS_RV_CV2 = #{isHasRvCv2},</if>
  334. <if test="isHasRvCv3 != null and isHasRvCv3 != ''">IS_HAS_RV_CV3 = #{isHasRvCv3},</if>
  335. <if test="isTaowtfswitrEwdirb1 != null and isTaowtfswitrEwdirb1 != ''">IS_TAOWTFSWITR_EWDIRB1 = #{isTaowtfswitrEwdirb1},</if>
  336. IS_TAOWTFSWITR_NOTE = #{isTaowtfswitrNote},
  337. IS_ISRB_HAS_NOTE = #{isIsRbHasNote},
  338. IS_EF_NOTE = #{isEfNote},
  339. IS_GEZ_BAN_NWT_NT = #{isGezBanNwtNt},
  340. IS_GRA_BAN_NWT_NT = #{isGraBanNwtNt},
  341. IS_GOA_UNWTL_DOWN_NT = #{isGoaUnwtlDownNt},
  342. </trim>
  343. <where>ID = #{id}</where>
  344. </update>
  345. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWintRgstrIntInfo">
  346. update BIS_INSP_WINT_RGSTR_INT_INFO
  347. <trim prefix="set" suffixOverrides=",">
  348. <if test="isTaowtfswitrEwdirb3 != null and isTaowtfswitrEwdirb3 != ''">IS_TAOWTFSWITR_EWDIRB3 = #{isTaowtfswitrEwdirb3},</if>
  349. <if test="isIsrbHasEfi1 != null and isIsrbHasEfi1 != ''">IS_ISRB_HAS_EFI1 = #{isIsrbHasEfi1},</if>
  350. <if test="isIsrbHasEfi2 != null and isIsrbHasEfi2 != ''">IS_ISRB_HAS_EFI2 = #{isIsrbHasEfi2},</if>
  351. <if test="isIsrbHasEfi3 != null and isIsrbHasEfi3 != ''">IS_ISRB_HAS_EFI3 = #{isIsrbHasEfi3},</if>
  352. <if test="isEfGrant1 != null and isEfGrant1 != ''">IS_EF_GRANT1 = #{isEfGrant1},</if>
  353. <if test="isEfGrant2 != null and isEfGrant2 != ''">IS_EF_GRANT2 = #{isEfGrant2},</if>
  354. <if test="isEfGrant3 != null and isEfGrant3 != ''">IS_EF_GRANT3 = #{isEfGrant3},</if>
  355. <if test="isHasRvCut11 != null and isHasRvCut11 != ''">IS_HAS_RV_CUT11 = #{isHasRvCut11},</if>
  356. <if test="isHasRvCut12 != null and isHasRvCut12 != ''">IS_HAS_RV_CUT12 = #{isHasRvCut12},</if>
  357. <if test="isHasRvCut13 != null and isHasRvCut13 != ''">IS_HAS_RV_CUT13 = #{isHasRvCut13},</if>
  358. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  359. <if test="inTm != null">IN_TM = #{inTm},</if>
  360. <if test="upTm != null">UP_TM = #{upTm},</if>
  361. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  362. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  363. <if test="isMrbwtrHasWi != null and isMrbwtrHasWi != ''">
  364. IS_MRBWTR_HAS_WI = #{isMrbwtrHasWi},
  365. </if>
  366. MRBWTR_NUM = #{mrbwtrNum},
  367. MRBWTR_NAME = #{mrbwtrName},
  368. HAS_WI_MRBWTR_NUM = #{hasWiMrbwtrNum},
  369. HAS_WI_MRBWTR_NAME = #{hasWiMrbwtrName},
  370. <if test="isTaowtfswitrEwdirb != null and isTaowtfswitrEwdirb != ''">IS_TAOWTFSWITR_EWDIRB = #{isTaowtfswitrEwdirb},</if>
  371. <if test="isTawuaEtawt != null and isTawuaEtawt != ''">IS_TAWUA_ETAWT = #{isTawuaEtawt},</if>
  372. <if test="isIsrbHasEfi != null and isIsrbHasEfi != ''">IS_ISRB_HAS_EFI = #{isIsrbHasEfi},</if>
  373. HAS_ISRB_NUM = #{hasIsrbNum},
  374. HAS_ISRB_NAME = #{hasIsrbName},
  375. ISRB_NUM = #{isrbNum},
  376. HAS_EFI_ISRB_NUM = #{hasEfiIsrbNum},
  377. <if test="isEfGrant != null and isEfGrant != ''">IS_EF_GRANT = #{isEfGrant},</if>
  378. <if test="isGezBanNwt != null and isGezBanNwt != ''">IS_GEZ_BAN_NWT = #{isGezBanNwt},</if>
  379. <if test="isGezGrem != null and isGezGrem != ''">IS_GEZ_GREM = #{isGezGrem},</if>
  380. <if test="isGraBanNwt != null and isGraBanNwt != ''">IS_GRA_BAN_NWT = #{isGraBanNwt},</if>
  381. <if test="isGoaUnwtlDown != null and isGoaUnwtlDown != ''">IS_GOA_UNWTL_DOWN = #{isGoaUnwtlDown},</if>
  382. <if test="isWintAtcCnstnt != null and isWintAtcCnstnt != ''">IS_WINT_ATC_CNSTNT = #{isWintAtcCnstnt},</if>
  383. <if test="isAtcRwintCnstnt != null and isAtcRwintCnstnt != ''">IS_ATC_RWINT_CNSTNT = #{isAtcRwintCnstnt},</if>
  384. WLM_ROUT_RINT_WINT = #{wlmRoutRintWint},
  385. RV_CUT_NUM = #{rvCutNum},
  386. RV_CUT_ACCT = #{rvCutAcct},
  387. LK_SHK_NUM = #{lkShkNum},
  388. LK_SHK_ACCT = #{lkShkAcct},
  389. RV_NM1 = #{rvNm1},
  390. RV_NM2 = #{rvNm2},
  391. RV_NM3 = #{rvNm3},
  392. <if test="isMrbwtrHasWi1 != null and isMrbwtrHasWi1 != ''">IS_MRBWTR_HAS_WI1 = #{isMrbwtrHasWi1},</if>
  393. <if test="isMrbwtrHasWi2 != null and isMrbwtrHasWi2 != ''">IS_MRBWTR_HAS_WI2 = #{isMrbwtrHasWi2},</if>
  394. <if test="isMrbwtrHasWi3 != null and isMrbwtrHasWi3 != ''">IS_MRBWTR_HAS_WI3 = #{isMrbwtrHasWi3},</if>
  395. <if test="isIntRv1 != null and isIntRv1 != ''">IS_INT_RV1 = #{isIntRv1},</if>
  396. <if test="isIntRv2 != null and isIntRv2 != ''">IS_INT_RV2 = #{isIntRv2},</if>
  397. <if test="isIntRv3 != null and isIntRv3 != ''">IS_INT_RV3 = #{isIntRv3},</if>
  398. <if test="isHasRvCv1 != null and isHasRvCv1 != ''">IS_HAS_RV_CV1 = #{isHasRvCv1},</if>
  399. <if test="isHasRvCv2 != null and isHasRvCv2 != ''">IS_HAS_RV_CV2 = #{isHasRvCv2},</if>
  400. <if test="isHasRvCv3 != null and isHasRvCv3 != ''">IS_HAS_RV_CV3 = #{isHasRvCv3},</if>
  401. <if test="isTaowtfswitrEwdirb1 != null and isTaowtfswitrEwdirb1 != ''">IS_TAOWTFSWITR_EWDIRB1 = #{isTaowtfswitrEwdirb1},</if>
  402. IS_TAOWTFSWITR_NOTE = #{isTaowtfswitrNote},
  403. IS_ISRB_HAS_NOTE = #{isIsRbHasNote},
  404. IS_EF_NOTE = #{isEfNote},
  405. IS_GEZ_BAN_NWT_NT = #{isGezBanNwtNt},
  406. IS_GRA_BAN_NWT_NT = #{isGraBanNwtNt},
  407. IS_GOA_UNWTL_DOWN_NT = #{isGoaUnwtlDownNt},
  408. </trim>
  409. <include refid="page_where" />
  410. </update>
  411. <!-- 其他自定义SQL -->
  412. </mapper>