EmsScqkLgMapper.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  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="com.steerinfo.ems.emsscqklg.mapper.EmsScqkLgMapper">
  4. <resultMap id="BaseResultMap" type="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
  5. <id column="DATES" jdbcType="TIMESTAMP" property="dates" />
  6. <result column="RCL" jdbcType="DECIMAL" property="rcl" />
  7. <result column="JTSL" jdbcType="DECIMAL" property="jtsl" />
  8. <result column="SJYL" jdbcType="DECIMAL" property="sjyl" />
  9. <result column="KCL" jdbcType="DECIMAL" property="kcl" />
  10. <result column="WJZL" jdbcType="DECIMAL" property="wjzl" />
  11. <result column="SCLS" jdbcType="DECIMAL" property="scls" />
  12. <result column="LL_1" jdbcType="DECIMAL" property="ll1" />
  13. <result column="LL_2" jdbcType="DECIMAL" property="ll2" />
  14. <result column="FGZL_NBHST" jdbcType="DECIMAL" property="fgzlNbhst" />
  15. <result column="FGZL_WG" jdbcType="DECIMAL" property="fgzlWg" />
  16. <result column="LLDLYL" jdbcType="DECIMAL" property="lldlyl" />
  17. <result column="WGFG_JFGK" jdbcType="DECIMAL" property="wgfgJfgk" />
  18. <result column="WGFG_QXC" jdbcType="DECIMAL" property="wgfgQxc" />
  19. <result column="XCF" jdbcType="DECIMAL" property="xcf" />
  20. <result column="MEMO" jdbcType="VARCHAR" property="memo" />
  21. <result column="CZR" jdbcType="VARCHAR" property="czr" />
  22. <result column="CZSJ" jdbcType="TIMESTAMP" property="czsj" />
  23. <result column="WXGPCL" jdbcType="DECIMAL" property="wxgpcl" />
  24. <result column="LLB" jdbcType="DECIMAL" property="llb" />
  25. </resultMap>
  26. <sql id="columns">
  27. DATES, RCL, JTSL, SJYL, KCL, WJZL, SCLS, LL_1, LL_2, FGZL_NBHST, FGZL_WG, LLDLYL,
  28. WGFG_JFGK, WGFG_QXC, XCF, MEMO, CZR, CZSJ, WXGPCL, LLB
  29. </sql>
  30. <sql id="columns_alias">
  31. t.DATES, t.RCL, t.JTSL, t.SJYL, t.KCL, t.WJZL, t.SCLS, t.LL_1, t.LL_2, t.FGZL_NBHST,
  32. t.FGZL_WG, t.LLDLYL, t.WGFG_JFGK, t.WGFG_QXC, t.XCF, t.MEMO, t.CZR, t.CZSJ, t.WXGPCL,
  33. t.LLB
  34. </sql>
  35. <sql id="select">
  36. SELECT <include refid="columns"/> FROM EMS_SCQK_LG
  37. </sql>
  38. <sql id="select_alias">
  39. SELECT <include refid="columns_alias"/> FROM EMS_SCQK_LG t
  40. </sql>
  41. <sql id="where">
  42. <where>
  43. <if test="dates != null">
  44. and TO_CHAR(DATES,'yyyy-MM-dd') = #{dates}
  45. </if>
  46. <if test="rcl != null">
  47. and RCL = #{rcl}
  48. </if>
  49. <if test="jtsl != null">
  50. and JTSL = #{jtsl}
  51. </if>
  52. <if test="sjyl != null">
  53. and SJYL = #{sjyl}
  54. </if>
  55. <if test="kcl != null">
  56. and KCL = #{kcl}
  57. </if>
  58. <if test="wjzl != null">
  59. and WJZL = #{wjzl}
  60. </if>
  61. <if test="scls != null">
  62. and SCLS = #{scls}
  63. </if>
  64. <if test="ll1 != null">
  65. and LL_1 = #{ll1}
  66. </if>
  67. <if test="ll2 != null">
  68. and LL_2 = #{ll2}
  69. </if>
  70. <if test="fgzlNbhst != null">
  71. and FGZL_NBHST = #{fgzlNbhst}
  72. </if>
  73. <if test="fgzlWg != null">
  74. and FGZL_WG = #{fgzlWg}
  75. </if>
  76. <if test="lldlyl != null">
  77. and LLDLYL = #{lldlyl}
  78. </if>
  79. <if test="wgfgJfgk != null">
  80. and WGFG_JFGK = #{wgfgJfgk}
  81. </if>
  82. <if test="wgfgQxc != null">
  83. and WGFG_QXC = #{wgfgQxc}
  84. </if>
  85. <if test="xcf != null">
  86. and XCF = #{xcf}
  87. </if>
  88. <if test="memo != null and memo != ''">
  89. and MEMO = #{memo}
  90. </if>
  91. <if test="czr != null and czr != ''">
  92. and CZR = #{czr}
  93. </if>
  94. <if test="czsj != null">
  95. and TO_CHAR(CZSJ,'yyyy-MM-dd') = #{czsj}
  96. </if>
  97. <if test="wxgpcl != null">
  98. and WXGPCL = #{wxgpcl}
  99. </if>
  100. <if test="llb != null">
  101. and LLB = #{llb}
  102. </if>
  103. </where>
  104. </sql>
  105. <sql id="whereLike">
  106. <where>
  107. <if test="dates != null">
  108. and TO_CHAR(DATES,'yyyy-MM-dd') = #{dates}
  109. </if>
  110. <if test="rcl != null">
  111. and RCL = #{rcl}
  112. </if>
  113. <if test="jtsl != null">
  114. and JTSL = #{jtsl}
  115. </if>
  116. <if test="sjyl != null">
  117. and SJYL = #{sjyl}
  118. </if>
  119. <if test="kcl != null">
  120. and KCL = #{kcl}
  121. </if>
  122. <if test="wjzl != null">
  123. and WJZL = #{wjzl}
  124. </if>
  125. <if test="scls != null">
  126. and SCLS = #{scls}
  127. </if>
  128. <if test="ll1 != null">
  129. and LL_1 = #{ll1}
  130. </if>
  131. <if test="ll2 != null">
  132. and LL_2 = #{ll2}
  133. </if>
  134. <if test="fgzlNbhst != null">
  135. and FGZL_NBHST = #{fgzlNbhst}
  136. </if>
  137. <if test="fgzlWg != null">
  138. and FGZL_WG = #{fgzlWg}
  139. </if>
  140. <if test="lldlyl != null">
  141. and LLDLYL = #{lldlyl}
  142. </if>
  143. <if test="wgfgJfgk != null">
  144. and WGFG_JFGK = #{wgfgJfgk}
  145. </if>
  146. <if test="wgfgQxc != null">
  147. and WGFG_QXC = #{wgfgQxc}
  148. </if>
  149. <if test="xcf != null">
  150. and XCF = #{xcf}
  151. </if>
  152. <if test="memo != null and memo != ''">
  153. and MEMO LIKE '%${memo}%'
  154. </if>
  155. <if test="czr != null and czr != ''">
  156. and CZR LIKE '%${czr}%'
  157. </if>
  158. <if test="czsj != null">
  159. and TO_CHAR(CZSJ,'yyyy-MM-dd') = #{czsj}
  160. </if>
  161. <if test="wxgpcl != null">
  162. and WXGPCL = #{wxgpcl}
  163. </if>
  164. <if test="llb != null">
  165. and LLB = #{llb}
  166. </if>
  167. </where>
  168. </sql>
  169. <delete id="deleteByPrimaryKey" parameterType="java.util.Date">
  170. delete from EMS_SCQK_LG
  171. where DATES = #{dates,jdbcType=TIMESTAMP}
  172. </delete>
  173. <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
  174. delete from EMS_SCQK_LG
  175. where 1!=1
  176. <if test="rcl != null">
  177. or RCL = #{rcl}
  178. </if>
  179. <if test="jtsl != null">
  180. or JTSL = #{jtsl}
  181. </if>
  182. <if test="sjyl != null">
  183. or SJYL = #{sjyl}
  184. </if>
  185. <if test="kcl != null">
  186. or KCL = #{kcl}
  187. </if>
  188. <if test="wjzl != null">
  189. or WJZL = #{wjzl}
  190. </if>
  191. <if test="scls != null">
  192. or SCLS = #{scls}
  193. </if>
  194. <if test="ll1 != null">
  195. or LL_1 = #{ll1}
  196. </if>
  197. <if test="ll2 != null">
  198. or LL_2 = #{ll2}
  199. </if>
  200. <if test="fgzlNbhst != null">
  201. or FGZL_NBHST = #{fgzlNbhst}
  202. </if>
  203. <if test="fgzlWg != null">
  204. or FGZL_WG = #{fgzlWg}
  205. </if>
  206. <if test="lldlyl != null">
  207. or LLDLYL = #{lldlyl}
  208. </if>
  209. <if test="wgfgJfgk != null">
  210. or WGFG_JFGK = #{wgfgJfgk}
  211. </if>
  212. <if test="wgfgQxc != null">
  213. or WGFG_QXC = #{wgfgQxc}
  214. </if>
  215. <if test="xcf != null">
  216. or XCF = #{xcf}
  217. </if>
  218. <if test="memo != null and memo != ''">
  219. or MEMO = #{memo}
  220. </if>
  221. <if test="czr != null and czr != ''">
  222. or CZR = #{czr}
  223. </if>
  224. <if test="czsj != null">
  225. or TO_CHAR(CZSJ,'yyyy-MM-dd') = '#{czsj}'
  226. </if>
  227. <if test="wxgpcl != null">
  228. or WXGPCL = #{wxgpcl}
  229. </if>
  230. <if test="llb != null">
  231. or LLB = #{llb}
  232. </if>
  233. </delete>
  234. <insert id="insert" parameterType="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
  235. insert into EMS_SCQK_LG (DATES, RCL, JTSL,
  236. SJYL, KCL, WJZL, SCLS,
  237. LL_1, LL_2, FGZL_NBHST,
  238. FGZL_WG, LLDLYL, WGFG_JFGK,
  239. WGFG_QXC, XCF, MEMO,
  240. CZR, CZSJ, WXGPCL,
  241. LLB)
  242. values (#{dates,jdbcType=TIMESTAMP}, #{rcl,jdbcType=DECIMAL}, #{jtsl,jdbcType=DECIMAL},
  243. #{sjyl,jdbcType=DECIMAL}, #{kcl,jdbcType=DECIMAL}, #{wjzl,jdbcType=DECIMAL}, #{scls,jdbcType=DECIMAL},
  244. #{ll1,jdbcType=DECIMAL}, #{ll2,jdbcType=DECIMAL}, #{fgzlNbhst,jdbcType=DECIMAL},
  245. #{fgzlWg,jdbcType=DECIMAL}, #{lldlyl,jdbcType=DECIMAL}, #{wgfgJfgk,jdbcType=DECIMAL},
  246. #{wgfgQxc,jdbcType=DECIMAL}, #{xcf,jdbcType=DECIMAL}, #{memo,jdbcType=VARCHAR},
  247. #{czr,jdbcType=VARCHAR}, #{czsj,jdbcType=TIMESTAMP}, #{wxgpcl,jdbcType=DECIMAL},
  248. #{llb,jdbcType=DECIMAL})
  249. </insert>
  250. <insert id="insertSelective" parameterType="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
  251. insert into EMS_SCQK_LG
  252. <trim prefix="(" suffix=")" suffixOverrides=",">
  253. <if test="dates != null">
  254. DATES,
  255. </if>
  256. <if test="rcl != null">
  257. RCL,
  258. </if>
  259. <if test="jtsl != null">
  260. JTSL,
  261. </if>
  262. <if test="sjyl != null">
  263. SJYL,
  264. </if>
  265. <if test="kcl != null">
  266. KCL,
  267. </if>
  268. <if test="wjzl != null">
  269. WJZL,
  270. </if>
  271. <if test="scls != null">
  272. SCLS,
  273. </if>
  274. <if test="ll1 != null">
  275. LL_1,
  276. </if>
  277. <if test="ll2 != null">
  278. LL_2,
  279. </if>
  280. <if test="fgzlNbhst != null">
  281. FGZL_NBHST,
  282. </if>
  283. <if test="fgzlWg != null">
  284. FGZL_WG,
  285. </if>
  286. <if test="lldlyl != null">
  287. LLDLYL,
  288. </if>
  289. <if test="wgfgJfgk != null">
  290. WGFG_JFGK,
  291. </if>
  292. <if test="wgfgQxc != null">
  293. WGFG_QXC,
  294. </if>
  295. <if test="xcf != null">
  296. XCF,
  297. </if>
  298. <if test="memo != null">
  299. MEMO,
  300. </if>
  301. <if test="czr != null">
  302. CZR,
  303. </if>
  304. <if test="czsj != null">
  305. CZSJ,
  306. </if>
  307. <if test="wxgpcl != null">
  308. WXGPCL,
  309. </if>
  310. <if test="llb != null">
  311. LLB,
  312. </if>
  313. </trim>
  314. <trim prefix="values (" suffix=")" suffixOverrides=",">
  315. <if test="dates != null">
  316. #{dates,jdbcType=TIMESTAMP},
  317. </if>
  318. <if test="rcl != null">
  319. #{rcl,jdbcType=DECIMAL},
  320. </if>
  321. <if test="jtsl != null">
  322. #{jtsl,jdbcType=DECIMAL},
  323. </if>
  324. <if test="sjyl != null">
  325. #{sjyl,jdbcType=DECIMAL},
  326. </if>
  327. <if test="kcl != null">
  328. #{kcl,jdbcType=DECIMAL},
  329. </if>
  330. <if test="wjzl != null">
  331. #{wjzl,jdbcType=DECIMAL},
  332. </if>
  333. <if test="scls != null">
  334. #{scls,jdbcType=DECIMAL},
  335. </if>
  336. <if test="ll1 != null">
  337. #{ll1,jdbcType=DECIMAL},
  338. </if>
  339. <if test="ll2 != null">
  340. #{ll2,jdbcType=DECIMAL},
  341. </if>
  342. <if test="fgzlNbhst != null">
  343. #{fgzlNbhst,jdbcType=DECIMAL},
  344. </if>
  345. <if test="fgzlWg != null">
  346. #{fgzlWg,jdbcType=DECIMAL},
  347. </if>
  348. <if test="lldlyl != null">
  349. #{lldlyl,jdbcType=DECIMAL},
  350. </if>
  351. <if test="wgfgJfgk != null">
  352. #{wgfgJfgk,jdbcType=DECIMAL},
  353. </if>
  354. <if test="wgfgQxc != null">
  355. #{wgfgQxc,jdbcType=DECIMAL},
  356. </if>
  357. <if test="xcf != null">
  358. #{xcf,jdbcType=DECIMAL},
  359. </if>
  360. <if test="memo != null">
  361. #{memo,jdbcType=VARCHAR},
  362. </if>
  363. <if test="czr != null">
  364. #{czr,jdbcType=VARCHAR},
  365. </if>
  366. <if test="czsj != null">
  367. #{czsj,jdbcType=TIMESTAMP},
  368. </if>
  369. <if test="wxgpcl != null">
  370. #{wxgpcl,jdbcType=DECIMAL},
  371. </if>
  372. <if test="llb != null">
  373. #{llb,jdbcType=DECIMAL},
  374. </if>
  375. </trim>
  376. </insert>
  377. <update id="updateByPrimaryKey" parameterType="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
  378. update EMS_SCQK_LG
  379. set RCL = #{rcl,jdbcType=DECIMAL},
  380. JTSL = #{jtsl,jdbcType=DECIMAL},
  381. SJYL = #{sjyl,jdbcType=DECIMAL},
  382. KCL = #{kcl,jdbcType=DECIMAL},
  383. WJZL = #{wjzl,jdbcType=DECIMAL},
  384. SCLS = #{scls,jdbcType=DECIMAL},
  385. LL_1 = #{ll1,jdbcType=DECIMAL},
  386. LL_2 = #{ll2,jdbcType=DECIMAL},
  387. FGZL_NBHST = #{fgzlNbhst,jdbcType=DECIMAL},
  388. FGZL_WG = #{fgzlWg,jdbcType=DECIMAL},
  389. LLDLYL = #{lldlyl,jdbcType=DECIMAL},
  390. WGFG_JFGK = #{wgfgJfgk,jdbcType=DECIMAL},
  391. WGFG_QXC = #{wgfgQxc,jdbcType=DECIMAL},
  392. XCF = #{xcf,jdbcType=DECIMAL},
  393. MEMO = #{memo,jdbcType=VARCHAR},
  394. CZR = #{czr,jdbcType=VARCHAR},
  395. CZSJ = #{czsj,jdbcType=TIMESTAMP},
  396. WXGPCL = #{wxgpcl,jdbcType=DECIMAL},
  397. LLB = #{llb,jdbcType=DECIMAL}
  398. where DATES = #{dates,jdbcType=TIMESTAMP}
  399. </update>
  400. <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
  401. update EMS_SCQK_LG
  402. <set>
  403. <if test="rcl != null">
  404. RCL = #{rcl,jdbcType=DECIMAL},
  405. </if>
  406. <if test="jtsl != null">
  407. JTSL = #{jtsl,jdbcType=DECIMAL},
  408. </if>
  409. <if test="sjyl != null">
  410. SJYL = #{sjyl,jdbcType=DECIMAL},
  411. </if>
  412. <if test="kcl != null">
  413. KCL = #{kcl,jdbcType=DECIMAL},
  414. </if>
  415. <if test="wjzl != null">
  416. WJZL = #{wjzl,jdbcType=DECIMAL},
  417. </if>
  418. <if test="scls != null">
  419. SCLS = #{scls,jdbcType=DECIMAL},
  420. </if>
  421. <if test="ll1 != null">
  422. LL_1 = #{ll1,jdbcType=DECIMAL},
  423. </if>
  424. <if test="ll2 != null">
  425. LL_2 = #{ll2,jdbcType=DECIMAL},
  426. </if>
  427. <if test="fgzlNbhst != null">
  428. FGZL_NBHST = #{fgzlNbhst,jdbcType=DECIMAL},
  429. </if>
  430. <if test="fgzlWg != null">
  431. FGZL_WG = #{fgzlWg,jdbcType=DECIMAL},
  432. </if>
  433. <if test="lldlyl != null">
  434. LLDLYL = #{lldlyl,jdbcType=DECIMAL},
  435. </if>
  436. <if test="wgfgJfgk != null">
  437. WGFG_JFGK = #{wgfgJfgk,jdbcType=DECIMAL},
  438. </if>
  439. <if test="wgfgQxc != null">
  440. WGFG_QXC = #{wgfgQxc,jdbcType=DECIMAL},
  441. </if>
  442. <if test="xcf != null">
  443. XCF = #{xcf,jdbcType=DECIMAL},
  444. </if>
  445. <if test="memo != null">
  446. MEMO = #{memo,jdbcType=VARCHAR},
  447. </if>
  448. <if test="czr != null">
  449. CZR = #{czr,jdbcType=VARCHAR},
  450. </if>
  451. <if test="czsj != null">
  452. CZSJ = #{czsj,jdbcType=TIMESTAMP},
  453. </if>
  454. <if test="wxgpcl != null">
  455. WXGPCL = #{wxgpcl,jdbcType=DECIMAL},
  456. </if>
  457. <if test="llb != null">
  458. LLB = #{llb,jdbcType=DECIMAL},
  459. </if>
  460. </set>
  461. where DATES = #{dates,jdbcType=TIMESTAMP}
  462. </update>
  463. <select id="selectByPrimaryKey" parameterType="java.util.Date" resultMap="BaseResultMap">
  464. <include refid="select"/>
  465. where DATES = #{dates,jdbcType=TIMESTAMP}
  466. </select>
  467. <select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
  468. <include refid="select"/>
  469. <include refid="where"/>
  470. </select>
  471. <select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
  472. <include refid="select"/>
  473. <include refid="whereLike"/>
  474. </select>
  475. <insert id="batchInsert" parameterType="java.util.List">
  476. insert into EMS_SCQK_LG
  477. (DATES,
  478. RCL, JTSL, SJYL,
  479. KCL, WJZL, SCLS,
  480. LL_1, LL_2, FGZL_NBHST,
  481. FGZL_WG, LLDLYL, WGFG_JFGK,
  482. WGFG_QXC, XCF, MEMO,
  483. CZR, CZSJ, WXGPCL,
  484. LLB)
  485. ( <foreach collection="list" item="item" separator="union all">
  486. select
  487. #{item.dates,jdbcType=TIMESTAMP},
  488. #{item.rcl,jdbcType=DECIMAL}, #{item.jtsl,jdbcType=DECIMAL}, #{item.sjyl,jdbcType=DECIMAL},
  489. #{item.kcl,jdbcType=DECIMAL}, #{item.wjzl,jdbcType=DECIMAL}, #{item.scls,jdbcType=DECIMAL},
  490. #{item.ll1,jdbcType=DECIMAL}, #{item.ll2,jdbcType=DECIMAL}, #{item.fgzlNbhst,jdbcType=DECIMAL},
  491. #{item.fgzlWg,jdbcType=DECIMAL}, #{item.lldlyl,jdbcType=DECIMAL}, #{item.wgfgJfgk,jdbcType=DECIMAL},
  492. #{item.wgfgQxc,jdbcType=DECIMAL}, #{item.xcf,jdbcType=DECIMAL}, #{item.memo,jdbcType=VARCHAR},
  493. #{item.czr,jdbcType=VARCHAR}, #{item.czsj,jdbcType=TIMESTAMP}, #{item.wxgpcl,jdbcType=DECIMAL},
  494. #{item.llb,jdbcType=DECIMAL} from dual
  495. </foreach> )
  496. </insert>
  497. <update id="batchUpdate" parameterType="java.util.List">
  498. update EMS_SCQK_LG
  499. set
  500. DATES=
  501. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  502. when #{item.dates,jdbcType=TIMESTAMP} then #{item.dates,jdbcType=TIMESTAMP}
  503. </foreach>
  504. ,RCL=
  505. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  506. when #{item.dates,jdbcType=TIMESTAMP} then #{item.rcl,jdbcType=DECIMAL}
  507. </foreach>
  508. ,JTSL=
  509. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  510. when #{item.dates,jdbcType=TIMESTAMP} then #{item.jtsl,jdbcType=DECIMAL}
  511. </foreach>
  512. ,SJYL=
  513. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  514. when #{item.dates,jdbcType=TIMESTAMP} then #{item.sjyl,jdbcType=DECIMAL}
  515. </foreach>
  516. ,KCL=
  517. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  518. when #{item.dates,jdbcType=TIMESTAMP} then #{item.kcl,jdbcType=DECIMAL}
  519. </foreach>
  520. ,WJZL=
  521. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  522. when #{item.dates,jdbcType=TIMESTAMP} then #{item.wjzl,jdbcType=DECIMAL}
  523. </foreach>
  524. ,SCLS=
  525. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  526. when #{item.dates,jdbcType=TIMESTAMP} then #{item.scls,jdbcType=DECIMAL}
  527. </foreach>
  528. ,LL_1=
  529. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  530. when #{item.dates,jdbcType=TIMESTAMP} then #{item.ll1,jdbcType=DECIMAL}
  531. </foreach>
  532. ,LL_2=
  533. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  534. when #{item.dates,jdbcType=TIMESTAMP} then #{item.ll2,jdbcType=DECIMAL}
  535. </foreach>
  536. ,FGZL_NBHST=
  537. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  538. when #{item.dates,jdbcType=TIMESTAMP} then #{item.fgzlNbhst,jdbcType=DECIMAL}
  539. </foreach>
  540. ,FGZL_WG=
  541. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  542. when #{item.dates,jdbcType=TIMESTAMP} then #{item.fgzlWg,jdbcType=DECIMAL}
  543. </foreach>
  544. ,LLDLYL=
  545. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  546. when #{item.dates,jdbcType=TIMESTAMP} then #{item.lldlyl,jdbcType=DECIMAL}
  547. </foreach>
  548. ,WGFG_JFGK=
  549. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  550. when #{item.dates,jdbcType=TIMESTAMP} then #{item.wgfgJfgk,jdbcType=DECIMAL}
  551. </foreach>
  552. ,WGFG_QXC=
  553. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  554. when #{item.dates,jdbcType=TIMESTAMP} then #{item.wgfgQxc,jdbcType=DECIMAL}
  555. </foreach>
  556. ,XCF=
  557. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  558. when #{item.dates,jdbcType=TIMESTAMP} then #{item.xcf,jdbcType=DECIMAL}
  559. </foreach>
  560. ,MEMO=
  561. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  562. when #{item.dates,jdbcType=TIMESTAMP} then #{item.memo,jdbcType=VARCHAR}
  563. </foreach>
  564. ,CZR=
  565. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  566. when #{item.dates,jdbcType=TIMESTAMP} then #{item.czr,jdbcType=VARCHAR}
  567. </foreach>
  568. ,CZSJ=
  569. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  570. when #{item.dates,jdbcType=TIMESTAMP} then #{item.czsj,jdbcType=TIMESTAMP}
  571. </foreach>
  572. ,WXGPCL=
  573. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  574. when #{item.dates,jdbcType=TIMESTAMP} then #{item.wxgpcl,jdbcType=DECIMAL}
  575. </foreach>
  576. ,LLB=
  577. <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
  578. when #{item.dates,jdbcType=TIMESTAMP} then #{item.llb,jdbcType=DECIMAL}
  579. </foreach>
  580. where DATES in
  581. <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
  582. #{item.dates,jdbcType=TIMESTAMP}
  583. </foreach>
  584. </update>
  585. <delete id="batchDelete" parameterType="java.util.List">
  586. delete from EMS_SCQK_LG
  587. where DATES in
  588. <foreach collection="list" item="id" open="(" close=")" separator=",">
  589. #{id}
  590. </foreach>
  591. </delete>
  592. <!-- 友情提示!!!-->
  593. <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
  594. </mapper>