123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.steerinfo.ems.emsscqklg.mapper.EmsScqkLgMapper">
- <resultMap id="BaseResultMap" type="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
- <id column="DATES" jdbcType="TIMESTAMP" property="dates" />
- <result column="RCL" jdbcType="DECIMAL" property="rcl" />
- <result column="JTSL" jdbcType="DECIMAL" property="jtsl" />
- <result column="SJYL" jdbcType="DECIMAL" property="sjyl" />
- <result column="KCL" jdbcType="DECIMAL" property="kcl" />
- <result column="WJZL" jdbcType="DECIMAL" property="wjzl" />
- <result column="SCLS" jdbcType="DECIMAL" property="scls" />
- <result column="LL_1" jdbcType="DECIMAL" property="ll1" />
- <result column="LL_2" jdbcType="DECIMAL" property="ll2" />
- <result column="FGZL_NBHST" jdbcType="DECIMAL" property="fgzlNbhst" />
- <result column="FGZL_WG" jdbcType="DECIMAL" property="fgzlWg" />
- <result column="LLDLYL" jdbcType="DECIMAL" property="lldlyl" />
- <result column="WGFG_JFGK" jdbcType="DECIMAL" property="wgfgJfgk" />
- <result column="WGFG_QXC" jdbcType="DECIMAL" property="wgfgQxc" />
- <result column="XCF" jdbcType="DECIMAL" property="xcf" />
- <result column="MEMO" jdbcType="VARCHAR" property="memo" />
- <result column="CZR" jdbcType="VARCHAR" property="czr" />
- <result column="CZSJ" jdbcType="TIMESTAMP" property="czsj" />
- <result column="WXGPCL" jdbcType="DECIMAL" property="wxgpcl" />
- <result column="LLB" jdbcType="DECIMAL" property="llb" />
- </resultMap>
- <sql id="columns">
- DATES, RCL, JTSL, SJYL, KCL, WJZL, SCLS, LL_1, LL_2, FGZL_NBHST, FGZL_WG, LLDLYL,
- WGFG_JFGK, WGFG_QXC, XCF, MEMO, CZR, CZSJ, WXGPCL, LLB
- </sql>
- <sql id="columns_alias">
- t.DATES, t.RCL, t.JTSL, t.SJYL, t.KCL, t.WJZL, t.SCLS, t.LL_1, t.LL_2, t.FGZL_NBHST,
- t.FGZL_WG, t.LLDLYL, t.WGFG_JFGK, t.WGFG_QXC, t.XCF, t.MEMO, t.CZR, t.CZSJ, t.WXGPCL,
- t.LLB
- </sql>
- <sql id="select">
- SELECT <include refid="columns"/> FROM EMS_SCQK_LG
- </sql>
- <sql id="select_alias">
- SELECT <include refid="columns_alias"/> FROM EMS_SCQK_LG t
- </sql>
- <sql id="where">
- <where>
- <if test="dates != null">
- and TO_CHAR(DATES,'yyyy-MM-dd') = #{dates}
- </if>
- <if test="rcl != null">
- and RCL = #{rcl}
- </if>
- <if test="jtsl != null">
- and JTSL = #{jtsl}
- </if>
- <if test="sjyl != null">
- and SJYL = #{sjyl}
- </if>
- <if test="kcl != null">
- and KCL = #{kcl}
- </if>
- <if test="wjzl != null">
- and WJZL = #{wjzl}
- </if>
- <if test="scls != null">
- and SCLS = #{scls}
- </if>
- <if test="ll1 != null">
- and LL_1 = #{ll1}
- </if>
- <if test="ll2 != null">
- and LL_2 = #{ll2}
- </if>
- <if test="fgzlNbhst != null">
- and FGZL_NBHST = #{fgzlNbhst}
- </if>
- <if test="fgzlWg != null">
- and FGZL_WG = #{fgzlWg}
- </if>
- <if test="lldlyl != null">
- and LLDLYL = #{lldlyl}
- </if>
- <if test="wgfgJfgk != null">
- and WGFG_JFGK = #{wgfgJfgk}
- </if>
- <if test="wgfgQxc != null">
- and WGFG_QXC = #{wgfgQxc}
- </if>
- <if test="xcf != null">
- and XCF = #{xcf}
- </if>
- <if test="memo != null and memo != ''">
- and MEMO = #{memo}
- </if>
- <if test="czr != null and czr != ''">
- and CZR = #{czr}
- </if>
- <if test="czsj != null">
- and TO_CHAR(CZSJ,'yyyy-MM-dd') = #{czsj}
- </if>
- <if test="wxgpcl != null">
- and WXGPCL = #{wxgpcl}
- </if>
- <if test="llb != null">
- and LLB = #{llb}
- </if>
- </where>
- </sql>
- <sql id="whereLike">
- <where>
- <if test="dates != null">
- and TO_CHAR(DATES,'yyyy-MM-dd') = #{dates}
- </if>
- <if test="rcl != null">
- and RCL = #{rcl}
- </if>
- <if test="jtsl != null">
- and JTSL = #{jtsl}
- </if>
- <if test="sjyl != null">
- and SJYL = #{sjyl}
- </if>
- <if test="kcl != null">
- and KCL = #{kcl}
- </if>
- <if test="wjzl != null">
- and WJZL = #{wjzl}
- </if>
- <if test="scls != null">
- and SCLS = #{scls}
- </if>
- <if test="ll1 != null">
- and LL_1 = #{ll1}
- </if>
- <if test="ll2 != null">
- and LL_2 = #{ll2}
- </if>
- <if test="fgzlNbhst != null">
- and FGZL_NBHST = #{fgzlNbhst}
- </if>
- <if test="fgzlWg != null">
- and FGZL_WG = #{fgzlWg}
- </if>
- <if test="lldlyl != null">
- and LLDLYL = #{lldlyl}
- </if>
- <if test="wgfgJfgk != null">
- and WGFG_JFGK = #{wgfgJfgk}
- </if>
- <if test="wgfgQxc != null">
- and WGFG_QXC = #{wgfgQxc}
- </if>
- <if test="xcf != null">
- and XCF = #{xcf}
- </if>
- <if test="memo != null and memo != ''">
- and MEMO LIKE '%${memo}%'
- </if>
- <if test="czr != null and czr != ''">
- and CZR LIKE '%${czr}%'
- </if>
- <if test="czsj != null">
- and TO_CHAR(CZSJ,'yyyy-MM-dd') = #{czsj}
- </if>
- <if test="wxgpcl != null">
- and WXGPCL = #{wxgpcl}
- </if>
- <if test="llb != null">
- and LLB = #{llb}
- </if>
- </where>
- </sql>
- <delete id="deleteByPrimaryKey" parameterType="java.util.Date">
- delete from EMS_SCQK_LG
- where DATES = #{dates,jdbcType=TIMESTAMP}
- </delete>
- <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
- delete from EMS_SCQK_LG
- where 1!=1
- <if test="rcl != null">
- or RCL = #{rcl}
- </if>
- <if test="jtsl != null">
- or JTSL = #{jtsl}
- </if>
- <if test="sjyl != null">
- or SJYL = #{sjyl}
- </if>
- <if test="kcl != null">
- or KCL = #{kcl}
- </if>
- <if test="wjzl != null">
- or WJZL = #{wjzl}
- </if>
- <if test="scls != null">
- or SCLS = #{scls}
- </if>
- <if test="ll1 != null">
- or LL_1 = #{ll1}
- </if>
- <if test="ll2 != null">
- or LL_2 = #{ll2}
- </if>
- <if test="fgzlNbhst != null">
- or FGZL_NBHST = #{fgzlNbhst}
- </if>
- <if test="fgzlWg != null">
- or FGZL_WG = #{fgzlWg}
- </if>
- <if test="lldlyl != null">
- or LLDLYL = #{lldlyl}
- </if>
- <if test="wgfgJfgk != null">
- or WGFG_JFGK = #{wgfgJfgk}
- </if>
- <if test="wgfgQxc != null">
- or WGFG_QXC = #{wgfgQxc}
- </if>
- <if test="xcf != null">
- or XCF = #{xcf}
- </if>
- <if test="memo != null and memo != ''">
- or MEMO = #{memo}
- </if>
- <if test="czr != null and czr != ''">
- or CZR = #{czr}
- </if>
- <if test="czsj != null">
- or TO_CHAR(CZSJ,'yyyy-MM-dd') = '#{czsj}'
- </if>
- <if test="wxgpcl != null">
- or WXGPCL = #{wxgpcl}
- </if>
- <if test="llb != null">
- or LLB = #{llb}
- </if>
- </delete>
- <insert id="insert" parameterType="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
- insert into EMS_SCQK_LG (DATES, RCL, JTSL,
- SJYL, KCL, WJZL, SCLS,
- LL_1, LL_2, FGZL_NBHST,
- FGZL_WG, LLDLYL, WGFG_JFGK,
- WGFG_QXC, XCF, MEMO,
- CZR, CZSJ, WXGPCL,
- LLB)
- values (#{dates,jdbcType=TIMESTAMP}, #{rcl,jdbcType=DECIMAL}, #{jtsl,jdbcType=DECIMAL},
- #{sjyl,jdbcType=DECIMAL}, #{kcl,jdbcType=DECIMAL}, #{wjzl,jdbcType=DECIMAL}, #{scls,jdbcType=DECIMAL},
- #{ll1,jdbcType=DECIMAL}, #{ll2,jdbcType=DECIMAL}, #{fgzlNbhst,jdbcType=DECIMAL},
- #{fgzlWg,jdbcType=DECIMAL}, #{lldlyl,jdbcType=DECIMAL}, #{wgfgJfgk,jdbcType=DECIMAL},
- #{wgfgQxc,jdbcType=DECIMAL}, #{xcf,jdbcType=DECIMAL}, #{memo,jdbcType=VARCHAR},
- #{czr,jdbcType=VARCHAR}, #{czsj,jdbcType=TIMESTAMP}, #{wxgpcl,jdbcType=DECIMAL},
- #{llb,jdbcType=DECIMAL})
- </insert>
- <insert id="insertSelective" parameterType="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
- insert into EMS_SCQK_LG
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="dates != null">
- DATES,
- </if>
- <if test="rcl != null">
- RCL,
- </if>
- <if test="jtsl != null">
- JTSL,
- </if>
- <if test="sjyl != null">
- SJYL,
- </if>
- <if test="kcl != null">
- KCL,
- </if>
- <if test="wjzl != null">
- WJZL,
- </if>
- <if test="scls != null">
- SCLS,
- </if>
- <if test="ll1 != null">
- LL_1,
- </if>
- <if test="ll2 != null">
- LL_2,
- </if>
- <if test="fgzlNbhst != null">
- FGZL_NBHST,
- </if>
- <if test="fgzlWg != null">
- FGZL_WG,
- </if>
- <if test="lldlyl != null">
- LLDLYL,
- </if>
- <if test="wgfgJfgk != null">
- WGFG_JFGK,
- </if>
- <if test="wgfgQxc != null">
- WGFG_QXC,
- </if>
- <if test="xcf != null">
- XCF,
- </if>
- <if test="memo != null">
- MEMO,
- </if>
- <if test="czr != null">
- CZR,
- </if>
- <if test="czsj != null">
- CZSJ,
- </if>
- <if test="wxgpcl != null">
- WXGPCL,
- </if>
- <if test="llb != null">
- LLB,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="dates != null">
- #{dates,jdbcType=TIMESTAMP},
- </if>
- <if test="rcl != null">
- #{rcl,jdbcType=DECIMAL},
- </if>
- <if test="jtsl != null">
- #{jtsl,jdbcType=DECIMAL},
- </if>
- <if test="sjyl != null">
- #{sjyl,jdbcType=DECIMAL},
- </if>
- <if test="kcl != null">
- #{kcl,jdbcType=DECIMAL},
- </if>
- <if test="wjzl != null">
- #{wjzl,jdbcType=DECIMAL},
- </if>
- <if test="scls != null">
- #{scls,jdbcType=DECIMAL},
- </if>
- <if test="ll1 != null">
- #{ll1,jdbcType=DECIMAL},
- </if>
- <if test="ll2 != null">
- #{ll2,jdbcType=DECIMAL},
- </if>
- <if test="fgzlNbhst != null">
- #{fgzlNbhst,jdbcType=DECIMAL},
- </if>
- <if test="fgzlWg != null">
- #{fgzlWg,jdbcType=DECIMAL},
- </if>
- <if test="lldlyl != null">
- #{lldlyl,jdbcType=DECIMAL},
- </if>
- <if test="wgfgJfgk != null">
- #{wgfgJfgk,jdbcType=DECIMAL},
- </if>
- <if test="wgfgQxc != null">
- #{wgfgQxc,jdbcType=DECIMAL},
- </if>
- <if test="xcf != null">
- #{xcf,jdbcType=DECIMAL},
- </if>
- <if test="memo != null">
- #{memo,jdbcType=VARCHAR},
- </if>
- <if test="czr != null">
- #{czr,jdbcType=VARCHAR},
- </if>
- <if test="czsj != null">
- #{czsj,jdbcType=TIMESTAMP},
- </if>
- <if test="wxgpcl != null">
- #{wxgpcl,jdbcType=DECIMAL},
- </if>
- <if test="llb != null">
- #{llb,jdbcType=DECIMAL},
- </if>
- </trim>
- </insert>
- <update id="updateByPrimaryKey" parameterType="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
- update EMS_SCQK_LG
- set RCL = #{rcl,jdbcType=DECIMAL},
- JTSL = #{jtsl,jdbcType=DECIMAL},
- SJYL = #{sjyl,jdbcType=DECIMAL},
- KCL = #{kcl,jdbcType=DECIMAL},
- WJZL = #{wjzl,jdbcType=DECIMAL},
- SCLS = #{scls,jdbcType=DECIMAL},
- LL_1 = #{ll1,jdbcType=DECIMAL},
- LL_2 = #{ll2,jdbcType=DECIMAL},
- FGZL_NBHST = #{fgzlNbhst,jdbcType=DECIMAL},
- FGZL_WG = #{fgzlWg,jdbcType=DECIMAL},
- LLDLYL = #{lldlyl,jdbcType=DECIMAL},
- WGFG_JFGK = #{wgfgJfgk,jdbcType=DECIMAL},
- WGFG_QXC = #{wgfgQxc,jdbcType=DECIMAL},
- XCF = #{xcf,jdbcType=DECIMAL},
- MEMO = #{memo,jdbcType=VARCHAR},
- CZR = #{czr,jdbcType=VARCHAR},
- CZSJ = #{czsj,jdbcType=TIMESTAMP},
- WXGPCL = #{wxgpcl,jdbcType=DECIMAL},
- LLB = #{llb,jdbcType=DECIMAL}
- where DATES = #{dates,jdbcType=TIMESTAMP}
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.ems.emsscqklg.model.EmsScqkLg">
- update EMS_SCQK_LG
- <set>
- <if test="rcl != null">
- RCL = #{rcl,jdbcType=DECIMAL},
- </if>
- <if test="jtsl != null">
- JTSL = #{jtsl,jdbcType=DECIMAL},
- </if>
- <if test="sjyl != null">
- SJYL = #{sjyl,jdbcType=DECIMAL},
- </if>
- <if test="kcl != null">
- KCL = #{kcl,jdbcType=DECIMAL},
- </if>
- <if test="wjzl != null">
- WJZL = #{wjzl,jdbcType=DECIMAL},
- </if>
- <if test="scls != null">
- SCLS = #{scls,jdbcType=DECIMAL},
- </if>
- <if test="ll1 != null">
- LL_1 = #{ll1,jdbcType=DECIMAL},
- </if>
- <if test="ll2 != null">
- LL_2 = #{ll2,jdbcType=DECIMAL},
- </if>
- <if test="fgzlNbhst != null">
- FGZL_NBHST = #{fgzlNbhst,jdbcType=DECIMAL},
- </if>
- <if test="fgzlWg != null">
- FGZL_WG = #{fgzlWg,jdbcType=DECIMAL},
- </if>
- <if test="lldlyl != null">
- LLDLYL = #{lldlyl,jdbcType=DECIMAL},
- </if>
- <if test="wgfgJfgk != null">
- WGFG_JFGK = #{wgfgJfgk,jdbcType=DECIMAL},
- </if>
- <if test="wgfgQxc != null">
- WGFG_QXC = #{wgfgQxc,jdbcType=DECIMAL},
- </if>
- <if test="xcf != null">
- XCF = #{xcf,jdbcType=DECIMAL},
- </if>
- <if test="memo != null">
- MEMO = #{memo,jdbcType=VARCHAR},
- </if>
- <if test="czr != null">
- CZR = #{czr,jdbcType=VARCHAR},
- </if>
- <if test="czsj != null">
- CZSJ = #{czsj,jdbcType=TIMESTAMP},
- </if>
- <if test="wxgpcl != null">
- WXGPCL = #{wxgpcl,jdbcType=DECIMAL},
- </if>
- <if test="llb != null">
- LLB = #{llb,jdbcType=DECIMAL},
- </if>
- </set>
- where DATES = #{dates,jdbcType=TIMESTAMP}
- </update>
- <select id="selectByPrimaryKey" parameterType="java.util.Date" resultMap="BaseResultMap">
- <include refid="select"/>
- where DATES = #{dates,jdbcType=TIMESTAMP}
- </select>
- <select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
- <include refid="select"/>
- <include refid="where"/>
- </select>
- <select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
- <include refid="select"/>
- <include refid="whereLike"/>
- </select>
- <insert id="batchInsert" parameterType="java.util.List">
- insert into EMS_SCQK_LG
- (DATES,
- RCL, JTSL, SJYL,
- KCL, WJZL, SCLS,
- LL_1, LL_2, FGZL_NBHST,
- FGZL_WG, LLDLYL, WGFG_JFGK,
- WGFG_QXC, XCF, MEMO,
- CZR, CZSJ, WXGPCL,
- LLB)
- ( <foreach collection="list" item="item" separator="union all">
- select
- #{item.dates,jdbcType=TIMESTAMP},
- #{item.rcl,jdbcType=DECIMAL}, #{item.jtsl,jdbcType=DECIMAL}, #{item.sjyl,jdbcType=DECIMAL},
- #{item.kcl,jdbcType=DECIMAL}, #{item.wjzl,jdbcType=DECIMAL}, #{item.scls,jdbcType=DECIMAL},
- #{item.ll1,jdbcType=DECIMAL}, #{item.ll2,jdbcType=DECIMAL}, #{item.fgzlNbhst,jdbcType=DECIMAL},
- #{item.fgzlWg,jdbcType=DECIMAL}, #{item.lldlyl,jdbcType=DECIMAL}, #{item.wgfgJfgk,jdbcType=DECIMAL},
- #{item.wgfgQxc,jdbcType=DECIMAL}, #{item.xcf,jdbcType=DECIMAL}, #{item.memo,jdbcType=VARCHAR},
- #{item.czr,jdbcType=VARCHAR}, #{item.czsj,jdbcType=TIMESTAMP}, #{item.wxgpcl,jdbcType=DECIMAL},
- #{item.llb,jdbcType=DECIMAL} from dual
- </foreach> )
- </insert>
- <update id="batchUpdate" parameterType="java.util.List">
- update EMS_SCQK_LG
- set
- DATES=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.dates,jdbcType=TIMESTAMP}
- </foreach>
- ,RCL=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.rcl,jdbcType=DECIMAL}
- </foreach>
- ,JTSL=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.jtsl,jdbcType=DECIMAL}
- </foreach>
- ,SJYL=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.sjyl,jdbcType=DECIMAL}
- </foreach>
- ,KCL=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.kcl,jdbcType=DECIMAL}
- </foreach>
- ,WJZL=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.wjzl,jdbcType=DECIMAL}
- </foreach>
- ,SCLS=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.scls,jdbcType=DECIMAL}
- </foreach>
- ,LL_1=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.ll1,jdbcType=DECIMAL}
- </foreach>
- ,LL_2=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.ll2,jdbcType=DECIMAL}
- </foreach>
- ,FGZL_NBHST=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.fgzlNbhst,jdbcType=DECIMAL}
- </foreach>
- ,FGZL_WG=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.fgzlWg,jdbcType=DECIMAL}
- </foreach>
- ,LLDLYL=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.lldlyl,jdbcType=DECIMAL}
- </foreach>
- ,WGFG_JFGK=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.wgfgJfgk,jdbcType=DECIMAL}
- </foreach>
- ,WGFG_QXC=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.wgfgQxc,jdbcType=DECIMAL}
- </foreach>
- ,XCF=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.xcf,jdbcType=DECIMAL}
- </foreach>
- ,MEMO=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.memo,jdbcType=VARCHAR}
- </foreach>
- ,CZR=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.czr,jdbcType=VARCHAR}
- </foreach>
- ,CZSJ=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.czsj,jdbcType=TIMESTAMP}
- </foreach>
- ,WXGPCL=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.wxgpcl,jdbcType=DECIMAL}
- </foreach>
- ,LLB=
- <foreach collection="list" item="item" index="index" separator=" " open="case DATES" close="end">
- when #{item.dates,jdbcType=TIMESTAMP} then #{item.llb,jdbcType=DECIMAL}
- </foreach>
- where DATES in
- <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
- #{item.dates,jdbcType=TIMESTAMP}
- </foreach>
- </update>
- <delete id="batchDelete" parameterType="java.util.List">
- delete from EMS_SCQK_LG
- where DATES in
- <foreach collection="list" item="id" open="(" close=")" separator=",">
- #{id}
- </foreach>
- </delete>
- <!-- 友情提示!!!-->
- <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
-
- </mapper>
|