BisInspSafeExtManageRepDao.xml 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  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.BisInspSafeExtManageRepDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage" id="bisInspSafeExtManageRepResultMap">
  5. <result property="pourFyIsNormal" column="POUR_FY_IS_NORMAL"/>
  6. <result property="hasSetPourWaga" column="HAS_SET_POUR_WAGA"/>
  7. <result property="isPourWagaOpenNormal" column="IS_POUR_WAGA_OPEN_NORMAL"/>
  8. <result property="pourWagaDangDesc" column="POUR_WAGA_DANG_DESC"/>
  9. <result property="canNotSetFy" column="CAN_NOT_SET_FY"/>
  10. <result property="flLowLimLevNote" column="FL_LOW_LIM_LEV_NOTE"/>
  11. <result property="havFlLowLimLev" column="HAV_FL_LOW_LIM_LEV"/>
  12. <result property="gtFlLowLimLevNote" column="GT_FL_LOW_LIM_LEV_NOTE"/>
  13. <result property="gtFlLowLimLev" column="GT_FL_LOW_LIM_LEV"/>
  14. <result property="gtFlLowLimLevDesc" column="GT_FL_LOW_LIM_LEV_DESC"/>
  15. <result property="damSafeApprNote" column="DAM_SAFE_APPR_NOTE"/>
  16. <result property="extDamSafeAppr" column="EXT_DAM_SAFE_APPR"/>
  17. <result property="nearDamSafeApprTime" column="NEAR_DAM_SAFE_APPR_TIME"/>
  18. <result property="neatDamSafeApprRes" column="NEAT_DAM_SAFE_APPR_RES"/>
  19. <result property="damSafeApprRequire" column="DAM_SAFE_APPR_REQUIRE"/>
  20. <result property="noDamSafeApprReson" column="NO_DAM_SAFE_APPR_RESON"/>
  21. <result property="reinForceNote" column="REIN_FORCE_NOTE"/>
  22. <result property="ifReinForce" column="IF_REIN_FORCE"/>
  23. <result property="reinForceTime" column="REIN_FORCE_TIME"/>
  24. <result property="ifComplateAcc" column="IF_COMPLATE_ACC"/>
  25. <result property="accDate" column="ACC_DATE"/>
  26. <result property="ifComplateAccAll" column="IF_COMPLATE_ACC_ALL"/>
  27. <result property="complateAccAllDesc" column="COMPLATE_ACC_ALL_DESC"/>
  28. <result property="effectFloodSafe" column="EFFECT_FLOOD_SAFE"/>
  29. <result property="noReinForceReson" column="NO_REIN_FORCE_RESON"/>
  30. <result property="accHaveDangNow" column="ACC_HAVE_DANG_NOW"/>
  31. <result property="accHaveDangDesc" column="ACC_HAVE_DANG_DESC"/>
  32. <result property="ifWaterLessor" column="IF_WATER_LESSOR"/>
  33. <result property="waterLessorEffectFl" column="WATER_LESSOR_EFFECT_FL"/>
  34. <result property="waterLessorEffectFlReson" column="WATER_LESSOR_EFFECT_FL_RESON"/>
  35. <result property="manageRegRelNote" column="MANAGE_REG_REL_NOTE"/>
  36. <result property="ifManageRegRel" column="IF_MANAGE_REG_REL"/>
  37. <result property="manageRegNote" column="MANAGE_REG_NOTE"/>
  38. <result property="ifManageReg" column="IF_MANAGE_REG"/>
  39. <result property="damWarnLogoNote" column="DAM_WARN_LOGO_NOTE"/>
  40. <result property="ifDamWarnLogo" column="IF_DAM_WARN_LOGO"/>
  41. <result property="otherEffectReson" column="OTHER_EFFECT_RESON"/>
  42. <result property="recPersId" column="REC_PERS_ID"/>
  43. <result property="recPers2" column="REC_PERS2"/>
  44. <result property="recPersTel" column="REC_PERS_TEL"/>
  45. <result property="createTime" column="CREATE_TIME"/>
  46. <result property="updateTime" column="UPDATE_TIME"/>
  47. <result property="status" column="STATUS"/>
  48. <result property="poorCountry" column="POOR_COUNTRY"/>
  49. <result property="reverOrg" column="REVER_ORG"/>
  50. <result property="reverOrgName" column="REVER_ORG_NAME"/>
  51. <result property="mngrnId" column="MNGRN_ID"/>
  52. <result property="rgstrId" column="RGSTR_ID"/>
  53. <result property="safeCommontNote" column="SAFE_COMMONT_NOTE"/>
  54. <result property="safeComment" column="SAFE_COMMENT"/>
  55. <result property="retainRegular" column="RETAIN_REGULAR"/>
  56. <result property="hasRetainRegular" column="HAS_RETAIN_REGULAR"/>
  57. <result property="wdEmnic" column="WD_EMNIC"/>
  58. <result property="hasWdEmnic" column="HAS_WD_EMNIC"/>
  59. <result property="managePersNote" column="MANAGE_PERS_NOTE"/>
  60. <result property="hasManagePers" column="HAS_MANAGE_PERS"/>
  61. <result property="speManageNote" column="SPE_MANAGE_NOTE"/>
  62. <result property="hasSpeManage" column="HAS_SPE_MANAGE"/>
  63. <result property="noRetainRegularNote" column="NO_RETAIN_REGULAR_NOTE"/>
  64. <result property="noRetainRegular" column="NO_RETAIN_REGULAR"/>
  65. <result property="canNotRetainWaterNote" column="CAN_NOT_RETAIN_WATER_NOTE"/>
  66. <result property="canNotRetainWater" column="CAN_NOT_RETAIN_WATER"/>
  67. <result property="dikeHasLeakNote" column="DIKE_HAS_LEAK_NOTE"/>
  68. <result property="dikeHasLeak" column="DIKE_HAS_LEAK"/>
  69. <result property="leakMakeSafeNote" column="LEAK_MAKE_SAFE_NOTE"/>
  70. <result property="leakMakeSafe" column="LEAK_MAKE_SAFE"/>
  71. <result property="hasAstable" column="HAS_ASTABLE"/>
  72. <result property="astableDesc" column="ASTABLE_DESC"/>
  73. <result property="setMainFlNote" column="SET_MAIN_FL_NOTE"/>
  74. <result property="hasSetMainFl" column="HAS_SET_MAIN_FL"/>
  75. <result property="mainFlNormalNote" column="MAIN_FL_NORMAL_NOTE"/>
  76. <result property="isMainFlNormal" column="IS_MAIN_FL_NORMAL"/>
  77. <result property="hasSetWaga" column="HAS_SET_WAGA"/>
  78. <result property="isWagaOpenNormal" column="IS_WAGA_OPEN_NORMAL"/>
  79. <result property="wagaDangDesc" column="WAGA_DANG_DESC"/>
  80. <result property="notSetWagaReason" column="NOT_SET_WAGA_REASON"/>
  81. <result property="setPorrFlNote" column="SET_PORR_FL_NOTE"/>
  82. <result property="hasSetPourFl" column="HAS_SET_POUR_FL"/>
  83. <result property="pourFyNormalNote" column="POUR_FY_NORMAL_NOTE"/>
  84. </resultMap>
  85. <sql id="table_columns">
  86. POUR_FY_IS_NORMAL,
  87. HAS_SET_POUR_WAGA,
  88. IS_POUR_WAGA_OPEN_NORMAL,
  89. POUR_WAGA_DANG_DESC,
  90. CAN_NOT_SET_FY,
  91. FL_LOW_LIM_LEV_NOTE,
  92. HAV_FL_LOW_LIM_LEV,
  93. GT_FL_LOW_LIM_LEV_NOTE,
  94. GT_FL_LOW_LIM_LEV,
  95. GT_FL_LOW_LIM_LEV_DESC,
  96. DAM_SAFE_APPR_NOTE,
  97. EXT_DAM_SAFE_APPR,
  98. NEAR_DAM_SAFE_APPR_TIME,
  99. NEAT_DAM_SAFE_APPR_RES,
  100. DAM_SAFE_APPR_REQUIRE,
  101. NO_DAM_SAFE_APPR_RESON,
  102. REIN_FORCE_NOTE,
  103. IF_REIN_FORCE,
  104. REIN_FORCE_TIME,
  105. IF_COMPLATE_ACC,
  106. ACC_DATE,
  107. IF_COMPLATE_ACC_ALL,
  108. COMPLATE_ACC_ALL_DESC,
  109. EFFECT_FLOOD_SAFE,
  110. NO_REIN_FORCE_RESON,
  111. ACC_HAVE_DANG_NOW,
  112. ACC_HAVE_DANG_DESC,
  113. IF_WATER_LESSOR,
  114. WATER_LESSOR_EFFECT_FL,
  115. WATER_LESSOR_EFFECT_FL_RESON,
  116. MANAGE_REG_REL_NOTE,
  117. IF_MANAGE_REG_REL,
  118. MANAGE_REG_NOTE,
  119. IF_MANAGE_REG,
  120. DAM_WARN_LOGO_NOTE,
  121. IF_DAM_WARN_LOGO,
  122. OTHER_EFFECT_RESON,
  123. REC_PERS_ID,
  124. REC_PERS2,
  125. REC_PERS_TEL,
  126. CREATE_TIME,
  127. UPDATE_TIME,
  128. STATUS,
  129. POOR_COUNTRY,
  130. REVER_ORG,
  131. REVER_ORG_NAME,
  132. MNGRN_ID,
  133. RGSTR_ID,
  134. SAFE_COMMONT_NOTE,
  135. SAFE_COMMENT,
  136. RETAIN_REGULAR,
  137. HAS_RETAIN_REGULAR,
  138. WD_EMNIC,
  139. HAS_WD_EMNIC,
  140. MANAGE_PERS_NOTE,
  141. HAS_MANAGE_PERS,
  142. SPE_MANAGE_NOTE,
  143. HAS_SPE_MANAGE,
  144. NO_RETAIN_REGULAR_NOTE,
  145. NO_RETAIN_REGULAR,
  146. CAN_NOT_RETAIN_WATER_NOTE,
  147. CAN_NOT_RETAIN_WATER,
  148. DIKE_HAS_LEAK_NOTE,
  149. DIKE_HAS_LEAK,
  150. LEAK_MAKE_SAFE_NOTE,
  151. LEAK_MAKE_SAFE,
  152. HAS_ASTABLE,
  153. ASTABLE_DESC,
  154. SET_MAIN_FL_NOTE,
  155. HAS_SET_MAIN_FL,
  156. MAIN_FL_NORMAL_NOTE,
  157. IS_MAIN_FL_NORMAL,
  158. HAS_SET_WAGA,
  159. IS_WAGA_OPEN_NORMAL,
  160. WAGA_DANG_DESC,
  161. NOT_SET_WAGA_REASON,
  162. SET_PORR_FL_NOTE,
  163. HAS_SET_POUR_FL,
  164. POUR_FY_NORMAL_NOTE
  165. </sql>
  166. <sql id="entity_properties">
  167. #{pourFyIsNormal},
  168. #{hasSetPourWaga},
  169. #{isPourWagaOpenNormal},
  170. #{pourWagaDangDesc},
  171. #{canNotSetFy},
  172. #{flLowLimLevNote},
  173. #{havFlLowLimLev},
  174. #{gtFlLowLimLevNote},
  175. #{gtFlLowLimLev},
  176. #{gtFlLowLimLevDesc},
  177. #{damSafeApprNote},
  178. #{extDamSafeAppr},
  179. #{nearDamSafeApprTime},
  180. #{neatDamSafeApprRes},
  181. #{damSafeApprRequire},
  182. #{noDamSafeApprReson},
  183. #{reinForceNote},
  184. #{ifReinForce},
  185. #{reinForceTime},
  186. #{ifComplateAcc},
  187. #{accDate},
  188. #{ifComplateAccAll},
  189. #{complateAccAllDesc},
  190. #{effectFloodSafe},
  191. #{noReinForceReson},
  192. #{accHaveDangNow},
  193. #{accHaveDangDesc},
  194. #{ifWaterLessor},
  195. #{waterLessorEffectFl},
  196. #{waterLessorEffectFlReson},
  197. #{manageRegRelNote},
  198. #{ifManageRegRel},
  199. #{manageRegNote},
  200. #{ifManageReg},
  201. #{damWarnLogoNote},
  202. #{ifDamWarnLogo},
  203. #{otherEffectReson},
  204. #{recPersId},
  205. #{recPers2},
  206. #{recPersTel},
  207. #{createTime},
  208. #{updateTime},
  209. #{status},
  210. #{poorCountry},
  211. #{reverOrg},
  212. #{reverOrgName},
  213. #{mngrnId},
  214. #{rgstrId},
  215. #{safeCommontNote},
  216. #{safeComment},
  217. #{retainRegular},
  218. #{hasRetainRegular},
  219. #{wdEmnic},
  220. #{hasWdEmnic},
  221. #{managePersNote},
  222. #{hasManagePers},
  223. #{speManageNote},
  224. #{hasSpeManage},
  225. #{noRetainRegularNote},
  226. #{noRetainRegular},
  227. #{canNotRetainWaterNote},
  228. #{canNotRetainWater},
  229. #{dikeHasLeakNote},
  230. #{dikeHasLeak},
  231. #{leakMakeSafeNote},
  232. #{leakMakeSafe},
  233. #{hasAstable},
  234. #{astableDesc},
  235. #{setMainFlNote},
  236. #{hasSetMainFl},
  237. #{mainFlNormalNote},
  238. #{isMainFlNormal},
  239. #{hasSetWaga},
  240. #{isWagaOpenNormal},
  241. #{wagaDangDesc},
  242. #{notSetWagaReason},
  243. #{setPorrFlNote},
  244. #{hasSetPourFl},
  245. #{pourFyNormalNote}
  246. </sql>
  247. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  248. <sql id="page_where">
  249. <trim prefix="where" prefixOverrides="and | or ">
  250. <if test="hasSetPourWaga != null and hasSetPourWaga != ''">and HAS_SET_POUR_WAGA = #{hasSetPourWaga}</if>
  251. <if test="isPourWagaOpenNormal != null and isPourWagaOpenNormal != ''">and IS_POUR_WAGA_OPEN_NORMAL = #{isPourWagaOpenNormal}</if>
  252. <if test="pourWagaDangDesc != null and pourWagaDangDesc != ''">and POUR_WAGA_DANG_DESC = #{pourWagaDangDesc}</if>
  253. <if test="canNotSetFy != null and canNotSetFy != ''">and CAN_NOT_SET_FY = #{canNotSetFy}</if>
  254. <if test="flLowLimLevNote != null and flLowLimLevNote != ''">and FL_LOW_LIM_LEV_NOTE = #{flLowLimLevNote}</if>
  255. <if test="havFlLowLimLev != null and havFlLowLimLev != ''">and HAV_FL_LOW_LIM_LEV = #{havFlLowLimLev}</if>
  256. <if test="gtFlLowLimLevNote != null and gtFlLowLimLevNote != ''">and GT_FL_LOW_LIM_LEV_NOTE = #{gtFlLowLimLevNote}</if>
  257. <if test="gtFlLowLimLev != null and gtFlLowLimLev != ''">and GT_FL_LOW_LIM_LEV = #{gtFlLowLimLev}</if>
  258. <if test="gtFlLowLimLevDesc != null and gtFlLowLimLevDesc != ''">and GT_FL_LOW_LIM_LEV_DESC = #{gtFlLowLimLevDesc}</if>
  259. <if test="damSafeApprNote != null and damSafeApprNote != ''">and DAM_SAFE_APPR_NOTE = #{damSafeApprNote}</if>
  260. <if test="extDamSafeAppr != null and extDamSafeAppr != ''">and EXT_DAM_SAFE_APPR = #{extDamSafeAppr}</if>
  261. <if test="nearDamSafeApprTime != null">and NEAR_DAM_SAFE_APPR_TIME = #{nearDamSafeApprTime}</if>
  262. <if test="neatDamSafeApprRes != null and neatDamSafeApprRes != ''">and NEAT_DAM_SAFE_APPR_RES = #{neatDamSafeApprRes}</if>
  263. <if test="damSafeApprRequire != null and damSafeApprRequire != ''">and DAM_SAFE_APPR_REQUIRE = #{damSafeApprRequire}</if>
  264. <if test="noDamSafeApprReson != null and noDamSafeApprReson != ''">and NO_DAM_SAFE_APPR_RESON = #{noDamSafeApprReson}</if>
  265. <if test="reinForceNote != null and reinForceNote != ''">and REIN_FORCE_NOTE = #{reinForceNote}</if>
  266. <if test="ifReinForce != null and ifReinForce != ''">and IF_REIN_FORCE = #{ifReinForce}</if>
  267. <if test="reinForceTime != null and reinForceTime != ''">and REIN_FORCE_TIME = #{reinForceTime}</if>
  268. <if test="ifComplateAcc != null and ifComplateAcc != ''">and IF_COMPLATE_ACC = #{ifComplateAcc}</if>
  269. <if test="accDate != null">and ACC_DATE = #{accDate}</if>
  270. <if test="ifComplateAccAll != null and ifComplateAccAll != ''">and IF_COMPLATE_ACC_ALL = #{ifComplateAccAll}</if>
  271. <if test="complateAccAllDesc != null and complateAccAllDesc != ''">and COMPLATE_ACC_ALL_DESC = #{complateAccAllDesc}</if>
  272. <if test="effectFloodSafe != null and effectFloodSafe != ''">and EFFECT_FLOOD_SAFE = #{effectFloodSafe}</if>
  273. <if test="noReinForceReson != null and noReinForceReson != ''">and NO_REIN_FORCE_RESON = #{noReinForceReson}</if>
  274. <if test="accHaveDangNow != null and accHaveDangNow != ''">and ACC_HAVE_DANG_NOW = #{accHaveDangNow}</if>
  275. <if test="accHaveDangDesc != null and accHaveDangDesc != ''">and ACC_HAVE_DANG_DESC = #{accHaveDangDesc}</if>
  276. <if test="ifWaterLessor != null and ifWaterLessor != ''">and IF_WATER_LESSOR = #{ifWaterLessor}</if>
  277. <if test="waterLessorEffectFl != null and waterLessorEffectFl != ''">and WATER_LESSOR_EFFECT_FL = #{waterLessorEffectFl}</if>
  278. <if test="waterLessorEffectFlReson != null and waterLessorEffectFlReson != ''">and WATER_LESSOR_EFFECT_FL_RESON = #{waterLessorEffectFlReson}</if>
  279. <if test="manageRegRelNote != null and manageRegRelNote != ''">and MANAGE_REG_REL_NOTE = #{manageRegRelNote}</if>
  280. <if test="ifManageRegRel != null and ifManageRegRel != ''">and IF_MANAGE_REG_REL = #{ifManageRegRel}</if>
  281. <if test="manageRegNote != null and manageRegNote != ''">and MANAGE_REG_NOTE = #{manageRegNote}</if>
  282. <if test="ifManageReg != null and ifManageReg != ''">and IF_MANAGE_REG = #{ifManageReg}</if>
  283. <if test="damWarnLogoNote != null and damWarnLogoNote != ''">and DAM_WARN_LOGO_NOTE = #{damWarnLogoNote}</if>
  284. <if test="ifDamWarnLogo != null and ifDamWarnLogo != ''">and IF_DAM_WARN_LOGO = #{ifDamWarnLogo}</if>
  285. <if test="otherEffectReson != null and otherEffectReson != ''">and OTHER_EFFECT_RESON = #{otherEffectReson}</if>
  286. <if test="recPersId != null and recPersId != ''">and REC_PERS_ID = #{recPersId}</if>
  287. <if test="recPers2 != null and recPers2 != ''">and REC_PERS2 = #{recPers2}</if>
  288. <if test="recPersTel != null and recPersTel != ''">and REC_PERS_TEL = #{recPersTel}</if>
  289. <if test="createTime != null">and CREATE_TIME = #{createTime}</if>
  290. <if test="updateTime != null">and UPDATE_TIME = #{updateTime}</if>
  291. <if test="status != null and status != ''">and STATUS = #{status}</if>
  292. <if test="poorCountry != null and poorCountry != ''">and POOR_COUNTRY = #{poorCountry}</if>
  293. <if test="reverOrg != null and reverOrg != ''">and REVER_ORG = #{reverOrg}</if>
  294. <if test="reverOrgName != null and reverOrgName != ''">and REVER_ORG_NAME = #{reverOrgName}</if>
  295. <if test="mngrnId != null and mngrnId != ''">and MNGRN_ID = #{mngrnId}</if>
  296. <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
  297. <if test="safeCommontNote != null and safeCommontNote != ''">and SAFE_COMMONT_NOTE = #{safeCommontNote}</if>
  298. <if test="safeComment != null and safeComment != ''">and SAFE_COMMENT = #{safeComment}</if>
  299. <if test="retainRegular != null and retainRegular != ''">and RETAIN_REGULAR = #{retainRegular}</if>
  300. <if test="hasRetainRegular != null and hasRetainRegular != ''">and HAS_RETAIN_REGULAR = #{hasRetainRegular}</if>
  301. <if test="wdEmnic != null and wdEmnic != ''">and WD_EMNIC = #{wdEmnic}</if>
  302. <if test="hasWdEmnic != null and hasWdEmnic != ''">and HAS_WD_EMNIC = #{hasWdEmnic}</if>
  303. <if test="managePersNote != null and managePersNote != ''">and MANAGE_PERS_NOTE = #{managePersNote}</if>
  304. <if test="hasManagePers != null and hasManagePers != ''">and HAS_MANAGE_PERS = #{hasManagePers}</if>
  305. <if test="speManageNote != null and speManageNote != ''">and SPE_MANAGE_NOTE = #{speManageNote}</if>
  306. <if test="hasSpeManage != null and hasSpeManage != ''">and HAS_SPE_MANAGE = #{hasSpeManage}</if>
  307. <if test="noRetainRegularNote != null and noRetainRegularNote != ''">and NO_RETAIN_REGULAR_NOTE = #{noRetainRegularNote}</if>
  308. <if test="noRetainRegular != null and noRetainRegular != ''">and NO_RETAIN_REGULAR = #{noRetainRegular}</if>
  309. <if test="canNotRetainWaterNote != null and canNotRetainWaterNote != ''">and CAN_NOT_RETAIN_WATER_NOTE = #{canNotRetainWaterNote}</if>
  310. <if test="canNotRetainWater != null and canNotRetainWater != ''">and CAN_NOT_RETAIN_WATER = #{canNotRetainWater}</if>
  311. <if test="dikeHasLeakNote != null and dikeHasLeakNote != ''">and DIKE_HAS_LEAK_NOTE = #{dikeHasLeakNote}</if>
  312. <if test="dikeHasLeak != null and dikeHasLeak != ''">and DIKE_HAS_LEAK = #{dikeHasLeak}</if>
  313. <if test="leakMakeSafeNote != null and leakMakeSafeNote != ''">and LEAK_MAKE_SAFE_NOTE = #{leakMakeSafeNote}</if>
  314. <if test="leakMakeSafe != null and leakMakeSafe != ''">and LEAK_MAKE_SAFE = #{leakMakeSafe}</if>
  315. <if test="hasAstable != null and hasAstable != ''">and HAS_ASTABLE = #{hasAstable}</if>
  316. <if test="astableDesc != null and astableDesc != ''">and ASTABLE_DESC = #{astableDesc}</if>
  317. <if test="setMainFlNote != null and setMainFlNote != ''">and SET_MAIN_FL_NOTE = #{setMainFlNote}</if>
  318. <if test="hasSetMainFl != null and hasSetMainFl != ''">and HAS_SET_MAIN_FL = #{hasSetMainFl}</if>
  319. <if test="mainFlNormalNote != null and mainFlNormalNote != ''">and MAIN_FL_NORMAL_NOTE = #{mainFlNormalNote}</if>
  320. <if test="isMainFlNormal != null and isMainFlNormal != ''">and IS_MAIN_FL_NORMAL = #{isMainFlNormal}</if>
  321. <if test="hasSetWaga != null and hasSetWaga != ''">and HAS_SET_WAGA = #{hasSetWaga}</if>
  322. <if test="isWagaOpenNormal != null and isWagaOpenNormal != ''">and IS_WAGA_OPEN_NORMAL = #{isWagaOpenNormal}</if>
  323. <if test="wagaDangDesc != null and wagaDangDesc != ''">and WAGA_DANG_DESC = #{wagaDangDesc}</if>
  324. <if test="notSetWagaReason != null and notSetWagaReason != ''">and NOT_SET_WAGA_REASON = #{notSetWagaReason}</if>
  325. <if test="setPorrFlNote != null and setPorrFlNote != ''">and SET_PORR_FL_NOTE = #{setPorrFlNote}</if>
  326. <if test="hasSetPourFl != null and hasSetPourFl != ''">and HAS_SET_POUR_FL = #{hasSetPourFl}</if>
  327. <if test="pourFyNormalNote != null and pourFyNormalNote != ''">and POUR_FY_NORMAL_NOTE = #{pourFyNormalNote}</if>
  328. </trim>
  329. </sql>
  330. <select id="get" resultMap="bisInspSafeExtManageRepResultMap" parameterType="String" >
  331. select <include refid="table_columns" /> from BIS_INSP_SAFE_EXT_MANAGE_REP where ID = #{id}
  332. </select>
  333. <select id="getBy" resultMap="bisInspSafeExtManageRepResultMap">
  334. select <include refid="table_columns" /> from BIS_INSP_SAFE_EXT_MANAGE_REP <include refid="page_where" />
  335. </select>
  336. <select id="findAll" resultMap="bisInspSafeExtManageRepResultMap">
  337. select <include refid="table_columns" /> from BIS_INSP_SAFE_EXT_MANAGE_REP
  338. </select>
  339. <select id="findList" resultMap="bisInspSafeExtManageRepResultMap">
  340. select <include refid="table_columns" /> from BIS_INSP_SAFE_EXT_MANAGE_REP <include refid="page_where" />
  341. </select>
  342. <select id="selectCount" resultType="int" >
  343. select count(ID) from BIS_INSP_SAFE_EXT_MANAGE_REP <include refid="page_where" />
  344. </select>
  345. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
  346. insert into BIS_INSP_SAFE_EXT_MANAGE_REP( <include refid="table_columns" /> )
  347. values ( <include refid="entity_properties" /> )
  348. </insert>
  349. <delete id="delete" parameterType="java.lang.String">
  350. delete from BIS_INSP_SAFE_EXT_MANAGE_REP where ID = #{id}
  351. </delete>
  352. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
  353. delete from BIS_INSP_SAFE_EXT_MANAGE_REP <include refid="page_where" />
  354. </delete>
  355. <update id="deleteInFlag" parameterType="java.lang.String">
  356. update BIS_INSP_SAFE_EXT_MANAGE_REP set flag_valid = 0 where ID = #{id}
  357. </update>
  358. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
  359. update BIS_INSP_SAFE_EXT_MANAGE_REP
  360. <trim prefix="set" suffixOverrides=",">
  361. <if test="hasSetPourWaga != null and hasSetPourWaga != ''">HAS_SET_POUR_WAGA = #{hasSetPourWaga},</if>
  362. <if test="isPourWagaOpenNormal != null and isPourWagaOpenNormal != ''">IS_POUR_WAGA_OPEN_NORMAL = #{isPourWagaOpenNormal},</if>
  363. <if test="pourWagaDangDesc != null and pourWagaDangDesc != ''">POUR_WAGA_DANG_DESC = #{pourWagaDangDesc},</if>
  364. <if test="canNotSetFy != null and canNotSetFy != ''">CAN_NOT_SET_FY = #{canNotSetFy},</if>
  365. <if test="flLowLimLevNote != null and flLowLimLevNote != ''">FL_LOW_LIM_LEV_NOTE = #{flLowLimLevNote},</if>
  366. <if test="havFlLowLimLev != null and havFlLowLimLev != ''">HAV_FL_LOW_LIM_LEV = #{havFlLowLimLev},</if>
  367. <if test="gtFlLowLimLevNote != null and gtFlLowLimLevNote != ''">GT_FL_LOW_LIM_LEV_NOTE = #{gtFlLowLimLevNote},</if>
  368. <if test="gtFlLowLimLev != null and gtFlLowLimLev != ''">GT_FL_LOW_LIM_LEV = #{gtFlLowLimLev},</if>
  369. <if test="gtFlLowLimLevDesc != null and gtFlLowLimLevDesc != ''">GT_FL_LOW_LIM_LEV_DESC = #{gtFlLowLimLevDesc},</if>
  370. <if test="damSafeApprNote != null and damSafeApprNote != ''">DAM_SAFE_APPR_NOTE = #{damSafeApprNote},</if>
  371. <if test="extDamSafeAppr != null and extDamSafeAppr != ''">EXT_DAM_SAFE_APPR = #{extDamSafeAppr},</if>
  372. <if test="nearDamSafeApprTime != null">NEAR_DAM_SAFE_APPR_TIME = #{nearDamSafeApprTime},</if>
  373. <if test="neatDamSafeApprRes != null and neatDamSafeApprRes != ''">NEAT_DAM_SAFE_APPR_RES = #{neatDamSafeApprRes},</if>
  374. <if test="damSafeApprRequire != null and damSafeApprRequire != ''">DAM_SAFE_APPR_REQUIRE = #{damSafeApprRequire},</if>
  375. <if test="noDamSafeApprReson != null and noDamSafeApprReson != ''">NO_DAM_SAFE_APPR_RESON = #{noDamSafeApprReson},</if>
  376. <if test="reinForceNote != null and reinForceNote != ''">REIN_FORCE_NOTE = #{reinForceNote},</if>
  377. <if test="ifReinForce != null and ifReinForce != ''">IF_REIN_FORCE = #{ifReinForce},</if>
  378. <if test="reinForceTime != null and reinForceTime != ''">REIN_FORCE_TIME = #{reinForceTime},</if>
  379. <if test="ifComplateAcc != null and ifComplateAcc != ''">IF_COMPLATE_ACC = #{ifComplateAcc},</if>
  380. <if test="accDate != null">ACC_DATE = #{accDate},</if>
  381. <if test="ifComplateAccAll != null and ifComplateAccAll != ''">IF_COMPLATE_ACC_ALL = #{ifComplateAccAll},</if>
  382. <if test="complateAccAllDesc != null and complateAccAllDesc != ''">COMPLATE_ACC_ALL_DESC = #{complateAccAllDesc},</if>
  383. <if test="effectFloodSafe != null and effectFloodSafe != ''">EFFECT_FLOOD_SAFE = #{effectFloodSafe},</if>
  384. <if test="noReinForceReson != null and noReinForceReson != ''">NO_REIN_FORCE_RESON = #{noReinForceReson},</if>
  385. <if test="accHaveDangNow != null and accHaveDangNow != ''">ACC_HAVE_DANG_NOW = #{accHaveDangNow},</if>
  386. <if test="accHaveDangDesc != null and accHaveDangDesc != ''">ACC_HAVE_DANG_DESC = #{accHaveDangDesc},</if>
  387. <if test="ifWaterLessor != null and ifWaterLessor != ''">IF_WATER_LESSOR = #{ifWaterLessor},</if>
  388. <if test="waterLessorEffectFl != null and waterLessorEffectFl != ''">WATER_LESSOR_EFFECT_FL = #{waterLessorEffectFl},</if>
  389. <if test="waterLessorEffectFlReson != null and waterLessorEffectFlReson != ''">WATER_LESSOR_EFFECT_FL_RESON = #{waterLessorEffectFlReson},</if>
  390. <if test="manageRegRelNote != null and manageRegRelNote != ''">MANAGE_REG_REL_NOTE = #{manageRegRelNote},</if>
  391. <if test="ifManageRegRel != null and ifManageRegRel != ''">IF_MANAGE_REG_REL = #{ifManageRegRel},</if>
  392. <if test="manageRegNote != null and manageRegNote != ''">MANAGE_REG_NOTE = #{manageRegNote},</if>
  393. <if test="ifManageReg != null and ifManageReg != ''">IF_MANAGE_REG = #{ifManageReg},</if>
  394. <if test="damWarnLogoNote != null and damWarnLogoNote != ''">DAM_WARN_LOGO_NOTE = #{damWarnLogoNote},</if>
  395. <if test="ifDamWarnLogo != null and ifDamWarnLogo != ''">IF_DAM_WARN_LOGO = #{ifDamWarnLogo},</if>
  396. <if test="otherEffectReson != null and otherEffectReson != ''">OTHER_EFFECT_RESON = #{otherEffectReson},</if>
  397. <if test="recPersId != null and recPersId != ''">REC_PERS_ID = #{recPersId},</if>
  398. <if test="recPers2 != null and recPers2 != ''">REC_PERS2 = #{recPers2},</if>
  399. <if test="recPersTel != null and recPersTel != ''">REC_PERS_TEL = #{recPersTel},</if>
  400. <if test="createTime != null">CREATE_TIME = #{createTime},</if>
  401. <if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
  402. <if test="status != null and status != ''">STATUS = #{status},</if>
  403. <if test="poorCountry != null and poorCountry != ''">POOR_COUNTRY = #{poorCountry},</if>
  404. <if test="reverOrg != null and reverOrg != ''">REVER_ORG = #{reverOrg},</if>
  405. <if test="reverOrgName != null and reverOrgName != ''">REVER_ORG_NAME = #{reverOrgName},</if>
  406. <if test="mngrnId != null and mngrnId != ''">MNGRN_ID = #{mngrnId},</if>
  407. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  408. <if test="safeCommontNote != null and safeCommontNote != ''">SAFE_COMMONT_NOTE = #{safeCommontNote},</if>
  409. <if test="safeComment != null and safeComment != ''">SAFE_COMMENT = #{safeComment},</if>
  410. <if test="retainRegular != null and retainRegular != ''">RETAIN_REGULAR = #{retainRegular},</if>
  411. <if test="hasRetainRegular != null and hasRetainRegular != ''">HAS_RETAIN_REGULAR = #{hasRetainRegular},</if>
  412. <if test="wdEmnic != null and wdEmnic != ''">WD_EMNIC = #{wdEmnic},</if>
  413. <if test="hasWdEmnic != null and hasWdEmnic != ''">HAS_WD_EMNIC = #{hasWdEmnic},</if>
  414. <if test="managePersNote != null and managePersNote != ''">MANAGE_PERS_NOTE = #{managePersNote},</if>
  415. <if test="hasManagePers != null and hasManagePers != ''">HAS_MANAGE_PERS = #{hasManagePers},</if>
  416. <if test="speManageNote != null and speManageNote != ''">SPE_MANAGE_NOTE = #{speManageNote},</if>
  417. <if test="hasSpeManage != null and hasSpeManage != ''">HAS_SPE_MANAGE = #{hasSpeManage},</if>
  418. <if test="noRetainRegularNote != null and noRetainRegularNote != ''">NO_RETAIN_REGULAR_NOTE = #{noRetainRegularNote},</if>
  419. <if test="noRetainRegular != null and noRetainRegular != ''">NO_RETAIN_REGULAR = #{noRetainRegular},</if>
  420. <if test="canNotRetainWaterNote != null and canNotRetainWaterNote != ''">CAN_NOT_RETAIN_WATER_NOTE = #{canNotRetainWaterNote},</if>
  421. <if test="canNotRetainWater != null and canNotRetainWater != ''">CAN_NOT_RETAIN_WATER = #{canNotRetainWater},</if>
  422. <if test="dikeHasLeakNote != null and dikeHasLeakNote != ''">DIKE_HAS_LEAK_NOTE = #{dikeHasLeakNote},</if>
  423. <if test="dikeHasLeak != null and dikeHasLeak != ''">DIKE_HAS_LEAK = #{dikeHasLeak},</if>
  424. <if test="leakMakeSafeNote != null and leakMakeSafeNote != ''">LEAK_MAKE_SAFE_NOTE = #{leakMakeSafeNote},</if>
  425. <if test="leakMakeSafe != null and leakMakeSafe != ''">LEAK_MAKE_SAFE = #{leakMakeSafe},</if>
  426. <if test="hasAstable != null and hasAstable != ''">HAS_ASTABLE = #{hasAstable},</if>
  427. <if test="astableDesc != null and astableDesc != ''">ASTABLE_DESC = #{astableDesc},</if>
  428. <if test="setMainFlNote != null and setMainFlNote != ''">SET_MAIN_FL_NOTE = #{setMainFlNote},</if>
  429. <if test="hasSetMainFl != null and hasSetMainFl != ''">HAS_SET_MAIN_FL = #{hasSetMainFl},</if>
  430. <if test="mainFlNormalNote != null and mainFlNormalNote != ''">MAIN_FL_NORMAL_NOTE = #{mainFlNormalNote},</if>
  431. <if test="isMainFlNormal != null and isMainFlNormal != ''">IS_MAIN_FL_NORMAL = #{isMainFlNormal},</if>
  432. <if test="hasSetWaga != null and hasSetWaga != ''">HAS_SET_WAGA = #{hasSetWaga},</if>
  433. <if test="isWagaOpenNormal != null and isWagaOpenNormal != ''">IS_WAGA_OPEN_NORMAL = #{isWagaOpenNormal},</if>
  434. <if test="wagaDangDesc != null and wagaDangDesc != ''">WAGA_DANG_DESC = #{wagaDangDesc},</if>
  435. <if test="notSetWagaReason != null and notSetWagaReason != ''">NOT_SET_WAGA_REASON = #{notSetWagaReason},</if>
  436. <if test="setPorrFlNote != null and setPorrFlNote != ''">SET_PORR_FL_NOTE = #{setPorrFlNote},</if>
  437. <if test="hasSetPourFl != null and hasSetPourFl != ''">HAS_SET_POUR_FL = #{hasSetPourFl},</if>
  438. <if test="pourFyNormalNote != null and pourFyNormalNote != ''">POUR_FY_NORMAL_NOTE = #{pourFyNormalNote},</if>
  439. </trim>
  440. <where>ID = #{id}</where>
  441. </update>
  442. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
  443. update BIS_INSP_SAFE_EXT_MANAGE_REP
  444. <trim prefix="set" suffixOverrides=",">
  445. <if test="hasSetPourWaga != null and hasSetPourWaga != ''">HAS_SET_POUR_WAGA = #{hasSetPourWaga},</if>
  446. <if test="isPourWagaOpenNormal != null and isPourWagaOpenNormal != ''">IS_POUR_WAGA_OPEN_NORMAL = #{isPourWagaOpenNormal},</if>
  447. <if test="pourWagaDangDesc != null and pourWagaDangDesc != ''">POUR_WAGA_DANG_DESC = #{pourWagaDangDesc},</if>
  448. <if test="canNotSetFy != null and canNotSetFy != ''">CAN_NOT_SET_FY = #{canNotSetFy},</if>
  449. <if test="flLowLimLevNote != null and flLowLimLevNote != ''">FL_LOW_LIM_LEV_NOTE = #{flLowLimLevNote},</if>
  450. <if test="havFlLowLimLev != null and havFlLowLimLev != ''">HAV_FL_LOW_LIM_LEV = #{havFlLowLimLev},</if>
  451. <if test="gtFlLowLimLevNote != null and gtFlLowLimLevNote != ''">GT_FL_LOW_LIM_LEV_NOTE = #{gtFlLowLimLevNote},</if>
  452. <if test="gtFlLowLimLev != null and gtFlLowLimLev != ''">GT_FL_LOW_LIM_LEV = #{gtFlLowLimLev},</if>
  453. <if test="gtFlLowLimLevDesc != null and gtFlLowLimLevDesc != ''">GT_FL_LOW_LIM_LEV_DESC = #{gtFlLowLimLevDesc},</if>
  454. <if test="damSafeApprNote != null and damSafeApprNote != ''">DAM_SAFE_APPR_NOTE = #{damSafeApprNote},</if>
  455. <if test="extDamSafeAppr != null and extDamSafeAppr != ''">EXT_DAM_SAFE_APPR = #{extDamSafeAppr},</if>
  456. <if test="nearDamSafeApprTime != null">NEAR_DAM_SAFE_APPR_TIME = #{nearDamSafeApprTime},</if>
  457. <if test="neatDamSafeApprRes != null and neatDamSafeApprRes != ''">NEAT_DAM_SAFE_APPR_RES = #{neatDamSafeApprRes},</if>
  458. <if test="damSafeApprRequire != null and damSafeApprRequire != ''">DAM_SAFE_APPR_REQUIRE = #{damSafeApprRequire},</if>
  459. <if test="noDamSafeApprReson != null and noDamSafeApprReson != ''">NO_DAM_SAFE_APPR_RESON = #{noDamSafeApprReson},</if>
  460. <if test="reinForceNote != null and reinForceNote != ''">REIN_FORCE_NOTE = #{reinForceNote},</if>
  461. <if test="ifReinForce != null and ifReinForce != ''">IF_REIN_FORCE = #{ifReinForce},</if>
  462. <if test="reinForceTime != null and reinForceTime != ''">REIN_FORCE_TIME = #{reinForceTime},</if>
  463. <if test="ifComplateAcc != null and ifComplateAcc != ''">IF_COMPLATE_ACC = #{ifComplateAcc},</if>
  464. <if test="accDate != null">ACC_DATE = #{accDate},</if>
  465. <if test="ifComplateAccAll != null and ifComplateAccAll != ''">IF_COMPLATE_ACC_ALL = #{ifComplateAccAll},</if>
  466. <if test="complateAccAllDesc != null and complateAccAllDesc != ''">COMPLATE_ACC_ALL_DESC = #{complateAccAllDesc},</if>
  467. <if test="effectFloodSafe != null and effectFloodSafe != ''">EFFECT_FLOOD_SAFE = #{effectFloodSafe},</if>
  468. <if test="noReinForceReson != null and noReinForceReson != ''">NO_REIN_FORCE_RESON = #{noReinForceReson},</if>
  469. <if test="accHaveDangNow != null and accHaveDangNow != ''">ACC_HAVE_DANG_NOW = #{accHaveDangNow},</if>
  470. <if test="accHaveDangDesc != null and accHaveDangDesc != ''">ACC_HAVE_DANG_DESC = #{accHaveDangDesc},</if>
  471. <if test="ifWaterLessor != null and ifWaterLessor != ''">IF_WATER_LESSOR = #{ifWaterLessor},</if>
  472. <if test="waterLessorEffectFl != null and waterLessorEffectFl != ''">WATER_LESSOR_EFFECT_FL = #{waterLessorEffectFl},</if>
  473. <if test="waterLessorEffectFlReson != null and waterLessorEffectFlReson != ''">WATER_LESSOR_EFFECT_FL_RESON = #{waterLessorEffectFlReson},</if>
  474. <if test="manageRegRelNote != null and manageRegRelNote != ''">MANAGE_REG_REL_NOTE = #{manageRegRelNote},</if>
  475. <if test="ifManageRegRel != null and ifManageRegRel != ''">IF_MANAGE_REG_REL = #{ifManageRegRel},</if>
  476. <if test="manageRegNote != null and manageRegNote != ''">MANAGE_REG_NOTE = #{manageRegNote},</if>
  477. <if test="ifManageReg != null and ifManageReg != ''">IF_MANAGE_REG = #{ifManageReg},</if>
  478. <if test="damWarnLogoNote != null and damWarnLogoNote != ''">DAM_WARN_LOGO_NOTE = #{damWarnLogoNote},</if>
  479. <if test="ifDamWarnLogo != null and ifDamWarnLogo != ''">IF_DAM_WARN_LOGO = #{ifDamWarnLogo},</if>
  480. <if test="otherEffectReson != null and otherEffectReson != ''">OTHER_EFFECT_RESON = #{otherEffectReson},</if>
  481. <if test="recPersId != null and recPersId != ''">REC_PERS_ID = #{recPersId},</if>
  482. <if test="recPers2 != null and recPers2 != ''">REC_PERS2 = #{recPers2},</if>
  483. <if test="recPersTel != null and recPersTel != ''">REC_PERS_TEL = #{recPersTel},</if>
  484. <if test="createTime != null">CREATE_TIME = #{createTime},</if>
  485. <if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
  486. <if test="status != null and status != ''">STATUS = #{status},</if>
  487. <if test="poorCountry != null and poorCountry != ''">POOR_COUNTRY = #{poorCountry},</if>
  488. <if test="reverOrg != null and reverOrg != ''">REVER_ORG = #{reverOrg},</if>
  489. <if test="reverOrgName != null and reverOrgName != ''">REVER_ORG_NAME = #{reverOrgName},</if>
  490. <if test="mngrnId != null and mngrnId != ''">MNGRN_ID = #{mngrnId},</if>
  491. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  492. <if test="safeCommontNote != null and safeCommontNote != ''">SAFE_COMMONT_NOTE = #{safeCommontNote},</if>
  493. <if test="safeComment != null and safeComment != ''">SAFE_COMMENT = #{safeComment},</if>
  494. <if test="retainRegular != null and retainRegular != ''">RETAIN_REGULAR = #{retainRegular},</if>
  495. <if test="hasRetainRegular != null and hasRetainRegular != ''">HAS_RETAIN_REGULAR = #{hasRetainRegular},</if>
  496. <if test="wdEmnic != null and wdEmnic != ''">WD_EMNIC = #{wdEmnic},</if>
  497. <if test="hasWdEmnic != null and hasWdEmnic != ''">HAS_WD_EMNIC = #{hasWdEmnic},</if>
  498. <if test="managePersNote != null and managePersNote != ''">MANAGE_PERS_NOTE = #{managePersNote},</if>
  499. <if test="hasManagePers != null and hasManagePers != ''">HAS_MANAGE_PERS = #{hasManagePers},</if>
  500. <if test="speManageNote != null and speManageNote != ''">SPE_MANAGE_NOTE = #{speManageNote},</if>
  501. <if test="hasSpeManage != null and hasSpeManage != ''">HAS_SPE_MANAGE = #{hasSpeManage},</if>
  502. <if test="noRetainRegularNote != null and noRetainRegularNote != ''">NO_RETAIN_REGULAR_NOTE = #{noRetainRegularNote},</if>
  503. <if test="noRetainRegular != null and noRetainRegular != ''">NO_RETAIN_REGULAR = #{noRetainRegular},</if>
  504. <if test="canNotRetainWaterNote != null and canNotRetainWaterNote != ''">CAN_NOT_RETAIN_WATER_NOTE = #{canNotRetainWaterNote},</if>
  505. <if test="canNotRetainWater != null and canNotRetainWater != ''">CAN_NOT_RETAIN_WATER = #{canNotRetainWater},</if>
  506. <if test="dikeHasLeakNote != null and dikeHasLeakNote != ''">DIKE_HAS_LEAK_NOTE = #{dikeHasLeakNote},</if>
  507. <if test="dikeHasLeak != null and dikeHasLeak != ''">DIKE_HAS_LEAK = #{dikeHasLeak},</if>
  508. <if test="leakMakeSafeNote != null and leakMakeSafeNote != ''">LEAK_MAKE_SAFE_NOTE = #{leakMakeSafeNote},</if>
  509. <if test="leakMakeSafe != null and leakMakeSafe != ''">LEAK_MAKE_SAFE = #{leakMakeSafe},</if>
  510. <if test="hasAstable != null and hasAstable != ''">HAS_ASTABLE = #{hasAstable},</if>
  511. <if test="astableDesc != null and astableDesc != ''">ASTABLE_DESC = #{astableDesc},</if>
  512. <if test="setMainFlNote != null and setMainFlNote != ''">SET_MAIN_FL_NOTE = #{setMainFlNote},</if>
  513. <if test="hasSetMainFl != null and hasSetMainFl != ''">HAS_SET_MAIN_FL = #{hasSetMainFl},</if>
  514. <if test="mainFlNormalNote != null and mainFlNormalNote != ''">MAIN_FL_NORMAL_NOTE = #{mainFlNormalNote},</if>
  515. <if test="isMainFlNormal != null and isMainFlNormal != ''">IS_MAIN_FL_NORMAL = #{isMainFlNormal},</if>
  516. <if test="hasSetWaga != null and hasSetWaga != ''">HAS_SET_WAGA = #{hasSetWaga},</if>
  517. <if test="isWagaOpenNormal != null and isWagaOpenNormal != ''">IS_WAGA_OPEN_NORMAL = #{isWagaOpenNormal},</if>
  518. <if test="wagaDangDesc != null and wagaDangDesc != ''">WAGA_DANG_DESC = #{wagaDangDesc},</if>
  519. <if test="notSetWagaReason != null and notSetWagaReason != ''">NOT_SET_WAGA_REASON = #{notSetWagaReason},</if>
  520. <if test="setPorrFlNote != null and setPorrFlNote != ''">SET_PORR_FL_NOTE = #{setPorrFlNote},</if>
  521. <if test="hasSetPourFl != null and hasSetPourFl != ''">HAS_SET_POUR_FL = #{hasSetPourFl},</if>
  522. <if test="pourFyNormalNote != null and pourFyNormalNote != ''">POUR_FY_NORMAL_NOTE = #{pourFyNormalNote},</if>
  523. </trim>
  524. <include refid="page_where" />
  525. </update>
  526. <!-- 其他自定义SQL -->
  527. </mapper>