BisInspVill2021UsrDao.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  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.BisInspVill2021UsrDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspVill2021Usr" id="bisInspVill2021UsrResultMap">
  5. <result property="id" column="ID"/>
  6. <result property="villId" column="VILL_ID"/>
  7. <result property="usrNm" column="USR_NM"/>
  8. <result property="usrTel" column="USR_TEL"/>
  9. <result property="usrLoc" column="USR_LOC"/>
  10. <result property="usrVill" column="USR_VILL"/>
  11. <result property="isPoor" column="IS_POOR"/>
  12. <result property="isWtqa" column="IS_WTQA"/>
  13. <result property="isWtmt" column="IS_WTMT"/>
  14. <result property="isWtin" column="IS_WTIN"/>
  15. <result property="is24wtin" column="IS_24WTIN"/>
  16. <result property="isEasy" column="IS_EASY"/>
  17. <result property="isSafe" column="IS_SAFE"/>
  18. <result property="isKnow" column="IS_KNOW"/>
  19. <result property="isFee" column="IS_FEE"/>
  20. <result property="wtType" column="WT_TYPE"/>
  21. <result property="singCost" column="SING_COST"/>
  22. <result property="twoCost" column="TWO_COST"/>
  23. <result property="twoCostLimt" column="TWO_COST_LIMT"/>
  24. <result property="step1Cost" column="STEP1_COST"/>
  25. <result property="step1CostLimt" column="STEP1_COST_LIMT"/>
  26. <result property="step2Cost" column="STEP2_COST"/>
  27. <result property="step2CostLimt" column="STEP2_COST_LIMT"/>
  28. <result property="step3Cost" column="STEP3_COST"/>
  29. <result property="step3CostLimt" column="STEP3_COST_LIMT"/>
  30. <result property="fixCost" column="FIX_COST"/>
  31. <result property="fixCostUnit" column="FIX_COST_UNIT"/>
  32. <result property="isSolve" column="IS_SOLVE"/>
  33. <result property="persId" column="PERS_ID"/>
  34. <result property="intm" column="INTM"/>
  35. <result property="uptm" column="UPTM"/>
  36. <result property="note" column="NOTE"/>
  37. <result property="dataStat" column="DATA_STAT"/>
  38. <result property="meaCost" column="MEA_COST"/>
  39. </resultMap>
  40. <sql id="table_columns">
  41. ID,
  42. VILL_ID,
  43. USR_NM,
  44. USR_TEL,
  45. USR_LOC,
  46. USR_VILL,
  47. IS_POOR,
  48. IS_WTQA,
  49. IS_WTMT,
  50. IS_WTIN,
  51. IS_24WTIN,
  52. IS_EASY,
  53. IS_SAFE,
  54. IS_KNOW,
  55. IS_FEE,
  56. WT_TYPE,
  57. SING_COST,
  58. TWO_COST,
  59. TWO_COST_LIMT,
  60. STEP1_COST,
  61. STEP1_COST_LIMT,
  62. STEP2_COST,
  63. STEP2_COST_LIMT,
  64. STEP3_COST,
  65. STEP3_COST_LIMT,
  66. FIX_COST,
  67. FIX_COST_UNIT,
  68. IS_SOLVE,
  69. PERS_ID,
  70. INTM,
  71. UPTM,
  72. NOTE,
  73. DATA_STAT,
  74. MEA_COST
  75. </sql>
  76. <sql id="entity_properties">
  77. #{id},
  78. #{villId},
  79. #{usrNm},
  80. #{usrTel},
  81. #{usrLoc},
  82. #{usrVill},
  83. #{isPoor},
  84. #{isWtqa},
  85. #{isWtmt},
  86. #{isWtin},
  87. #{is24wtin},
  88. #{isEasy},
  89. #{isSafe},
  90. #{isKnow},
  91. #{isFee},
  92. #{wtType},
  93. #{singCost},
  94. #{twoCost},
  95. #{twoCostLimt},
  96. #{step1Cost},
  97. #{step1CostLimt},
  98. #{step2Cost},
  99. #{step2CostLimt},
  100. #{step3Cost},
  101. #{step3CostLimt},
  102. #{fixCost},
  103. #{fixCostUnit},
  104. #{isSolve},
  105. #{persId},
  106. #{intm},
  107. #{uptm},
  108. #{note},
  109. #{dataStat},
  110. #{meaCost}
  111. </sql>
  112. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  113. <sql id="page_where">
  114. <trim prefix="where" prefixOverrides="and | or ">
  115. <if test="villId != null and villId != ''">
  116. and VILL_ID = #{villId}
  117. </if>
  118. <if test="usrNm != null and usrNm != ''">
  119. and USR_NM = #{usrNm}
  120. </if>
  121. <if test="usrTel != null and usrTel != ''">
  122. and USR_TEL = #{usrTel}
  123. </if>
  124. <if test="usrLoc != null and usrLoc != ''">
  125. and USR_LOC = #{usrLoc}
  126. </if>
  127. <if test="usrVill != null and usrVill != ''">
  128. and USR_VILL = #{usrVill}
  129. </if>
  130. <if test="isPoor != null and isPoor != ''">
  131. and IS_POOR = #{isPoor}
  132. </if>
  133. <if test="isWtqa != null and isWtqa != ''">
  134. and IS_WTQA = #{isWtqa}
  135. </if>
  136. <if test="isWtmt != null and isWtmt != ''">
  137. and IS_WTMT = #{isWtmt}
  138. </if>
  139. <if test="isWtin != null and isWtin != ''">
  140. and IS_WTIN = #{isWtin}
  141. </if>
  142. <if test="is24wtin != null and is24wtin != ''">
  143. and IS_24WTIN = #{is24wtin}
  144. </if>
  145. <if test="isEasy != null and isEasy != ''">
  146. and IS_EASY = #{isEasy}
  147. </if>
  148. <if test="isSafe != null and isSafe != ''">
  149. and IS_SAFE = #{isSafe}
  150. </if>
  151. <if test="isKnow != null and isKnow != ''">
  152. and IS_KNOW = #{isKnow}
  153. </if>
  154. <if test="isFee != null and isFee != ''">
  155. and IS_FEE = #{isFee}
  156. </if>
  157. <if test="wtType != null and wtType != ''">
  158. and WT_TYPE = #{wtType}
  159. </if>
  160. <if test="singCost != null and singCost != ''">
  161. and SING_COST = #{singCost}
  162. </if>
  163. <if test="twoCost != null and twoCost != ''">
  164. and TWO_COST = #{twoCost}
  165. </if>
  166. <if test="twoCostLimt != null and twoCostLimt != ''">
  167. and TWO_COST_LIMT = #{twoCostLimt}
  168. </if>
  169. <if test="step1Cost != null and step1Cost != ''">
  170. and STEP1_COST = #{step1Cost}
  171. </if>
  172. <if test="step1CostLimt != null and step1CostLimt != ''">
  173. and STEP1_COST_LIMT = #{step1CostLimt}
  174. </if>
  175. <if test="step2Cost != null and step2Cost != ''">
  176. and STEP2_COST = #{step2Cost}
  177. </if>
  178. <if test="step2CostLimt != null and step2CostLimt != ''">
  179. and STEP2_COST_LIMT = #{step2CostLimt}
  180. </if>
  181. <if test="step3Cost != null and step3Cost != ''">
  182. and STEP3_COST = #{step3Cost}
  183. </if>
  184. <if test="step3CostLimt != null and step3CostLimt != ''">
  185. and STEP3_COST_LIMT = #{step3CostLimt}
  186. </if>
  187. <if test="fixCost != null and fixCost != ''">
  188. and FIX_COST = #{fixCost}
  189. </if>
  190. <if test="fixCostUnit != null and fixCostUnit != ''">
  191. and FIX_COST_UNIT = #{fixCostUnit}
  192. </if>
  193. <if test="isSolve != null and isSolve != ''">
  194. and IS_SOLVE = #{isSolve}
  195. </if>
  196. <if test="persId != null and persId != ''">
  197. and PERS_ID = #{persId}
  198. </if>
  199. <if test="intm != null">
  200. and INTM = #{intm}
  201. </if>
  202. <if test="uptm != null">
  203. and UPTM = #{uptm}
  204. </if>
  205. <if test="note != null and note != ''">
  206. and NOTE = #{note}
  207. </if>
  208. <if test="dataStat != null and dataStat != ''">
  209. and DATA_STAT = #{dataStat}
  210. </if>
  211. <if test="meaCost != null and meaCost != ''">
  212. and MEA_COST = #{meaCost}
  213. </if>
  214. and DATA_STAT='0'
  215. </trim>
  216. </sql>
  217. <select id="get" resultMap="bisInspVill2021UsrResultMap" parameterType="String">
  218. select
  219. <include refid="table_columns"/>
  220. from BIS_INSP_VILL2021_USR where ID = #{id}
  221. </select>
  222. <select id="getBy" resultMap="bisInspVill2021UsrResultMap">
  223. select
  224. <include refid="table_columns"/>
  225. from BIS_INSP_VILL2021_USR
  226. <include refid="page_where"/>
  227. </select>
  228. <select id="findAll" resultMap="bisInspVill2021UsrResultMap">
  229. select
  230. <include refid="table_columns"/>
  231. from BIS_INSP_VILL2021_USR
  232. </select>
  233. <select id="findList" resultMap="bisInspVill2021UsrResultMap">
  234. select
  235. <include refid="table_columns"/>
  236. from BIS_INSP_VILL2021_USR
  237. <where>
  238. <if test="rgstrId != null and rgstrId != ''">
  239. and VILL_ID IN (select ID FROM BIS_INSP_VILL2021_VILL WHERE RGSTR_ID = #{rgstrId})
  240. </if>
  241. <if test="villId != null and villId != ''">
  242. and VILL_ID = #{villId}
  243. </if>
  244. <if test="usrNm != null and usrNm != ''">
  245. and USR_NM = #{usrNm}
  246. </if>
  247. <if test="usrTel != null and usrTel != ''">
  248. and USR_TEL = #{usrTel}
  249. </if>
  250. <if test="usrLoc != null and usrLoc != ''">
  251. and USR_LOC = #{usrLoc}
  252. </if>
  253. <if test="usrVill != null and usrVill != ''">
  254. and USR_VILL = #{usrVill}
  255. </if>
  256. <if test="isPoor != null and isPoor != ''">
  257. and IS_POOR = #{isPoor}
  258. </if>
  259. <if test="isWtqa != null and isWtqa != ''">
  260. and IS_WTQA = #{isWtqa}
  261. </if>
  262. <if test="isWtmt != null and isWtmt != ''">
  263. and IS_WTMT = #{isWtmt}
  264. </if>
  265. <if test="isWtin != null and isWtin != ''">
  266. and IS_WTIN = #{isWtin}
  267. </if>
  268. <if test="is24wtin != null and is24wtin != ''">
  269. and IS_24WTIN = #{is24wtin}
  270. </if>
  271. <if test="isEasy != null and isEasy != ''">
  272. and IS_EASY = #{isEasy}
  273. </if>
  274. <if test="isSafe != null and isSafe != ''">
  275. and IS_SAFE = #{isSafe}
  276. </if>
  277. <if test="isKnow != null and isKnow != ''">
  278. and IS_KNOW = #{isKnow}
  279. </if>
  280. <if test="isFee != null and isFee != ''">
  281. and IS_FEE = #{isFee}
  282. </if>
  283. <if test="wtType != null and wtType != ''">
  284. and WT_TYPE = #{wtType}
  285. </if>
  286. <if test="singCost != null and singCost != ''">
  287. and SING_COST = #{singCost}
  288. </if>
  289. <if test="twoCost != null and twoCost != ''">
  290. and TWO_COST = #{twoCost}
  291. </if>
  292. <if test="twoCostLimt != null and twoCostLimt != ''">
  293. and TWO_COST_LIMT = #{twoCostLimt}
  294. </if>
  295. <if test="step1Cost != null and step1Cost != ''">
  296. and STEP1_COST = #{step1Cost}
  297. </if>
  298. <if test="step1CostLimt != null and step1CostLimt != ''">
  299. and STEP1_COST_LIMT = #{step1CostLimt}
  300. </if>
  301. <if test="step2Cost != null and step2Cost != ''">
  302. and STEP2_COST = #{step2Cost}
  303. </if>
  304. <if test="step2CostLimt != null and step2CostLimt != ''">
  305. and STEP2_COST_LIMT = #{step2CostLimt}
  306. </if>
  307. <if test="step3Cost != null and step3Cost != ''">
  308. and STEP3_COST = #{step3Cost}
  309. </if>
  310. <if test="step3CostLimt != null and step3CostLimt != ''">
  311. and STEP3_COST_LIMT = #{step3CostLimt}
  312. </if>
  313. <if test="fixCost != null and fixCost != ''">
  314. and FIX_COST = #{fixCost}
  315. </if>
  316. <if test="fixCostUnit != null and fixCostUnit != ''">
  317. and FIX_COST_UNIT = #{fixCostUnit}
  318. </if>
  319. <if test="isSolve != null and isSolve != ''">
  320. and IS_SOLVE = #{isSolve}
  321. </if>
  322. <if test="persId != null and persId != ''">
  323. and PERS_ID = #{persId}
  324. </if>
  325. <if test="intm != null">
  326. and INTM = #{intm}
  327. </if>
  328. <if test="uptm != null">
  329. and UPTM = #{uptm}
  330. </if>
  331. <if test="note != null and note != ''">
  332. and NOTE = #{note}
  333. </if>
  334. <if test="dataStat != null and dataStat != ''">
  335. and DATA_STAT = #{dataStat}
  336. </if>
  337. <if test="meaCost != null and meaCost != ''">
  338. and MEA_COST = #{meaCost}
  339. </if>
  340. and DATA_STAT='0'
  341. </where>
  342. </select>
  343. <select id="selectCount" resultType="int">
  344. select count(ID) from BIS_INSP_VILL2021_USR
  345. <include refid="page_where"/>
  346. </select>
  347. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspVill2021Usr">
  348. insert into BIS_INSP_VILL2021_USR(
  349. <include refid="table_columns"/>
  350. )
  351. values (
  352. <include refid="entity_properties"/>
  353. )
  354. </insert>
  355. <delete id="delete" parameterType="java.lang.String">
  356. update BIS_INSP_VILL2021_USR set DATA_STAT='9' where ID = #{id}
  357. </delete>
  358. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspVill2021Usr">
  359. update BIS_INSP_VILL2021_USR set DATA_STAT='9'
  360. <include refid="page_where"/>
  361. </delete>
  362. <update id="deleteInFlag" parameterType="java.lang.String">
  363. update BIS_INSP_VILL2021_USR set DATA_STAT = '9' where ID = #{id}
  364. </update>
  365. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspVill2021Usr">
  366. update BIS_INSP_VILL2021_USR
  367. <trim prefix="set" suffixOverrides=",">
  368. <if test="villId != null and villId != ''">VILL_ID
  369. = #{villId},
  370. </if>
  371. <if test="usrNm != null and usrNm != ''">USR_NM
  372. = #{usrNm},
  373. </if>
  374. <if test="usrTel != null and usrTel != ''">USR_TEL
  375. = #{usrTel},
  376. </if>
  377. <if test="usrLoc != null and usrLoc != ''">USR_LOC
  378. = #{usrLoc},
  379. </if>
  380. <if test="usrVill != null and usrVill != ''">USR_VILL
  381. = #{usrVill},
  382. </if>
  383. <if test="isPoor != null and isPoor != ''">IS_POOR
  384. = #{isPoor},
  385. </if>
  386. <if test="isWtqa != null and isWtqa != ''">IS_WTQA
  387. = #{isWtqa},
  388. </if>
  389. <if test="isWtmt != null and isWtmt != ''">IS_WTMT
  390. = #{isWtmt},
  391. </if>
  392. <if test="isWtin != null and isWtin != ''">IS_WTIN
  393. = #{isWtin},
  394. </if>
  395. <if test="is24wtin != null and is24wtin != ''">IS_24WTIN
  396. = #{is24wtin},
  397. </if>
  398. <if test="isEasy != null and isEasy != ''">IS_EASY
  399. = #{isEasy},
  400. </if>
  401. <if test="isSafe != null and isSafe != ''">IS_SAFE
  402. = #{isSafe},
  403. </if>
  404. <if test="isKnow != null and isKnow != ''">IS_KNOW
  405. = #{isKnow},
  406. </if>
  407. <if test="isFee != null and isFee != ''">IS_FEE
  408. = #{isFee},
  409. </if>
  410. <if test="wtType != null and wtType != ''">WT_TYPE
  411. = #{wtType},
  412. </if>
  413. <if test="singCost != null and singCost != ''">SING_COST
  414. = #{singCost},
  415. </if>
  416. <if test="twoCost != null and twoCost != ''">TWO_COST
  417. = #{twoCost},
  418. </if>
  419. <if test="twoCostLimt != null and twoCostLimt != ''">TWO_COST_LIMT
  420. = #{twoCostLimt},
  421. </if>
  422. <if test="step1Cost != null and step1Cost != ''">STEP1_COST
  423. = #{step1Cost},
  424. </if>
  425. <if test="step1CostLimt != null and step1CostLimt != ''">STEP1_COST_LIMT
  426. = #{step1CostLimt},
  427. </if>
  428. <if test="step2Cost != null and step2Cost != ''">STEP2_COST
  429. = #{step2Cost},
  430. </if>
  431. <if test="step2CostLimt != null and step2CostLimt != ''">STEP2_COST_LIMT
  432. = #{step2CostLimt},
  433. </if>
  434. <if test="step3Cost != null and step3Cost != ''">STEP3_COST
  435. = #{step3Cost},
  436. </if>
  437. <if test="step3CostLimt != null and step3CostLimt != ''">STEP3_COST_LIMT
  438. = #{step3CostLimt},
  439. </if>
  440. <if test="fixCost != null and fixCost != ''">FIX_COST
  441. = #{fixCost},
  442. </if>
  443. <if test="fixCostUnit != null and fixCostUnit != ''">FIX_COST_UNIT
  444. = #{fixCostUnit},
  445. </if>
  446. <if test="isSolve != null and isSolve != ''">IS_SOLVE
  447. = #{isSolve},
  448. </if>
  449. <if test="persId != null and persId != ''">PERS_ID
  450. = #{persId},
  451. </if>
  452. <if test="intm != null">INTM
  453. = #{intm},
  454. </if>
  455. <if test="uptm != null">UPTM
  456. = #{uptm},
  457. </if>
  458. <if test="note != null and note != ''">NOTE
  459. = #{note},
  460. </if>
  461. <if test="dataStat != null and dataStat != ''">DATA_STAT
  462. = #{dataStat},
  463. </if>
  464. <if test="meaCost != null and meaCost != ''">MEA_COST
  465. = #{meaCost},
  466. </if>
  467. </trim>
  468. <where>ID = #{id}</where>
  469. </update>
  470. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspVill2021Usr">
  471. update BIS_INSP_VILL2021_USR
  472. <trim prefix="set" suffixOverrides=",">
  473. <if test="villId != null and villId != ''">VILL_ID
  474. = #{villId},
  475. </if>
  476. <if test="usrNm != null and usrNm != ''">USR_NM
  477. = #{usrNm},
  478. </if>
  479. <if test="usrTel != null and usrTel != ''">USR_TEL
  480. = #{usrTel},
  481. </if>
  482. <if test="usrLoc != null and usrLoc != ''">USR_LOC
  483. = #{usrLoc},
  484. </if>
  485. <if test="usrVill != null and usrVill != ''">USR_VILL
  486. = #{usrVill},
  487. </if>
  488. <if test="isPoor != null and isPoor != ''">IS_POOR
  489. = #{isPoor},
  490. </if>
  491. <if test="isWtqa != null and isWtqa != ''">IS_WTQA
  492. = #{isWtqa},
  493. </if>
  494. <if test="isWtmt != null and isWtmt != ''">IS_WTMT
  495. = #{isWtmt},
  496. </if>
  497. <if test="isWtin != null and isWtin != ''">IS_WTIN
  498. = #{isWtin},
  499. </if>
  500. <if test="is24wtin != null and is24wtin != ''">IS_24WTIN
  501. = #{is24wtin},
  502. </if>
  503. <if test="isEasy != null and isEasy != ''">IS_EASY
  504. = #{isEasy},
  505. </if>
  506. <if test="isSafe != null and isSafe != ''">IS_SAFE
  507. = #{isSafe},
  508. </if>
  509. <if test="isKnow != null and isKnow != ''">IS_KNOW
  510. = #{isKnow},
  511. </if>
  512. <if test="isFee != null and isFee != ''">IS_FEE
  513. = #{isFee},
  514. </if>
  515. <if test="wtType != null and wtType != ''">WT_TYPE
  516. = #{wtType},
  517. </if>
  518. <if test="singCost != null and singCost != ''">SING_COST
  519. = #{singCost},
  520. </if>
  521. <if test="twoCost != null and twoCost != ''">TWO_COST
  522. = #{twoCost},
  523. </if>
  524. <if test="twoCostLimt != null and twoCostLimt != ''">TWO_COST_LIMT
  525. = #{twoCostLimt},
  526. </if>
  527. <if test="step1Cost != null and step1Cost != ''">STEP1_COST
  528. = #{step1Cost},
  529. </if>
  530. <if test="step1CostLimt != null and step1CostLimt != ''">STEP1_COST_LIMT
  531. = #{step1CostLimt},
  532. </if>
  533. <if test="step2Cost != null and step2Cost != ''">STEP2_COST
  534. = #{step2Cost},
  535. </if>
  536. <if test="step2CostLimt != null and step2CostLimt != ''">STEP2_COST_LIMT
  537. = #{step2CostLimt},
  538. </if>
  539. <if test="step3Cost != null and step3Cost != ''">STEP3_COST
  540. = #{step3Cost},
  541. </if>
  542. <if test="step3CostLimt != null and step3CostLimt != ''">STEP3_COST_LIMT
  543. = #{step3CostLimt},
  544. </if>
  545. <if test="fixCost != null and fixCost != ''">FIX_COST
  546. = #{fixCost},
  547. </if>
  548. <if test="fixCostUnit != null and fixCostUnit != ''">FIX_COST_UNIT
  549. = #{fixCostUnit},
  550. </if>
  551. <if test="isSolve != null and isSolve != ''">IS_SOLVE
  552. = #{isSolve},
  553. </if>
  554. <if test="persId != null and persId != ''">PERS_ID
  555. = #{persId},
  556. </if>
  557. <if test="intm != null">INTM
  558. = #{intm},
  559. </if>
  560. <if test="uptm != null">UPTM
  561. = #{uptm},
  562. </if>
  563. <if test="note != null and note != ''">NOTE
  564. = #{note},
  565. </if>
  566. <if test="dataStat != null and dataStat != ''">DATA_STAT
  567. = #{dataStat},
  568. </if>
  569. <if test="meaCost != null and meaCost != ''">MEA_COST
  570. = #{meaCost},
  571. </if>
  572. </trim>
  573. <include refid="page_where"/>
  574. </update>
  575. <!-- 其他自定义SQL -->
  576. </mapper>