BisNewCountryFeeDao.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  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.BisNewCountryFeeDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisNewCountryFee" id="bisNewCountryFeeResultMap">
  5. <result property="id" column="ID"/>
  6. <result property="regstrId" column="REGSTR_ID"/>
  7. <result property="gudingPriceDw" column="GUDING_PRICE_DW"/>
  8. <result property="gudingPrice" column="GUDING_PRICE"/>
  9. <result property="xianEPrice" column="XIAN_E_PRICE"/>
  10. <result property="jiliangPrice" column="JILIANG_PRICE"/>
  11. <result property="jietiPriceOne" column="JIETI_PRICE_ONE"/>
  12. <result property="jietiPriceTwo" column="JIETI_PRICE_TWO"/>
  13. <result property="jietiPriceThree" column="JIETI_PRICE_THREE"/>
  14. <result property="jietiXianeOne" column="JIETI_XIANE_ONE"/>
  15. <result property="jietiXianeTwo" column="JIETI_XIANE_TWO"/>
  16. <result property="jietiXianeThree" column="JIETI_XIANE_THREE"/>
  17. <result property="adCode" column="AD_CODE"/>
  18. <result property="cwsCode" column="CWS_CODE"/>
  19. <result property="designWaterSupply" column="DESIGN_WATER_SUPPLY"/>
  20. <result property="finishTime" column="FINISH_TIME"/>
  21. <result property="overPeople" column="OVER_PEOPLE"/>
  22. <result property="villageNm" column="VILLAGE_NM"/>
  23. <result property="isPkx" column="IS_PKX"/>
  24. <result property="isFoOver" column="IS_FO_OVER"/>
  25. <result property="projectNm" column="PROJECT_NM"/>
  26. <result property="projectType" column="PROJECT_TYPE"/>
  27. <result property="isFeeMake" column="IS_FEE_MAKE"/>
  28. <result property="feeRely" column="FEE_RELY"/>
  29. <result property="isJiliangNote" column="IS_JILIANG_NOTE"/>
  30. <result property="isJiliangType" column="IS_JILIANG_TYPE"/>
  31. <result property="isJiliangFee" column="IS_JILIANG_FEE"/>
  32. <result property="isGudingNote" column="IS_GUDING_NOTE"/>
  33. <result property="isGudingType" column="IS_GUDING_TYPE"/>
  34. <result property="isGudingFee" column="IS_GUDING_FEE"/>
  35. <result property="feeType" column="FEE_TYPE"/>
  36. <result property="isCalFee" column="IS_CAL_FEE"/>
  37. <result property="isOverBaseFee" column="IS_OVER_BASE_FEE"/>
  38. <result property="payFeeProcent" column="PAY_FEE_PROCENT"/>
  39. <result property="isOwnCleanTool" column="IS_OWN_CLEAN_TOOL"/>
  40. <result property="cleanToolNormal" column="CLEAN_TOOL_NORMAL"/>
  41. <result property="visitDate" column="VISIT_DATE"/>
  42. <result property="persId" column="PERS_ID"/>
  43. <result property="recPers2" column="REC_PERS2"/>
  44. <result property="createTime" column="CREATE_TIME"/>
  45. <result property="updateTime" column="UPDATE_TIME"/>
  46. <result property="status" column="STATUS"/>
  47. <result property="isOwnDisinfTool" column="IS_OWN_DISINF_TOOL"/>
  48. <result property="isOwnDisinfNormal" column="IS_OWN_DISINF_NORMAL"/>
  49. <result property="waterQuaHaveNote" column="WATER_QUA_HAVE_NOTE"/>
  50. <result property="waterQuaIsHege" column="WATER_QUA_IS_HEGE"/>
  51. <result property="waterQuaNohgNote" column="WATER_QUA_NOHG_NOTE"/>
  52. <result property="telephone" column="TELEPHONE"/>
  53. <result property="lgtd" column="LGTD"/>
  54. <result property="lttd" column="LTTD"/>
  55. <result property="lgtdpc" column="LGTDPC"/>
  56. <result property="lttdpc" column="LTTDPC"/>
  57. <result property="jiliangPriceTwo" column="JILIANG_PRICE_TWO"/>
  58. <result property="gudingPriceTwo" column="GUDING_PRICE_TWO"/>
  59. <result property="location" column="location"/>
  60. <result property="adFullName" column="ad_full_name"/>
  61. <result property="isProNormal" column="IS_PRO_NORMAL"/>
  62. </resultMap>
  63. <sql id="table_columns">
  64. ad_full_name,IS_PRO_NORMAL,
  65. LGTD ,
  66. LTTD ,
  67. LGTDPC ,
  68. LTTDPC ,
  69. location,
  70. GUDING_PRICE_DW,
  71. GUDING_PRICE,
  72. XIAN_E_PRICE,
  73. JILIANG_PRICE,
  74. JIETI_PRICE_ONE,
  75. JIETI_PRICE_TWO,
  76. JIETI_PRICE_THREE,
  77. JIETI_XIANE_ONE,
  78. JIETI_XIANE_TWO,
  79. JIETI_XIANE_THREE,
  80. JILIANG_PRICE_TWO,
  81. GUDING_PRICE_TWO,
  82. ID,CWS_CODE,
  83. REGSTR_ID,
  84. AD_CODE,
  85. DESIGN_WATER_SUPPLY,
  86. FINISH_TIME,
  87. OVER_PEOPLE,
  88. VILLAGE_NM,
  89. IS_PKX,
  90. IS_FO_OVER,
  91. PROJECT_NM,
  92. PROJECT_TYPE,
  93. IS_FEE_MAKE,
  94. FEE_RELY,
  95. IS_JILIANG_NOTE,
  96. IS_JILIANG_TYPE,
  97. IS_JILIANG_FEE,
  98. IS_GUDING_NOTE,
  99. IS_GUDING_TYPE,
  100. IS_GUDING_FEE,
  101. FEE_TYPE,
  102. IS_CAL_FEE,
  103. IS_OVER_BASE_FEE,
  104. PAY_FEE_PROCENT,
  105. IS_OWN_CLEAN_TOOL,
  106. CLEAN_TOOL_NORMAL,
  107. VISIT_DATE,
  108. PERS_ID,
  109. REC_PERS2,
  110. CREATE_TIME,
  111. UPDATE_TIME,
  112. STATUS,
  113. IS_OWN_DISINF_TOOL,
  114. IS_OWN_DISINF_NORMAL,
  115. WATER_QUA_HAVE_NOTE,
  116. WATER_QUA_IS_HEGE,
  117. WATER_QUA_NOHG_NOTE,
  118. TELEPHONE
  119. </sql>
  120. <sql id="entity_properties">
  121. #{adFullName},#{isProNormal},
  122. #{lgtd},
  123. #{lttd},
  124. #{lgtdpc},
  125. #{lttdpc},#{location},
  126. #{gudingPriceDw},
  127. #{gudingPrice},
  128. #{xianEPrice},
  129. #{jiliangPrice},
  130. #{jietiPriceOne},
  131. #{jietiPriceTwo},
  132. #{jietiPriceThree},
  133. #{jietiXianeOne},
  134. #{jietiXianeTwo},
  135. #{jietiXianeThree},
  136. #{jiliangPriceTwo},
  137. #{gudingPriceTwo},
  138. #{id},#{cwsCode},
  139. #{regstrId},
  140. #{adCode},
  141. #{designWaterSupply},
  142. #{finishTime},
  143. #{overPeople},
  144. #{villageNm},
  145. #{isPkx},
  146. #{isFoOver},
  147. #{projectNm},
  148. #{projectType},
  149. #{isFeeMake},
  150. #{feeRely},
  151. #{isJiliangNote},
  152. #{isJiliangType},
  153. #{isJiliangFee},
  154. #{isGudingNote},
  155. #{isGudingType},
  156. #{isGudingFee},
  157. #{feeType},
  158. #{isCalFee},
  159. #{isOverBaseFee},
  160. #{payFeeProcent},
  161. #{isOwnCleanTool},
  162. #{cleanToolNormal},
  163. #{visitDate},
  164. #{persId},
  165. #{recPers2},
  166. #{createTime},
  167. #{updateTime},
  168. #{status},
  169. #{isOwnDisinfTool},
  170. #{isOwnDisinfNormal},
  171. #{waterQuaHaveNote},
  172. #{waterQuaIsHege},
  173. #{waterQuaNohgNote},
  174. #{telephone}
  175. </sql>
  176. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  177. <sql id="page_where">
  178. <trim prefix="where" prefixOverrides="and | or ">
  179. <if test="regstrId != null and regstrId != ''">and REGSTR_ID = #{regstrId}</if>
  180. <if test="isProNormal != null and isProNormal != ''">and IS_PRO_NORMAL = #{isProNormal}</if>
  181. <if test="adFullName != null and adFullName != ''">and AD_FULL_NAME = #{adFullName}</if>
  182. <if test="gudingPriceDw != null and gudingPriceDw != ''">and GUDING_PRICE_DW = #{gudingPriceDw}</if>
  183. <if test="gudingPrice != null and gudingPrice != ''">and GUDING_PRICE = #{gudingPrice}</if>
  184. <if test="xianEPrice != null and xianEPrice != ''">and XIAN_E_PRICE = #{xianEPrice}</if>
  185. <if test="jiliangPrice != null and jiliangPrice != ''">and JILIANG_PRICE = #{jiliangPrice}</if>
  186. <if test="jietiPriceOne != null and jietiPriceOne != ''">and JIETI_PRICE_ONE = #{jietiPriceOne}</if>
  187. <if test="jietiPriceTwo != null and jietiPriceTwo != ''">and JIETI_PRICE_TWO = #{jietiPriceTwo}</if>
  188. <if test="jietiPriceThree != null and jietiPriceThree != ''">and JIETI_PRICE_THREE = #{jietiPriceThree}</if>
  189. <if test="jietiXianeOne != null and jietiXianeOne != ''">and JIETI_XIANE_ONE = #{jietiXianeOne}</if>
  190. <if test="jietiXianeTwo != null and jietiXianeTwo != ''">and JIETI_XIANE_TWO = #{jietiXianeTwo}</if>
  191. <if test="jietiXianeThree != null and jietiXianeThree != ''">and JIETI_XIANE_THREE = #{jietiXianeThree}</if>
  192. <if test="gudingPriceTwo != null and gudingPriceTwo != ''">and GUDING_PRICE_TWO = #{gudingPriceTwo}</if>
  193. <if test="jiliangPriceTwo != null and jiliangPriceTwo != ''">and JILIANG_PRICE_TWO = #{jiliangPriceTwo}</if>
  194. <if test="adCode != null and adCode != ''">and AD_CODE like '${adCode}%'</if>
  195. <if test="cwsCode != null and cwsCode != ''">and CWS_CODE = #{cwsCode}</if>
  196. <if test="designWaterSupply != null and designWaterSupply != ''">and DESIGN_WATER_SUPPLY = #{designWaterSupply}</if>
  197. <if test="finishTime != null and finishTime != ''">and FINISH_TIME = #{finishTime}</if>
  198. <if test="overPeople != null and overPeople != ''">and OVER_PEOPLE = #{overPeople}</if>
  199. <if test="villageNm != null and villageNm != ''">and VILLAGE_NM = #{villageNm}</if>
  200. <if test="isPkx != null and isPkx != ''">and IS_PKX = #{isPkx}</if>
  201. <if test="isFoOver != null and isFoOver != ''">and IS_FO_OVER = #{isFoOver}</if>
  202. <if test="projectNm != null and projectNm != ''">and PROJECT_NM = #{projectNm}</if>
  203. <if test="location != null and location != ''">and location = #{location}</if>
  204. <if test="projectType != null and projectType != ''">and PROJECT_TYPE = #{projectType}</if>
  205. <if test="isFeeMake != null and isFeeMake != ''">and IS_FEE_MAKE = #{isFeeMake}</if>
  206. <if test="feeRely != null and feeRely != ''">and FEE_RELY = #{feeRely}</if>
  207. <if test="isJiliangNote != null and isJiliangNote != ''">and IS_JILIANG_NOTE = #{isJiliangNote}</if>
  208. <if test="isJiliangType != null and isJiliangType != ''">and IS_JILIANG_TYPE = #{isJiliangType}</if>
  209. <if test="isJiliangFee != null and isJiliangFee != ''">and IS_JILIANG_FEE = #{isJiliangFee}</if>
  210. <if test="isGudingNote != null and isGudingNote != ''">and IS_GUDING_NOTE = #{isGudingNote}</if>
  211. <if test="isGudingType != null and isGudingType != ''">and IS_GUDING_TYPE = #{isGudingType}</if>
  212. <if test="isGudingFee != null and isGudingFee != ''">and IS_GUDING_FEE = #{isGudingFee}</if>
  213. <if test="feeType != null and feeType != ''">and FEE_TYPE = #{feeType}</if>
  214. <if test="isCalFee != null and isCalFee != ''">and IS_CAL_FEE = #{isCalFee}</if>
  215. <if test="isOverBaseFee != null and isOverBaseFee != ''">and IS_OVER_BASE_FEE = #{isOverBaseFee}</if>
  216. <if test="payFeeProcent != null and payFeeProcent != ''">and PAY_FEE_PROCENT = #{payFeeProcent}</if>
  217. <if test="isOwnCleanTool != null and isOwnCleanTool != ''">and IS_OWN_CLEAN_TOOL = #{isOwnCleanTool}</if>
  218. <if test="cleanToolNormal != null and cleanToolNormal != ''">and CLEAN_TOOL_NORMAL = #{cleanToolNormal}</if>
  219. <if test="visitDate != null and visitDate != ''">and VISIT_DATE = #{visitDate}</if>
  220. <if test="persId != null and persId != ''">and PERS_ID = #{persId}</if>
  221. <if test="recPers2 != null and recPers2 != ''">and REC_PERS2 = #{recPers2}</if>
  222. <if test="createTime != null">and CREATE_TIME = #{createTime}</if>
  223. <if test="updateTime != null">and UPDATE_TIME = #{updateTime}</if>
  224. <if test="status != null and status != ''">and STATUS = #{status}</if>
  225. <if test="isOwnDisinfTool != null and isOwnDisinfTool != ''">and IS_OWN_DISINF_TOOL = #{isOwnDisinfTool}</if>
  226. <if test="isOwnDisinfNormal != null and isOwnDisinfNormal != ''">and IS_OWN_DISINF_NORMAL = #{isOwnDisinfNormal}</if>
  227. <if test="waterQuaHaveNote != null and waterQuaHaveNote != ''">and WATER_QUA_HAVE_NOTE = #{waterQuaHaveNote}</if>
  228. <if test="waterQuaIsHege != null and waterQuaIsHege != ''">and WATER_QUA_IS_HEGE = #{waterQuaIsHege}</if>
  229. <if test="waterQuaNohgNote != null and waterQuaNohgNote != ''">and WATER_QUA_NOHG_NOTE = #{waterQuaNohgNote}</if>
  230. <if test="telephone != null and telephone != ''">and TELEPHONE = #{telephone}</if>
  231. </trim>
  232. </sql>
  233. <select id="get" resultMap="bisNewCountryFeeResultMap" parameterType="String" >
  234. select <include refid="table_columns" /> from BIS_NEW_COUNTRY_FEE where ID = #{id}
  235. </select>
  236. <select id="getBy" resultMap="bisNewCountryFeeResultMap">
  237. select <include refid="table_columns" /> from BIS_NEW_COUNTRY_FEE <include refid="page_where" />
  238. </select>
  239. <select id="findAll" resultMap="bisNewCountryFeeResultMap">
  240. select <include refid="table_columns" /> from BIS_NEW_COUNTRY_FEE
  241. </select>
  242. <select id="findList" resultMap="bisNewCountryFeeResultMap">
  243. select <include refid="table_columns" /> from BIS_NEW_COUNTRY_FEE <include refid="page_where" />
  244. order by create_time desc
  245. </select>
  246. <select id="selectCount" resultType="int" >
  247. select count(ID) from BIS_NEW_COUNTRY_FEE <include refid="page_where" />
  248. </select>
  249. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisNewCountryFee">
  250. insert into BIS_NEW_COUNTRY_FEE( <include refid="table_columns" /> )
  251. values ( <include refid="entity_properties" /> )
  252. </insert>
  253. <delete id="delete" parameterType="java.lang.String">
  254. delete from BIS_NEW_COUNTRY_FEE where ID = #{id}
  255. </delete>
  256. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisNewCountryFee">
  257. delete from BIS_NEW_COUNTRY_FEE <include refid="page_where" />
  258. </delete>
  259. <update id="deleteInFlag" parameterType="java.lang.String">
  260. update BIS_NEW_COUNTRY_FEE set flag_valid = 0 where ID = #{id}
  261. </update>
  262. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisNewCountryFee">
  263. update BIS_NEW_COUNTRY_FEE
  264. <trim prefix="set" suffixOverrides=",">
  265. <if test="adFullName != null and adFullName != ''"> AD_FULL_NAME = #{adFullName},</if>
  266. <if test="isProNormal != null and isProNormal != ''">IS_PRO_NORMAL = #{isProNormal},</if>
  267. <if test="gudingPriceDw != null and gudingPriceDw != ''">GUDING_PRICE_DW = #{gudingPriceDw},</if>
  268. <if test="gudingPrice != null and gudingPrice != ''">GUDING_PRICE = #{gudingPrice},</if>
  269. <if test="xianEPrice != null and xianEPrice != ''">XIAN_E_PRICE = #{xianEPrice},</if>
  270. <if test="jiliangPrice != null and jiliangPrice != ''">JILIANG_PRICE = #{jiliangPrice},</if>
  271. <if test="jietiPriceOne != null and jietiPriceOne != ''">JIETI_PRICE_ONE = #{jietiPriceOne},</if>
  272. <if test="jietiPriceTwo != null and jietiPriceTwo != ''">JIETI_PRICE_TWO = #{jietiPriceTwo},</if>
  273. <if test="jietiPriceThree != null and jietiPriceThree != ''">JIETI_PRICE_THREE = #{jietiPriceThree},</if>
  274. <if test="jietiXianeOne != null and jietiXianeOne != ''">JIETI_XIANE_ONE = #{jietiXianeOne},</if>
  275. <if test="jietiXianeTwo != null and jietiXianeTwo != ''">JIETI_XIANE_TWO = #{jietiXianeTwo},</if>
  276. <if test="jietiXianeThree != null and jietiXianeThree != ''">JIETI_XIANE_THREE = #{jietiXianeThree},</if>
  277. <if test="gudingPriceTwo != null and gudingPriceTwo != ''">GUDING_PRICE_TWO = #{gudingPriceTwo},</if>
  278. <if test="jiliangPriceTwo != null and jiliangPriceTwo != ''">JILIANG_PRICE_TWO = #{jiliangPriceTwo},</if>
  279. <if test="location != null and location != ''"> location = #{location},</if>
  280. <if test="lgtd != null and lgtd != ''">LGTD = #{lgtd},</if>
  281. <if test="lttd != null and lttd != ''">LTTD = #{lttd},</if>
  282. <if test="lgtdpc != null and lgtdpc != ''">LGTDPC = #{lgtdpc},</if>
  283. <if test="lttdpc != null and lttdpc != ''">LTTDPC = #{lttdpc},</if>
  284. <if test="regstrId != null and regstrId != ''">REGSTR_ID = #{regstrId},</if>
  285. <if test="adCode != null and adCode != ''">AD_CODE = #{adCode},</if>
  286. <if test="cwsCode != null and cwsCode != ''"> CWS_CODE = #{cwsCode},</if>
  287. <if test="designWaterSupply != null and designWaterSupply != ''">DESIGN_WATER_SUPPLY = #{designWaterSupply},</if>
  288. <if test="finishTime != null and finishTime != ''">FINISH_TIME = #{finishTime},</if>
  289. <if test="overPeople != null and overPeople != ''">OVER_PEOPLE = #{overPeople},</if>
  290. <if test="villageNm != null and villageNm != ''">VILLAGE_NM = #{villageNm},</if>
  291. <if test="isPkx != null and isPkx != ''">IS_PKX = #{isPkx},</if>
  292. <if test="isFoOver != null and isFoOver != ''">IS_FO_OVER = #{isFoOver},</if>
  293. <if test="projectNm != null and projectNm != ''">PROJECT_NM = #{projectNm},</if>
  294. <if test="projectType != null and projectType != ''">PROJECT_TYPE = #{projectType},</if>
  295. <if test="isFeeMake != null and isFeeMake != ''">IS_FEE_MAKE = #{isFeeMake},</if>
  296. <if test="feeRely != null and feeRely != ''">FEE_RELY = #{feeRely},</if>
  297. <if test="isJiliangNote != null and isJiliangNote != ''">IS_JILIANG_NOTE = #{isJiliangNote},</if>
  298. <if test="isJiliangType != null and isJiliangType != ''">IS_JILIANG_TYPE = #{isJiliangType},</if>
  299. <if test="isJiliangFee != null and isJiliangFee != ''">IS_JILIANG_FEE = #{isJiliangFee},</if>
  300. <if test="isGudingNote != null and isGudingNote != ''">IS_GUDING_NOTE = #{isGudingNote},</if>
  301. <if test="isGudingType != null and isGudingType != ''">IS_GUDING_TYPE = #{isGudingType},</if>
  302. <if test="isGudingFee != null and isGudingFee != ''">IS_GUDING_FEE = #{isGudingFee},</if>
  303. <if test="feeType != null and feeType != ''">FEE_TYPE = #{feeType},</if>
  304. <if test="isCalFee != null and isCalFee != ''">IS_CAL_FEE = #{isCalFee},</if>
  305. <if test="isOverBaseFee != null and isOverBaseFee != ''">IS_OVER_BASE_FEE = #{isOverBaseFee},</if>
  306. <if test="payFeeProcent != null and payFeeProcent != ''">PAY_FEE_PROCENT = #{payFeeProcent},</if>
  307. <if test="isOwnCleanTool != null and isOwnCleanTool != ''">IS_OWN_CLEAN_TOOL = #{isOwnCleanTool},</if>
  308. <if test="cleanToolNormal != null and cleanToolNormal != ''">CLEAN_TOOL_NORMAL = #{cleanToolNormal},</if>
  309. <if test="visitDate != null and visitDate != ''">VISIT_DATE = #{visitDate},</if>
  310. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  311. <if test="recPers2 != null and recPers2 != ''">REC_PERS2 = #{recPers2},</if>
  312. <if test="createTime != null">CREATE_TIME = #{createTime},</if>
  313. <if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
  314. <if test="status != null and status != ''">STATUS = #{status},</if>
  315. <if test="isOwnDisinfTool != null and isOwnDisinfTool != ''">IS_OWN_DISINF_TOOL = #{isOwnDisinfTool},</if>
  316. <if test="isOwnDisinfNormal != null and isOwnDisinfNormal != ''">IS_OWN_DISINF_NORMAL = #{isOwnDisinfNormal},</if>
  317. <if test="waterQuaHaveNote != null and waterQuaHaveNote != ''">WATER_QUA_HAVE_NOTE = #{waterQuaHaveNote},</if>
  318. <if test="waterQuaIsHege != null and waterQuaIsHege != ''">WATER_QUA_IS_HEGE = #{waterQuaIsHege},</if>
  319. <if test="waterQuaNohgNote != null and waterQuaNohgNote != ''">WATER_QUA_NOHG_NOTE = #{waterQuaNohgNote},</if>
  320. <if test="telephone != null and telephone != ''">TELEPHONE = #{telephone},</if>
  321. </trim>
  322. <where>ID = #{id}</where>
  323. </update>
  324. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisNewCountryFee">
  325. update BIS_NEW_COUNTRY_FEE
  326. <trim prefix="set" suffixOverrides=",">
  327. <if test="isProNormal != null and isProNormal != ''">IS_PRO_NORMAL = #{isProNormal},</if>
  328. <if test="adFullName != null and adFullName != ''"> AD_FULL_NAME = #{adFullName},</if>
  329. <if test="gudingPriceDw != null and gudingPriceDw != ''">GUDING_PRICE_DW = #{gudingPriceDw},</if>
  330. <if test="gudingPrice != null and gudingPrice != ''">GUDING_PRICE = #{gudingPrice},</if>
  331. <if test="xianEPrice != null and xianEPrice != ''">XIAN_E_PRICE = #{xianEPrice},</if>
  332. <if test="jiliangPrice != null and jiliangPrice != ''">JILIANG_PRICE = #{jiliangPrice},</if>
  333. <if test="jietiPriceOne != null and jietiPriceOne != ''">JIETI_PRICE_ONE = #{jietiPriceOne},</if>
  334. <if test="jietiPriceTwo != null and jietiPriceTwo != ''">JIETI_PRICE_TWO = #{jietiPriceTwo},</if>
  335. <if test="jietiPriceThree != null and jietiPriceThree != ''">JIETI_PRICE_THREE = #{jietiPriceThree},</if>
  336. <if test="jietiXianeOne != null and jietiXianeOne != ''">JIETI_XIANE_ONE = #{jietiXianeOne},</if>
  337. <if test="jietiXianeTwo != null and jietiXianeTwo != ''">JIETI_XIANE_TWO = #{jietiXianeTwo},</if>
  338. <if test="jietiXianeThree != null and jietiXianeThree != ''">JIETI_XIANE_THREE = #{jietiXianeThree},</if>
  339. <if test="gudingPriceTwo != null and gudingPriceTwo != ''">GUDING_PRICE_TWO = #{gudingPriceTwo},</if>
  340. <if test="jiliangPriceTwo != null and jiliangPriceTwo != ''">JILIANG_PRICE_TWO = #{jiliangPriceTwo},</if>
  341. <if test="location != null and location != ''"> location = #{location},</if>
  342. <if test="regstrId != null and regstrId != ''">REGSTR_ID = #{regstrId},</if>
  343. <if test="adCode != null and adCode != ''">AD_CODE = #{adCode},</if>
  344. <if test="cwsCode != null and cwsCode != ''"> CWS_CODE = #{cwsCode},</if>
  345. <if test="designWaterSupply != null and designWaterSupply != ''">DESIGN_WATER_SUPPLY = #{designWaterSupply},</if>
  346. <if test="finishTime != null and finishTime != ''">FINISH_TIME = #{finishTime},</if>
  347. <if test="overPeople != null and overPeople != ''">OVER_PEOPLE = #{overPeople},</if>
  348. <if test="villageNm != null and villageNm != ''">VILLAGE_NM = #{villageNm},</if>
  349. <if test="isPkx != null and isPkx != ''">IS_PKX = #{isPkx},</if>
  350. <if test="isFoOver != null and isFoOver != ''">IS_FO_OVER = #{isFoOver},</if>
  351. <if test="projectNm != null and projectNm != ''">PROJECT_NM = #{projectNm},</if>
  352. <if test="projectType != null and projectType != ''">PROJECT_TYPE = #{projectType},</if>
  353. <if test="isFeeMake != null and isFeeMake != ''">IS_FEE_MAKE = #{isFeeMake},</if>
  354. <if test="feeRely != null and feeRely != ''">FEE_RELY = #{feeRely},</if>
  355. <if test="isJiliangNote != null and isJiliangNote != ''">IS_JILIANG_NOTE = #{isJiliangNote},</if>
  356. <if test="isJiliangType != null and isJiliangType != ''">IS_JILIANG_TYPE = #{isJiliangType},</if>
  357. <if test="isJiliangFee != null and isJiliangFee != ''">IS_JILIANG_FEE = #{isJiliangFee},</if>
  358. <if test="isGudingNote != null and isGudingNote != ''">IS_GUDING_NOTE = #{isGudingNote},</if>
  359. <if test="isGudingType != null and isGudingType != ''">IS_GUDING_TYPE = #{isGudingType},</if>
  360. <if test="isGudingFee != null and isGudingFee != ''">IS_GUDING_FEE = #{isGudingFee},</if>
  361. <if test="feeType != null and feeType != ''">FEE_TYPE = #{feeType},</if>
  362. <if test="isCalFee != null and isCalFee != ''">IS_CAL_FEE = #{isCalFee},</if>
  363. <if test="isOverBaseFee != null and isOverBaseFee != ''">IS_OVER_BASE_FEE = #{isOverBaseFee},</if>
  364. <if test="payFeeProcent != null and payFeeProcent != ''">PAY_FEE_PROCENT = #{payFeeProcent},</if>
  365. <if test="isOwnCleanTool != null and isOwnCleanTool != ''">IS_OWN_CLEAN_TOOL = #{isOwnCleanTool},</if>
  366. <if test="cleanToolNormal != null and cleanToolNormal != ''">CLEAN_TOOL_NORMAL = #{cleanToolNormal},</if>
  367. <if test="visitDate != null and visitDate != ''">VISIT_DATE = #{visitDate},</if>
  368. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  369. <if test="recPers2 != null and recPers2 != ''">REC_PERS2 = #{recPers2},</if>
  370. <if test="createTime != null">CREATE_TIME = #{createTime},</if>
  371. <if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
  372. <if test="status != null and status != ''">STATUS = #{status},</if>
  373. <if test="isOwnDisinfTool != null and isOwnDisinfTool != ''">IS_OWN_DISINF_TOOL = #{isOwnDisinfTool},</if>
  374. <if test="isOwnDisinfNormal != null and isOwnDisinfNormal != ''">IS_OWN_DISINF_NORMAL = #{isOwnDisinfNormal},</if>
  375. <if test="waterQuaHaveNote != null and waterQuaHaveNote != ''">WATER_QUA_HAVE_NOTE = #{waterQuaHaveNote},</if>
  376. <if test="waterQuaIsHege != null and waterQuaIsHege != ''">WATER_QUA_IS_HEGE = #{waterQuaIsHege},</if>
  377. <if test="waterQuaNohgNote != null and waterQuaNohgNote != ''">WATER_QUA_NOHG_NOTE = #{waterQuaNohgNote},</if>
  378. <if test="telephone != null and telephone != ''">TELEPHONE = #{telephone},</if>
  379. </trim>
  380. <include refid="page_where" />
  381. </update>
  382. <!-- 其他自定义SQL -->
  383. </mapper>