CustomMStatFMapper.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="cn.gov.customs.wxjy.statReport.dao.CustomMStatFMapper">
  6. <resultMap type="CustomMStatF" id="CustomMStatFResult">
  7. <result property="ID" column="ID"/>
  8. <result property="MONTH" column="MONTH"/>
  9. <result property="customCode" column="CUSTOM_CODE"/>
  10. <result property="impDeclCount" column="IMP_DECL_COUNT"/>
  11. <result property="impManDeclCount" column="IMP_MAN_DECL_COUNT"/>
  12. <result property="impManualAuditDeclCount" column="IMP_MANUAL_AUDIT_DECL_COUNT"/>
  13. <result property="impDeclCountLm" column="IMP_DECL_COUNT_LM"/>
  14. <result property="impDeclCountLyDec" column="IMP_DECL_COUNT_LY_DEC"/>
  15. <result property="impDeclCountCuryear" column="IMP_DECL_COUNT_CURYEAR"/>
  16. <result property="impDeclCountYbl" column="IMP_DECL_COUNT_YBL"/>
  17. <result property="impTotalCost" column="IMP_TOTAL_COST"/>
  18. <result property="impTotalCostLm" column="IMP_TOTAL_COST_LM"/>
  19. <result property="impTotalCostLyDec" column="IMP_TOTAL_COST_LY_DEC"/>
  20. <result property="impTotalCostCy" column="IMP_TOTAL_COST_CY"/>
  21. <result property="impTotalCostYbl" column="IMP_TOTAL_COST_YBL"/>
  22. <result property="impCuCost" column="IMP_CU_COST"/>
  23. <result property="impCuCostLm" column="IMP_CU_COST_LM"/>
  24. <result property="impCuCostLyDec" column="IMP_CU_COST_LY_DEC"/>
  25. <result property="impCuCostCy" column="IMP_CU_COST_CY"/>
  26. <result property="impCuCostYbl" column="IMP_CU_COST_YBL"/>
  27. <result property="expDeclCount" column="EXP_DECL_COUNT"/>
  28. <result property="expManDeclCount" column="EXP_MAN_DECL_COUNT"/>
  29. <result property="expManualAuditDeclCount" column="EXP_MANUAL_AUDIT_DECL_COUNT"/>
  30. <result property="expDeclCountLm" column="EXP_DECL_COUNT_LM"/>
  31. <result property="expDeclCountLyDec" column="EXP_DECL_COUNT_LY_DEC"/>
  32. <result property="expDeclCountCuryear" column="EXP_DECL_COUNT_CURYEAR"/>
  33. <result property="expDeclCountYbl" column="EXP_DECL_COUNT_YBL"/>
  34. <result property="expTotalCost" column="EXP_TOTAL_COST"/>
  35. <result property="expTotalCostLm" column="EXP_TOTAL_COST_LM"/>
  36. <result property="expTotalCostLyDec" column="EXP_TOTAL_COST_LY_DEC"/>
  37. <result property="expTotalCostCy" column="EXP_TOTAL_COST_CY"/>
  38. <result property="expTotalCostYbl" column="EXP_TOTAL_COST_YBL"/>
  39. <result property="expCuCost" column="EXP_CU_COST"/>
  40. <result property="expCuCostLm" column="EXP_CU_COST_LM"/>
  41. <result property="expCuCostLyDec" column="EXP_CU_COST_LY_DEC"/>
  42. <result property="expCuCostCy" column="EXP_CU_COST_CY"/>
  43. <result property="expCuCostYbl" column="EXP_CU_COST_YBL"/>
  44. </resultMap>
  45. <sql id="baseVo">
  46. select ID, MONTH, CUSTOM_CODE, IMP_DECL_COUNT, IMP_MAN_DECL_COUNT, IMP_MANUAL_AUDIT_DECL_COUNT, IMP_DECL_COUNT_LM, IMP_DECL_COUNT_LY_DEC, IMP_DECL_COUNT_CURYEAR, IMP_DECL_COUNT_YBL, IMP_TOTAL_COST, IMP_TOTAL_COST_LM, IMP_TOTAL_COST_LY_DEC, IMP_TOTAL_COST_CY, IMP_TOTAL_COST_YBL, IMP_CU_COST, IMP_CU_COST_LM, IMP_CU_COST_LY_DEC, IMP_CU_COST_CY, IMP_CU_COST_YBL, EXP_DECL_COUNT, EXP_MAN_DECL_COUNT, EXP_MANUAL_AUDIT_DECL_COUNT, EXP_DECL_COUNT_LM, EXP_DECL_COUNT_LY_DEC, EXP_DECL_COUNT_CURYEAR, EXP_DECL_COUNT_YBL, EXP_TOTAL_COST, EXP_TOTAL_COST_LM, EXP_TOTAL_COST_LY_DEC, EXP_TOTAL_COST_CY, EXP_TOTAL_COST_YBL, EXP_CU_COST, EXP_CU_COST_LM, EXP_CU_COST_LY_DEC, EXP_CU_COST_CY, EXP_CU_COST_YBL
  47. from WXJY_CUSTOM_M_STAT_F
  48. </sql>
  49. <select id="selectList" parameterType="CustomMStatFQuery" resultMap="CustomMStatFResult">
  50. <include refid="baseVo"/>
  51. <where>
  52. <if test="MONTH != null and MONTH != ''">
  53. and MONTH = #{MONTH}
  54. </if>
  55. <if test="customCode != null and customCode != ''">
  56. and CUSTOM_CODE = #{customCode}
  57. </if>
  58. <if test="impDeclCount != null and impDeclCount != ''">
  59. and IMP_DECL_COUNT = #{impDeclCount}
  60. </if>
  61. <if test="impManDeclCount != null and impManDeclCount != ''">
  62. and IMP_MAN_DECL_COUNT = #{impManDeclCount}
  63. </if>
  64. <if test="impManualAuditDeclCount != null and impManualAuditDeclCount != ''">
  65. and IMP_MANUAL_AUDIT_DECL_COUNT = #{impManualAuditDeclCount}
  66. </if>
  67. <if test="impDeclCountLm != null and impDeclCountLm != ''">
  68. and IMP_DECL_COUNT_LM = #{impDeclCountLm}
  69. </if>
  70. <if test="impDeclCountLyDec != null and impDeclCountLyDec != ''">
  71. and IMP_DECL_COUNT_LY_DEC = #{impDeclCountLyDec}
  72. </if>
  73. <if test="impDeclCountCuryear != null and impDeclCountCuryear != ''">
  74. and IMP_DECL_COUNT_CURYEAR = #{impDeclCountCuryear}
  75. </if>
  76. <if test="impDeclCountYbl != null and impDeclCountYbl != ''">
  77. and IMP_DECL_COUNT_YBL = #{impDeclCountYbl}
  78. </if>
  79. <if test="impTotalCost != null and impTotalCost != ''">
  80. and IMP_TOTAL_COST = #{impTotalCost}
  81. </if>
  82. <if test="impTotalCostLm != null and impTotalCostLm != ''">
  83. and IMP_TOTAL_COST_LM = #{impTotalCostLm}
  84. </if>
  85. <if test="impTotalCostLyDec != null and impTotalCostLyDec != ''">
  86. and IMP_TOTAL_COST_LY_DEC = #{impTotalCostLyDec}
  87. </if>
  88. <if test="impTotalCostCy != null and impTotalCostCy != ''">
  89. and IMP_TOTAL_COST_CY = #{impTotalCostCy}
  90. </if>
  91. <if test="impTotalCostYbl != null and impTotalCostYbl != ''">
  92. and IMP_TOTAL_COST_YBL = #{impTotalCostYbl}
  93. </if>
  94. <if test="impCuCost != null and impCuCost != ''">
  95. and IMP_CU_COST = #{impCuCost}
  96. </if>
  97. <if test="impCuCostLm != null and impCuCostLm != ''">
  98. and IMP_CU_COST_LM = #{impCuCostLm}
  99. </if>
  100. <if test="impCuCostLyDec != null and impCuCostLyDec != ''">
  101. and IMP_CU_COST_LY_DEC = #{impCuCostLyDec}
  102. </if>
  103. <if test="impCuCostCy != null and impCuCostCy != ''">
  104. and IMP_CU_COST_CY = #{impCuCostCy}
  105. </if>
  106. <if test="impCuCostYbl != null and impCuCostYbl != ''">
  107. and IMP_CU_COST_YBL = #{impCuCostYbl}
  108. </if>
  109. <if test="expDeclCount != null and expDeclCount != ''">
  110. and EXP_DECL_COUNT = #{expDeclCount}
  111. </if>
  112. <if test="expManDeclCount != null and expManDeclCount != ''">
  113. and EXP_MAN_DECL_COUNT = #{expManDeclCount}
  114. </if>
  115. <if test="expManualAuditDeclCount != null and expManualAuditDeclCount != ''">
  116. and EXP_MANUAL_AUDIT_DECL_COUNT = #{expManualAuditDeclCount}
  117. </if>
  118. <if test="expDeclCountLm != null and expDeclCountLm != ''">
  119. and EXP_DECL_COUNT_LM = #{expDeclCountLm}
  120. </if>
  121. <if test="expDeclCountLyDec != null and expDeclCountLyDec != ''">
  122. and EXP_DECL_COUNT_LY_DEC = #{expDeclCountLyDec}
  123. </if>
  124. <if test="expDeclCountCuryear != null and expDeclCountCuryear != ''">
  125. and EXP_DECL_COUNT_CURYEAR = #{expDeclCountCuryear}
  126. </if>
  127. <if test="expDeclCountYbl != null and expDeclCountYbl != ''">
  128. and EXP_DECL_COUNT_YBL = #{expDeclCountYbl}
  129. </if>
  130. <if test="expTotalCost != null and expTotalCost != ''">
  131. and EXP_TOTAL_COST = #{expTotalCost}
  132. </if>
  133. <if test="expTotalCostLm != null and expTotalCostLm != ''">
  134. and EXP_TOTAL_COST_LM = #{expTotalCostLm}
  135. </if>
  136. <if test="expTotalCostLyDec != null and expTotalCostLyDec != ''">
  137. and EXP_TOTAL_COST_LY_DEC = #{expTotalCostLyDec}
  138. </if>
  139. <if test="expTotalCostCy != null and expTotalCostCy != ''">
  140. and EXP_TOTAL_COST_CY = #{expTotalCostCy}
  141. </if>
  142. <if test="expTotalCostYbl != null and expTotalCostYbl != ''">
  143. and EXP_TOTAL_COST_YBL = #{expTotalCostYbl}
  144. </if>
  145. <if test="expCuCost != null and expCuCost != ''">
  146. and EXP_CU_COST = #{expCuCost}
  147. </if>
  148. <if test="expCuCostLm != null and expCuCostLm != ''">
  149. and EXP_CU_COST_LM = #{expCuCostLm}
  150. </if>
  151. <if test="expCuCostLyDec != null and expCuCostLyDec != ''">
  152. and EXP_CU_COST_LY_DEC = #{expCuCostLyDec}
  153. </if>
  154. <if test="expCuCostCy != null and expCuCostCy != ''">
  155. and EXP_CU_COST_CY = #{expCuCostCy}
  156. </if>
  157. <if test="expCuCostYbl != null and expCuCostYbl != ''">
  158. and EXP_CU_COST_YBL = #{expCuCostYbl}
  159. </if>
  160. </where>
  161. </select>
  162. <select id="selectByID" parameterType="String"
  163. resultMap="CustomMStatFResult">
  164. <include refid="baseVo"/>
  165. where ID = #{ID}
  166. </select>
  167. <insert id="insert" parameterType="CustomMStatF">
  168. insert into WXJY_CUSTOM_M_STAT_F
  169. <trim prefix="(" suffix=")" suffixOverrides=",">
  170. <if test="ID != null and ID != ''">ID,
  171. </if>
  172. <if test="MONTH != null">MONTH,
  173. </if>
  174. <if test="customCode != null">CUSTOM_CODE,
  175. </if>
  176. <if test="impDeclCount != null">IMP_DECL_COUNT,
  177. </if>
  178. <if test="impManDeclCount != null">IMP_MAN_DECL_COUNT,
  179. </if>
  180. <if test="impManualAuditDeclCount != null">IMP_MANUAL_AUDIT_DECL_COUNT,
  181. </if>
  182. <if test="impDeclCountLm != null">IMP_DECL_COUNT_LM,
  183. </if>
  184. <if test="impDeclCountLyDec != null">IMP_DECL_COUNT_LY_DEC,
  185. </if>
  186. <if test="impDeclCountCuryear != null">IMP_DECL_COUNT_CURYEAR,
  187. </if>
  188. <if test="impDeclCountYbl != null">IMP_DECL_COUNT_YBL,
  189. </if>
  190. <if test="impTotalCost != null">IMP_TOTAL_COST,
  191. </if>
  192. <if test="impTotalCostLm != null">IMP_TOTAL_COST_LM,
  193. </if>
  194. <if test="impTotalCostLyDec != null">IMP_TOTAL_COST_LY_DEC,
  195. </if>
  196. <if test="impTotalCostCy != null">IMP_TOTAL_COST_CY,
  197. </if>
  198. <if test="impTotalCostYbl != null">IMP_TOTAL_COST_YBL,
  199. </if>
  200. <if test="impCuCost != null">IMP_CU_COST,
  201. </if>
  202. <if test="impCuCostLm != null">IMP_CU_COST_LM,
  203. </if>
  204. <if test="impCuCostLyDec != null">IMP_CU_COST_LY_DEC,
  205. </if>
  206. <if test="impCuCostCy != null">IMP_CU_COST_CY,
  207. </if>
  208. <if test="impCuCostYbl != null">IMP_CU_COST_YBL,
  209. </if>
  210. <if test="expDeclCount != null">EXP_DECL_COUNT,
  211. </if>
  212. <if test="expManDeclCount != null">EXP_MAN_DECL_COUNT,
  213. </if>
  214. <if test="expManualAuditDeclCount != null">EXP_MANUAL_AUDIT_DECL_COUNT,
  215. </if>
  216. <if test="expDeclCountLm != null">EXP_DECL_COUNT_LM,
  217. </if>
  218. <if test="expDeclCountLyDec != null">EXP_DECL_COUNT_LY_DEC,
  219. </if>
  220. <if test="expDeclCountCuryear != null">EXP_DECL_COUNT_CURYEAR,
  221. </if>
  222. <if test="expDeclCountYbl != null">EXP_DECL_COUNT_YBL,
  223. </if>
  224. <if test="expTotalCost != null">EXP_TOTAL_COST,
  225. </if>
  226. <if test="expTotalCostLm != null">EXP_TOTAL_COST_LM,
  227. </if>
  228. <if test="expTotalCostLyDec != null">EXP_TOTAL_COST_LY_DEC,
  229. </if>
  230. <if test="expTotalCostCy != null">EXP_TOTAL_COST_CY,
  231. </if>
  232. <if test="expTotalCostYbl != null">EXP_TOTAL_COST_YBL,
  233. </if>
  234. <if test="expCuCost != null">EXP_CU_COST,
  235. </if>
  236. <if test="expCuCostLm != null">EXP_CU_COST_LM,
  237. </if>
  238. <if test="expCuCostLyDec != null">EXP_CU_COST_LY_DEC,
  239. </if>
  240. <if test="expCuCostCy != null">EXP_CU_COST_CY,
  241. </if>
  242. <if test="expCuCostYbl != null">EXP_CU_COST_YBL,
  243. </if>
  244. </trim>
  245. <trim prefix="values (" suffix=")" suffixOverrides=",">
  246. <if test="ID != null and ID != ''">#{ID},
  247. </if>
  248. <if test="MONTH != null">#{MONTH},
  249. </if>
  250. <if test="customCode != null">#{customCode},
  251. </if>
  252. <if test="impDeclCount != null">#{impDeclCount},
  253. </if>
  254. <if test="impManDeclCount != null">#{impManDeclCount},
  255. </if>
  256. <if test="impManualAuditDeclCount != null">#{impManualAuditDeclCount},
  257. </if>
  258. <if test="impDeclCountLm != null">#{impDeclCountLm},
  259. </if>
  260. <if test="impDeclCountLyDec != null">#{impDeclCountLyDec},
  261. </if>
  262. <if test="impDeclCountCuryear != null">#{impDeclCountCuryear},
  263. </if>
  264. <if test="impDeclCountYbl != null">#{impDeclCountYbl},
  265. </if>
  266. <if test="impTotalCost != null">#{impTotalCost},
  267. </if>
  268. <if test="impTotalCostLm != null">#{impTotalCostLm},
  269. </if>
  270. <if test="impTotalCostLyDec != null">#{impTotalCostLyDec},
  271. </if>
  272. <if test="impTotalCostCy != null">#{impTotalCostCy},
  273. </if>
  274. <if test="impTotalCostYbl != null">#{impTotalCostYbl},
  275. </if>
  276. <if test="impCuCost != null">#{impCuCost},
  277. </if>
  278. <if test="impCuCostLm != null">#{impCuCostLm},
  279. </if>
  280. <if test="impCuCostLyDec != null">#{impCuCostLyDec},
  281. </if>
  282. <if test="impCuCostCy != null">#{impCuCostCy},
  283. </if>
  284. <if test="impCuCostYbl != null">#{impCuCostYbl},
  285. </if>
  286. <if test="expDeclCount != null">#{expDeclCount},
  287. </if>
  288. <if test="expManDeclCount != null">#{expManDeclCount},
  289. </if>
  290. <if test="expManualAuditDeclCount != null">#{expManualAuditDeclCount},
  291. </if>
  292. <if test="expDeclCountLm != null">#{expDeclCountLm},
  293. </if>
  294. <if test="expDeclCountLyDec != null">#{expDeclCountLyDec},
  295. </if>
  296. <if test="expDeclCountCuryear != null">#{expDeclCountCuryear},
  297. </if>
  298. <if test="expDeclCountYbl != null">#{expDeclCountYbl},
  299. </if>
  300. <if test="expTotalCost != null">#{expTotalCost},
  301. </if>
  302. <if test="expTotalCostLm != null">#{expTotalCostLm},
  303. </if>
  304. <if test="expTotalCostLyDec != null">#{expTotalCostLyDec},
  305. </if>
  306. <if test="expTotalCostCy != null">#{expTotalCostCy},
  307. </if>
  308. <if test="expTotalCostYbl != null">#{expTotalCostYbl},
  309. </if>
  310. <if test="expCuCost != null">#{expCuCost},
  311. </if>
  312. <if test="expCuCostLm != null">#{expCuCostLm},
  313. </if>
  314. <if test="expCuCostLyDec != null">#{expCuCostLyDec},
  315. </if>
  316. <if test="expCuCostCy != null">#{expCuCostCy},
  317. </if>
  318. <if test="expCuCostYbl != null">#{expCuCostYbl},
  319. </if>
  320. </trim>
  321. </insert>
  322. <update id="update" parameterType="CustomMStatF">
  323. update WXJY_CUSTOM_M_STAT_F
  324. <trim prefix="SET" suffixOverrides=",">
  325. <if test="MONTH != null">MONTH =
  326. #{MONTH},
  327. </if>
  328. <if test="customCode != null">CUSTOM_CODE =
  329. #{customCode},
  330. </if>
  331. <if test="impDeclCount != null">IMP_DECL_COUNT =
  332. #{impDeclCount},
  333. </if>
  334. <if test="impManDeclCount != null">IMP_MAN_DECL_COUNT =
  335. #{impManDeclCount},
  336. </if>
  337. <if test="impManualAuditDeclCount != null">IMP_MANUAL_AUDIT_DECL_COUNT =
  338. #{impManualAuditDeclCount},
  339. </if>
  340. <if test="impDeclCountLm != null">IMP_DECL_COUNT_LM =
  341. #{impDeclCountLm},
  342. </if>
  343. <if test="impDeclCountLyDec != null">IMP_DECL_COUNT_LY_DEC =
  344. #{impDeclCountLyDec},
  345. </if>
  346. <if test="impDeclCountCuryear != null">IMP_DECL_COUNT_CURYEAR =
  347. #{impDeclCountCuryear},
  348. </if>
  349. <if test="impDeclCountYbl != null">IMP_DECL_COUNT_YBL =
  350. #{impDeclCountYbl},
  351. </if>
  352. <if test="impTotalCost != null">IMP_TOTAL_COST =
  353. #{impTotalCost},
  354. </if>
  355. <if test="impTotalCostLm != null">IMP_TOTAL_COST_LM =
  356. #{impTotalCostLm},
  357. </if>
  358. <if test="impTotalCostLyDec != null">IMP_TOTAL_COST_LY_DEC =
  359. #{impTotalCostLyDec},
  360. </if>
  361. <if test="impTotalCostCy != null">IMP_TOTAL_COST_CY =
  362. #{impTotalCostCy},
  363. </if>
  364. <if test="impTotalCostYbl != null">IMP_TOTAL_COST_YBL =
  365. #{impTotalCostYbl},
  366. </if>
  367. <if test="impCuCost != null">IMP_CU_COST =
  368. #{impCuCost},
  369. </if>
  370. <if test="impCuCostLm != null">IMP_CU_COST_LM =
  371. #{impCuCostLm},
  372. </if>
  373. <if test="impCuCostLyDec != null">IMP_CU_COST_LY_DEC =
  374. #{impCuCostLyDec},
  375. </if>
  376. <if test="impCuCostCy != null">IMP_CU_COST_CY =
  377. #{impCuCostCy},
  378. </if>
  379. <if test="impCuCostYbl != null">IMP_CU_COST_YBL =
  380. #{impCuCostYbl},
  381. </if>
  382. <if test="expDeclCount != null">EXP_DECL_COUNT =
  383. #{expDeclCount},
  384. </if>
  385. <if test="expManDeclCount != null">EXP_MAN_DECL_COUNT =
  386. #{expManDeclCount},
  387. </if>
  388. <if test="expManualAuditDeclCount != null">EXP_MANUAL_AUDIT_DECL_COUNT =
  389. #{expManualAuditDeclCount},
  390. </if>
  391. <if test="expDeclCountLm != null">EXP_DECL_COUNT_LM =
  392. #{expDeclCountLm},
  393. </if>
  394. <if test="expDeclCountLyDec != null">EXP_DECL_COUNT_LY_DEC =
  395. #{expDeclCountLyDec},
  396. </if>
  397. <if test="expDeclCountCuryear != null">EXP_DECL_COUNT_CURYEAR =
  398. #{expDeclCountCuryear},
  399. </if>
  400. <if test="expDeclCountYbl != null">EXP_DECL_COUNT_YBL =
  401. #{expDeclCountYbl},
  402. </if>
  403. <if test="expTotalCost != null">EXP_TOTAL_COST =
  404. #{expTotalCost},
  405. </if>
  406. <if test="expTotalCostLm != null">EXP_TOTAL_COST_LM =
  407. #{expTotalCostLm},
  408. </if>
  409. <if test="expTotalCostLyDec != null">EXP_TOTAL_COST_LY_DEC =
  410. #{expTotalCostLyDec},
  411. </if>
  412. <if test="expTotalCostCy != null">EXP_TOTAL_COST_CY =
  413. #{expTotalCostCy},
  414. </if>
  415. <if test="expTotalCostYbl != null">EXP_TOTAL_COST_YBL =
  416. #{expTotalCostYbl},
  417. </if>
  418. <if test="expCuCost != null">EXP_CU_COST =
  419. #{expCuCost},
  420. </if>
  421. <if test="expCuCostLm != null">EXP_CU_COST_LM =
  422. #{expCuCostLm},
  423. </if>
  424. <if test="expCuCostLyDec != null">EXP_CU_COST_LY_DEC =
  425. #{expCuCostLyDec},
  426. </if>
  427. <if test="expCuCostCy != null">EXP_CU_COST_CY =
  428. #{expCuCostCy},
  429. </if>
  430. <if test="expCuCostYbl != null">EXP_CU_COST_YBL =
  431. #{expCuCostYbl},
  432. </if>
  433. </trim>
  434. where ID = #{ID}
  435. </update>
  436. <delete id="deleteByID" parameterType="String">
  437. delete
  438. from WXJY_CUSTOM_M_STAT_F where ID = #{ID}
  439. </delete>
  440. <delete id="deleteByIDs" parameterType="String">
  441. delete from WXJY_CUSTOM_M_STAT_F where ID in
  442. <foreach item="ID" collection="array" open="(" separator="," close=")">
  443. #{ID}
  444. </foreach>
  445. </delete>
  446. <delete id="logicDelete" parameterType="String">
  447. update WXJY_CUSTOM_M_STAT_F set is_del = 1 where ID = #{ID}
  448. </delete>
  449. </mapper>