cd05d0f65383038d95eb6a2f72638f7a2e7c0bfd.svn-base 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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.BisInspIrrChanDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspIrrChan" id="bisInspIrrChanResultMap">
  5. <result property="id" column="ID"/>
  6. <result property="rgstrId" column="RGSTR_ID"/>
  7. <result property="objId" column="OBJ_ID"/>
  8. <result property="code" column="CODE"/>
  9. <result property="name" column="NAME"/>
  10. <result property="adCode" column="AD_CODE"/>
  11. <result property="adName" column="AD_NAME"/>
  12. <result property="sour" column="SOUR"/>
  13. <result property="compDate" column="COMP_DATE"/>
  14. <result property="irrCode" column="IRR_CODE"/>
  15. <result property="irrName" column="IRR_NAME"/>
  16. <result property="chanLen" column="CHAN_LEN"/>
  17. <result property="irrArea" column="IRR_AREA"/>
  18. <result property="totFlow" column="TOT_FLOW"/>
  19. <result property="higStnType" column="HIG_STN_TYPE"/>
  20. <result property="prjPbmArea" column="PRJ_PBM_AREA"/>
  21. <result property="prjWhoTend" column="PRJ_WHO_TEND"/>
  22. <result property="prjUsrType" column="PRJ_USR_TYPE"/>
  23. <result property="whoTend" column="WHO_TEND"/>
  24. <result property="isTendRcrd" column="IS_TEND_RCRD"/>
  25. <result property="tendRcrdType" column="TEND_RCRD_TYPE"/>
  26. <result property="isWtrFarm" column="IS_WTR_FARM"/>
  27. <result property="wtrNotFarm" column="WTR_NOT_FARM"/>
  28. <result property="wtrNotFarmNote" column="WTR_NOT_FARM_NOTE"/>
  29. <result property="dstyLen" column="DSTY_LEN"/>
  30. <result property="siltationLen" column="SILTATION_LEN"/>
  31. <result property="liningLen" column="LINING_LEN"/>
  32. <result property="isWtrOntm" column="IS_WTR_ONTM"/>
  33. <result property="wtrFclty" column="WTR_FCLTY"/>
  34. <result property="isWainFclty" column="IS_WAIN_FCLTY"/>
  35. <result property="msurWtrUse" column="MSUR_WTR_USE"/>
  36. <result property="chanFull" column="CHAN_FULL"/>
  37. <result property="matingFull" column="MATING_FULL"/>
  38. <result property="evaluate" column="EVALUATE"/>
  39. <result property="note" column="NOTE"/>
  40. <result property="invsrName" column="INVSR_NAME"/>
  41. <result property="invsrPhone" column="INVSR_PHONE"/>
  42. <result property="invsrTm" column="INVSR_TM"/>
  43. <result property="persId" column="PERS_ID"/>
  44. <result property="intm" column="INTM"/>
  45. <result property="uptm" column="UPTM"/>
  46. <result property="dataStat" column="DATA_STAT"/>
  47. <result property="state" column="STATE"/>
  48. <result property="centerX" column="CENTER_X"/>
  49. <result property="centerY" column="CENTER_Y"/>
  50. <result property="gdX" column="GD_X"/>
  51. <result property="gdY" column="GD_Y"/>
  52. <result property="sourNote" column="SOUR_NOTE"/>
  53. <result property="isCurryearComp" column="IS_CURRYEAR_COMP"/>
  54. <result property="beforeCurryearComp" column="BEFROE_CURRYEAR"/>
  55. <result property="afterCurryearComp" column="AFTER_CURRYEAR"/>
  56. </resultMap>
  57. <sql id="table_columns">
  58. IS_CURRYEAR_COMP,
  59. BEFROE_CURRYEAR,
  60. AFTER_CURRYEAR,
  61. SOUR_NOTE,
  62. CENTER_X,
  63. CENTER_Y,
  64. GD_X,
  65. GD_Y,
  66. ID,
  67. RGSTR_ID,
  68. OBJ_ID,
  69. CODE,
  70. NAME,
  71. AD_CODE,
  72. AD_NAME,
  73. SOUR,
  74. COMP_DATE,
  75. IRR_CODE,
  76. IRR_NAME,
  77. CHAN_LEN,
  78. IRR_AREA,
  79. TOT_FLOW,
  80. HIG_STN_TYPE,
  81. PRJ_PBM_AREA,
  82. PRJ_WHO_TEND,
  83. PRJ_USR_TYPE,
  84. WHO_TEND,
  85. IS_TEND_RCRD,
  86. TEND_RCRD_TYPE,
  87. IS_WTR_FARM,
  88. WTR_NOT_FARM,
  89. WTR_NOT_FARM_NOTE,
  90. DSTY_LEN,
  91. SILTATION_LEN,
  92. LINING_LEN,
  93. IS_WTR_ONTM,
  94. WTR_FCLTY,
  95. IS_WAIN_FCLTY,
  96. MSUR_WTR_USE,
  97. CHAN_FULL,
  98. MATING_FULL,
  99. EVALUATE,
  100. NOTE,
  101. INVSR_NAME,
  102. INVSR_PHONE,
  103. INVSR_TM,
  104. PERS_ID,
  105. INTM,
  106. UPTM,
  107. DATA_STAT,
  108. STATE
  109. </sql>
  110. <sql id="entity_properties">
  111. #{isCurryearComp},
  112. #{beforeCurryearComp},
  113. #{afterCurryearComp},
  114. #{sourNote},
  115. #{centerX},
  116. #{centerY},
  117. #{gdX},
  118. #{gdY},
  119. #{id},
  120. #{rgstrId},
  121. #{objId},
  122. #{code},
  123. #{name},
  124. #{adCode},
  125. #{adName},
  126. #{sour},
  127. #{compDate},
  128. #{irrCode},
  129. #{irrName},
  130. #{chanLen},
  131. #{irrArea},
  132. #{totFlow},
  133. #{higStnType},
  134. #{prjPbmArea},
  135. #{prjWhoTend},
  136. #{prjUsrType},
  137. #{whoTend},
  138. #{isTendRcrd},
  139. #{tendRcrdType},
  140. #{isWtrFarm},
  141. #{wtrNotFarm},
  142. #{wtrNotFarmNote},
  143. #{dstyLen},
  144. #{siltationLen},
  145. #{liningLen},
  146. #{isWtrOntm},
  147. #{wtrFclty},
  148. #{isWainFclty},
  149. #{msurWtrUse},
  150. #{chanFull},
  151. #{matingFull},
  152. #{evaluate},
  153. #{note},
  154. #{invsrName},
  155. #{invsrPhone},
  156. #{invsrTm},
  157. #{persId},
  158. #{intm},
  159. #{uptm},
  160. #{dataStat},
  161. #{state}
  162. </sql>
  163. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  164. <sql id="page_where">
  165. <trim prefix="where" prefixOverrides="and | or ">
  166. <if test="isCurryearComp != null and isCurryearComp != ''">and IS_CURRYEAR_COMP = #{isCurryearComp}</if>
  167. <if test="beforeCurryearComp != null and beforeCurryearComp != ''">and BEFROE_CURRYEAR = #{beforeCurryearComp}</if>
  168. <if test="afterCurryearComp != null and afterCurryearComp != ''">and AFTER_CURRYEAR = #{afterCurryearComp}</if>
  169. <if test="sourNote != null and sourNote != ''">and SOUR_NOTE = #{sourNote}</if>
  170. <if test="centerX != null and centerX != ''">and CENTER_X = #{centerX}</if>
  171. <if test="centerY != null and centerY != ''">and CENTER_Y = #{centerY}</if>
  172. <if test="gdX != null and gdX != ''">and GD_X = #{gdX}</if>
  173. <if test="gdY != null and gdY != ''">and GD_Y = #{gdY}</if>
  174. <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
  175. <if test="objId != null and objId != ''">and OBJ_ID = #{objId}</if>
  176. <if test="code != null and code != ''">and CODE = #{code}</if>
  177. <if test="name != null and name != ''">and NAME like concat('%',concat(#{name},'%'))</if>
  178. <if test="adCode != null and adCode != ''">and AD_CODE = #{adCode}</if>
  179. <if test="adName != null and adName != ''">and AD_NAME = #{adName}</if>
  180. <if test="sour != null and sour != ''">and SOUR = #{sour}</if>
  181. <if test="compDate != null and compDate != ''">and COMP_DATE = #{compDate}</if>
  182. <if test="irrCode != null and irrCode != ''">and IRR_CODE = #{irrCode}</if>
  183. <if test="irrName != null and irrName != ''">and IRR_NAME = #{irrName}</if>
  184. <if test="chanLen != null and chanLen != ''">and CHAN_LEN = #{chanLen}</if>
  185. <if test="irrArea != null and irrArea != ''">and IRR_AREA = #{irrArea}</if>
  186. <if test="totFlow != null and totFlow != ''">and TOT_FLOW = #{totFlow}</if>
  187. <if test="higStnType != null and higStnType != ''">and HIG_STN_TYPE = #{higStnType}</if>
  188. <if test="prjPbmArea != null and prjPbmArea != ''">and PRJ_PBM_AREA = #{prjPbmArea}</if>
  189. <if test="prjWhoTend != null and prjWhoTend != ''">and PRJ_WHO_TEND = #{prjWhoTend}</if>
  190. <if test="prjUsrType != null and prjUsrType != ''">and PRJ_USR_TYPE = #{prjUsrType}</if>
  191. <if test="whoTend != null and whoTend != ''">and WHO_TEND = #{whoTend}</if>
  192. <if test="isTendRcrd != null and isTendRcrd != ''">and IS_TEND_RCRD = #{isTendRcrd}</if>
  193. <if test="tendRcrdType != null and tendRcrdType != ''">and TEND_RCRD_TYPE = #{tendRcrdType}</if>
  194. <if test="isWtrFarm != null and isWtrFarm != ''">and IS_WTR_FARM = #{isWtrFarm}</if>
  195. <if test="wtrNotFarm != null and wtrNotFarm != ''">and WTR_NOT_FARM = #{wtrNotFarm}</if>
  196. <if test="wtrNotFarmNote != null and wtrNotFarmNote != ''">and WTR_NOT_FARM_NOTE = #{wtrNotFarmNote}</if>
  197. <if test="dstyLen != null and dstyLen != ''">and DSTY_LEN = #{dstyLen}</if>
  198. <if test="siltationLen != null and siltationLen != ''">and SILTATION_LEN = #{siltationLen}</if>
  199. <if test="liningLen != null and liningLen != ''">and LINING_LEN = #{liningLen}</if>
  200. <if test="isWtrOntm != null and isWtrOntm != ''">and IS_WTR_ONTM = #{isWtrOntm}</if>
  201. <if test="wtrFclty != null and wtrFclty != ''">and WTR_FCLTY = #{wtrFclty}</if>
  202. <if test="isWainFclty != null and isWainFclty != ''">and IS_WAIN_FCLTY = #{isWainFclty}</if>
  203. <if test="msurWtrUse != null and msurWtrUse != ''">and MSUR_WTR_USE = #{msurWtrUse}</if>
  204. <if test="chanFull != null and chanFull != ''">and CHAN_FULL = #{chanFull}</if>
  205. <if test="matingFull != null and matingFull != ''">and MATING_FULL = #{matingFull}</if>
  206. <if test="evaluate != null and evaluate != ''">and EVALUATE = #{evaluate}</if>
  207. <if test="note != null and note != ''">and NOTE = #{note}</if>
  208. <if test="invsrName != null and invsrName != ''">and INVSR_NAME = #{invsrName}</if>
  209. <if test="invsrPhone != null and invsrPhone != ''">and INVSR_PHONE = #{invsrPhone}</if>
  210. <if test="invsrTm != null">and INVSR_TM = #{invsrTm}</if>
  211. <if test="persId != null and persId != ''">and PERS_ID = #{persId}</if>
  212. <if test="intm != null">and INTM = #{intm}</if>
  213. <if test="uptm != null">and UPTM = #{uptm}</if>
  214. <if test="dataStat != null and dataStat != ''">and DATA_STAT = #{dataStat}</if>
  215. <if test="state != null and state != ''">and STATE = #{state}</if>
  216. and DATA_STAT='0'
  217. </trim>
  218. </sql>
  219. <select id="get" resultMap="bisInspIrrChanResultMap" parameterType="String" >
  220. select <include refid="table_columns" /> from BIS_INSP_IRR_CHAN where ID = #{id}
  221. </select>
  222. <select id="getBy" resultMap="bisInspIrrChanResultMap">
  223. select <include refid="table_columns" /> from BIS_INSP_IRR_CHAN <include refid="page_where" />
  224. </select>
  225. <select id="findAll" resultMap="bisInspIrrChanResultMap">
  226. select <include refid="table_columns" /> from BIS_INSP_IRR_CHAN
  227. </select>
  228. <select id="findList" resultMap="bisInspIrrChanResultMap">
  229. select <include refid="table_columns" /> from BIS_INSP_IRR_CHAN <include refid="page_where" />
  230. </select>
  231. <select id="selectCount" resultType="int" >
  232. select count(ID) from BIS_INSP_IRR_CHAN <include refid="page_where" />
  233. </select>
  234. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspIrrChan">
  235. insert into BIS_INSP_IRR_CHAN( <include refid="table_columns" /> )
  236. values ( <include refid="entity_properties" /> )
  237. </insert>
  238. <delete id="delete" parameterType="java.lang.String">
  239. update BIS_INSP_IRR_CHAN set DATA_STAT='9' where ID = #{id}
  240. </delete>
  241. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspIrrChan">
  242. update BIS_INSP_IRR_CHAN set DATA_STAT='9' <include refid="page_where" />
  243. </delete>
  244. <update id="deleteInFlag" parameterType="java.lang.String">
  245. update BIS_INSP_IRR_CHAN set DATA_STAT = '9' where ID = #{id}
  246. </update>
  247. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspIrrChan">
  248. update BIS_INSP_IRR_CHAN
  249. <trim prefix="set" suffixOverrides=",">
  250. <if test="isCurryearComp != null and isCurryearComp != ''">IS_CURRYEAR_COMP = #{isCurryearComp},</if>
  251. <if test="beforeCurryearComp != null and beforeCurryearComp != ''">BEFROE_CURRYEAR = #{beforeCurryearComp},</if>
  252. <if test="afterCurryearComp != null and afterCurryearComp != ''">AFTER_CURRYEAR = #{afterCurryearComp},</if>
  253. <if test="sourNote != null and sourNote != ''">SOUR_NOTE = #{sourNote},</if>
  254. <if test="centerX != null and centerX != ''">CENTER_X = #{centerX},</if>
  255. <if test="centerY != null and centerY != ''">CENTER_Y = #{centerY},</if>
  256. <if test="gdX != null and gdX != ''">GD_X = #{gdX},</if>
  257. <if test="gdY != null and gdY != ''">GD_Y = #{gdY},</if>
  258. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  259. <if test="objId != null and objId != ''">OBJ_ID = #{objId},</if>
  260. <if test="code != null and code != ''">CODE = #{code},</if>
  261. <if test="name != null and name != ''">NAME = #{name},</if>
  262. <if test="adCode != null and adCode != ''">AD_CODE = #{adCode},</if>
  263. <if test="adName != null and adName != ''">AD_NAME = #{adName},</if>
  264. <if test="sour != null and sour != ''">SOUR = #{sour},</if>
  265. <if test="compDate != null and compDate != ''">COMP_DATE = #{compDate},</if>
  266. <if test="irrCode != null and irrCode != ''">IRR_CODE = #{irrCode},</if>
  267. <if test="irrName != null and irrName != ''">IRR_NAME = #{irrName},</if>
  268. <if test="chanLen != null and chanLen != ''">CHAN_LEN = #{chanLen},</if>
  269. <if test="irrArea != null and irrArea != ''">IRR_AREA = #{irrArea},</if>
  270. <if test="totFlow != null and totFlow != ''">TOT_FLOW = #{totFlow},</if>
  271. <if test="higStnType != null and higStnType != ''">HIG_STN_TYPE = #{higStnType},</if>
  272. <if test="prjPbmArea != null and prjPbmArea != ''">PRJ_PBM_AREA = #{prjPbmArea},</if>
  273. <if test="prjWhoTend != null and prjWhoTend != ''">PRJ_WHO_TEND = #{prjWhoTend},</if>
  274. <if test="prjUsrType != null and prjUsrType != ''">PRJ_USR_TYPE = #{prjUsrType},</if>
  275. <if test="whoTend != null and whoTend != ''">WHO_TEND = #{whoTend},</if>
  276. <if test="isTendRcrd != null and isTendRcrd != ''">IS_TEND_RCRD = #{isTendRcrd},</if>
  277. <if test="tendRcrdType != null and tendRcrdType != ''">TEND_RCRD_TYPE = #{tendRcrdType},</if>
  278. <if test="isWtrFarm != null and isWtrFarm != ''">IS_WTR_FARM = #{isWtrFarm},</if>
  279. <if test="wtrNotFarm != null and wtrNotFarm != ''">WTR_NOT_FARM = #{wtrNotFarm},</if>
  280. <if test="wtrNotFarmNote != null and wtrNotFarmNote != ''">WTR_NOT_FARM_NOTE = #{wtrNotFarmNote},</if>
  281. <if test="dstyLen != null and dstyLen != ''">DSTY_LEN = #{dstyLen},</if>
  282. <if test="siltationLen != null and siltationLen != ''">SILTATION_LEN = #{siltationLen},</if>
  283. <if test="liningLen != null and liningLen != ''">LINING_LEN = #{liningLen},</if>
  284. <if test="isWtrOntm != null and isWtrOntm != ''">IS_WTR_ONTM = #{isWtrOntm},</if>
  285. <if test="wtrFclty != null and wtrFclty != ''">WTR_FCLTY = #{wtrFclty},</if>
  286. <if test="isWainFclty != null and isWainFclty != ''">IS_WAIN_FCLTY = #{isWainFclty},</if>
  287. <if test="msurWtrUse != null and msurWtrUse != ''">MSUR_WTR_USE = #{msurWtrUse},</if>
  288. <if test="chanFull != null and chanFull != ''">CHAN_FULL = #{chanFull},</if>
  289. <if test="matingFull != null and matingFull != ''">MATING_FULL = #{matingFull},</if>
  290. <if test="evaluate != null and evaluate != ''">EVALUATE = #{evaluate},</if>
  291. <if test="note != null and note != ''">NOTE = #{note},</if>
  292. <if test="invsrName != null and invsrName != ''">INVSR_NAME = #{invsrName},</if>
  293. <if test="invsrPhone != null and invsrPhone != ''">INVSR_PHONE = #{invsrPhone},</if>
  294. <if test="invsrTm != null">INVSR_TM = #{invsrTm},</if>
  295. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  296. <if test="intm != null">INTM = #{intm},</if>
  297. <if test="uptm != null">UPTM = #{uptm},</if>
  298. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  299. <if test="state != null and state != ''">STATE = #{state},</if>
  300. </trim>
  301. <where>ID = #{id}</where>
  302. </update>
  303. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspIrrChan">
  304. update BIS_INSP_IRR_CHAN
  305. <trim prefix="set" suffixOverrides=",">
  306. <if test="isCurryearComp != null and isCurryearComp != ''">IS_CURRYEAR_COMP = #{isCurryearComp},</if>
  307. <if test="beforeCurryearComp != null and beforeCurryearComp != ''">BEFROE_CURRYEAR = #{beforeCurryearComp},</if>
  308. <if test="afterCurryearComp != null and afterCurryearComp != ''">AFTER_CURRYEAR = #{afterCurryearComp},</if>
  309. <if test="sourNote != null and sourNote != ''">SOUR_NOTE = #{sourNote},</if>
  310. <if test="centerX != null and centerX != ''">CENTER_X = #{centerX},</if>
  311. <if test="centerY != null and centerY != ''">CENTER_Y = #{centerY},</if>
  312. <if test="gdX != null and gdX != ''">GD_X = #{gdX},</if>
  313. <if test="gdY != null and gdY != ''">GD_Y = #{gdY},</if>
  314. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  315. <if test="objId != null and objId != ''">OBJ_ID = #{objId},</if>
  316. <if test="code != null and code != ''">CODE = #{code},</if>
  317. <if test="name != null and name != ''">NAME = #{name},</if>
  318. <if test="adCode != null and adCode != ''">AD_CODE = #{adCode},</if>
  319. <if test="adName != null and adName != ''">AD_NAME = #{adName},</if>
  320. <if test="sour != null and sour != ''">SOUR = #{sour},</if>
  321. <if test="compDate != null and compDate != ''">COMP_DATE = #{compDate},</if>
  322. <if test="irrCode != null and irrCode != ''">IRR_CODE = #{irrCode},</if>
  323. <if test="irrName != null and irrName != ''">IRR_NAME = #{irrName},</if>
  324. <if test="chanLen != null and chanLen != ''">CHAN_LEN = #{chanLen},</if>
  325. <if test="irrArea != null and irrArea != ''">IRR_AREA = #{irrArea},</if>
  326. <if test="totFlow != null and totFlow != ''">TOT_FLOW = #{totFlow},</if>
  327. <if test="higStnType != null and higStnType != ''">HIG_STN_TYPE = #{higStnType},</if>
  328. <if test="prjPbmArea != null and prjPbmArea != ''">PRJ_PBM_AREA = #{prjPbmArea},</if>
  329. <if test="prjWhoTend != null and prjWhoTend != ''">PRJ_WHO_TEND = #{prjWhoTend},</if>
  330. <if test="prjUsrType != null and prjUsrType != ''">PRJ_USR_TYPE = #{prjUsrType},</if>
  331. <if test="whoTend != null and whoTend != ''">WHO_TEND = #{whoTend},</if>
  332. <if test="isTendRcrd != null and isTendRcrd != ''">IS_TEND_RCRD = #{isTendRcrd},</if>
  333. <if test="tendRcrdType != null and tendRcrdType != ''">TEND_RCRD_TYPE = #{tendRcrdType},</if>
  334. <if test="isWtrFarm != null and isWtrFarm != ''">IS_WTR_FARM = #{isWtrFarm},</if>
  335. <if test="wtrNotFarm != null and wtrNotFarm != ''">WTR_NOT_FARM = #{wtrNotFarm},</if>
  336. <if test="wtrNotFarmNote != null and wtrNotFarmNote != ''">WTR_NOT_FARM_NOTE = #{wtrNotFarmNote},</if>
  337. <if test="dstyLen != null and dstyLen != ''">DSTY_LEN = #{dstyLen},</if>
  338. <if test="siltationLen != null and siltationLen != ''">SILTATION_LEN = #{siltationLen},</if>
  339. <if test="liningLen != null and liningLen != ''">LINING_LEN = #{liningLen},</if>
  340. <if test="isWtrOntm != null and isWtrOntm != ''">IS_WTR_ONTM = #{isWtrOntm},</if>
  341. <if test="wtrFclty != null and wtrFclty != ''">WTR_FCLTY = #{wtrFclty},</if>
  342. <if test="isWainFclty != null and isWainFclty != ''">IS_WAIN_FCLTY = #{isWainFclty},</if>
  343. <if test="msurWtrUse != null and msurWtrUse != ''">MSUR_WTR_USE = #{msurWtrUse},</if>
  344. <if test="chanFull != null and chanFull != ''">CHAN_FULL = #{chanFull},</if>
  345. <if test="matingFull != null and matingFull != ''">MATING_FULL = #{matingFull},</if>
  346. <if test="evaluate != null and evaluate != ''">EVALUATE = #{evaluate},</if>
  347. <if test="note != null and note != ''">NOTE = #{note},</if>
  348. <if test="invsrName != null and invsrName != ''">INVSR_NAME = #{invsrName},</if>
  349. <if test="invsrPhone != null and invsrPhone != ''">INVSR_PHONE = #{invsrPhone},</if>
  350. <if test="invsrTm != null">INVSR_TM = #{invsrTm},</if>
  351. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  352. <if test="intm != null">INTM = #{intm},</if>
  353. <if test="uptm != null">UPTM = #{uptm},</if>
  354. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  355. <if test="state != null and state != ''">STATE = #{state},</if>
  356. </trim>
  357. <include refid="page_where" />
  358. </update>
  359. <!-- 其他自定义SQL -->
  360. </mapper>