|
@@ -104,7 +104,7 @@
|
|
|
<result column="DATA_SOURCE" jdbcType="VARCHAR" property="dataSource" />
|
|
<result column="DATA_SOURCE" jdbcType="VARCHAR" property="dataSource" />
|
|
|
<result column="NOTE" jdbcType="VARCHAR" property="note" />
|
|
<result column="NOTE" jdbcType="VARCHAR" property="note" />
|
|
|
<result column="IS_PRE_SACALE" jdbcType="VARCHAR" property="isPreSacale" />
|
|
<result column="IS_PRE_SACALE" jdbcType="VARCHAR" property="isPreSacale" />
|
|
|
- <result column="IC_NO" jdbcType="VARCHAR" property="icNo" />
|
|
|
|
|
|
|
+ <result column="LC_NO" jdbcType="VARCHAR" property="lcNo" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="columns">
|
|
<sql id="columns">
|
|
|
ACTUAL_NO, PREDICTION_NO, NOTICE_NO, RAILWAY_NO, RAILWAY_CARRIAGE_NO, MATTER_NO,
|
|
ACTUAL_NO, PREDICTION_NO, NOTICE_NO, RAILWAY_NO, RAILWAY_CARRIAGE_NO, MATTER_NO,
|
|
@@ -124,7 +124,7 @@
|
|
|
GROUP_PACKAGE_AMOUNT, GROUP_PACKAGE_UNIT, PACKAGE_AMOUNT, PACKAGE_UNIT, THEORY_AMOUNT,
|
|
GROUP_PACKAGE_AMOUNT, GROUP_PACKAGE_UNIT, PACKAGE_AMOUNT, PACKAGE_UNIT, THEORY_AMOUNT,
|
|
|
MEASURE_BATCH, MEASURE_BATCH_COUNT, SENDER_TYPE, SENDER_REMARK, RECEIVER_TYPE, RECEIVER_REMARK,
|
|
MEASURE_BATCH, MEASURE_BATCH_COUNT, SENDER_TYPE, SENDER_REMARK, RECEIVER_TYPE, RECEIVER_REMARK,
|
|
|
AMOUNT_UNIT, MEASURE_OBJECT_TYPE, MEASURE_TASK_NUM, BILL_TYPE, CREATE_MAN_NAME, CREATE_TIME,
|
|
AMOUNT_UNIT, MEASURE_OBJECT_TYPE, MEASURE_TASK_NUM, BILL_TYPE, CREATE_MAN_NAME, CREATE_TIME,
|
|
|
- DATA_SOURCE, NOTE, IS_PRE_SACALE, IC_NO
|
|
|
|
|
|
|
+ DATA_SOURCE, NOTE, IS_PRE_SACALE, LC_NO
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="columns_alias">
|
|
<sql id="columns_alias">
|
|
|
t.ACTUAL_NO, t.PREDICTION_NO, t.NOTICE_NO, t.RAILWAY_NO, t.RAILWAY_CARRIAGE_NO, t.MATTER_NO,
|
|
t.ACTUAL_NO, t.PREDICTION_NO, t.NOTICE_NO, t.RAILWAY_NO, t.RAILWAY_CARRIAGE_NO, t.MATTER_NO,
|
|
@@ -146,13 +146,13 @@
|
|
|
t.PACKAGE_UNIT, t.THEORY_AMOUNT, t.MEASURE_BATCH, t.MEASURE_BATCH_COUNT, t.SENDER_TYPE,
|
|
t.PACKAGE_UNIT, t.THEORY_AMOUNT, t.MEASURE_BATCH, t.MEASURE_BATCH_COUNT, t.SENDER_TYPE,
|
|
|
t.SENDER_REMARK, t.RECEIVER_TYPE, t.RECEIVER_REMARK, t.AMOUNT_UNIT, t.MEASURE_OBJECT_TYPE,
|
|
t.SENDER_REMARK, t.RECEIVER_TYPE, t.RECEIVER_REMARK, t.AMOUNT_UNIT, t.MEASURE_OBJECT_TYPE,
|
|
|
t.MEASURE_TASK_NUM, t.BILL_TYPE, t.CREATE_MAN_NAME, t.CREATE_TIME, t.DATA_SOURCE,
|
|
t.MEASURE_TASK_NUM, t.BILL_TYPE, t.CREATE_MAN_NAME, t.CREATE_TIME, t.DATA_SOURCE,
|
|
|
- t.NOTE, t.IS_PRE_SACALE, t.IC_NO
|
|
|
|
|
|
|
+ t.NOTE, t.IS_PRE_SACALE, t.LC_NO
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="select">
|
|
<sql id="select">
|
|
|
- SELECT <include refid="columns"/> FROM METER_WORK_RAILWAY_ACTUAL
|
|
|
|
|
|
|
+ SELECT <include refid="columns" /> FROM METER_WORK_RAILWAY_ACTUAL
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="select_alias">
|
|
<sql id="select_alias">
|
|
|
- SELECT <include refid="columns_alias"/> FROM METER_WORK_RAILWAY_ACTUAL t
|
|
|
|
|
|
|
+ SELECT <include refid="columns_alias" /> FROM METER_WORK_RAILWAY_ACTUAL t
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="where">
|
|
<sql id="where">
|
|
|
<where>
|
|
<where>
|
|
@@ -462,8 +462,8 @@
|
|
|
<if test="isPreSacale != null and isPreSacale != ''">
|
|
<if test="isPreSacale != null and isPreSacale != ''">
|
|
|
and IS_PRE_SACALE = #{isPreSacale}
|
|
and IS_PRE_SACALE = #{isPreSacale}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="icNo != null and icNo != ''">
|
|
|
|
|
- and IC_NO = #{icNo}
|
|
|
|
|
|
|
+ <if test="lcNo != null and lcNo != ''">
|
|
|
|
|
+ and LC_NO = #{lcNo}
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
@@ -775,8 +775,8 @@
|
|
|
<if test="isPreSacale != null and isPreSacale != ''">
|
|
<if test="isPreSacale != null and isPreSacale != ''">
|
|
|
and IS_PRE_SACALE LIKE '%${isPreSacale}%'
|
|
and IS_PRE_SACALE LIKE '%${isPreSacale}%'
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="icNo != null and icNo != ''">
|
|
|
|
|
- and IC_NO LIKE '%${icNo}%'
|
|
|
|
|
|
|
+ <if test="lcNo != null and lcNo != ''">
|
|
|
|
|
+ and LC_NO LIKE '%${lcNo}%'
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
@@ -1090,8 +1090,8 @@
|
|
|
<if test="isPreSacale != null and isPreSacale != ''">
|
|
<if test="isPreSacale != null and isPreSacale != ''">
|
|
|
or IS_PRE_SACALE = #{isPreSacale}
|
|
or IS_PRE_SACALE = #{isPreSacale}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="icNo != null and icNo != ''">
|
|
|
|
|
- or IC_NO = #{icNo}
|
|
|
|
|
|
|
+ <if test="lcNo != null and lcNo != ''">
|
|
|
|
|
+ or LC_NO = #{lcNo}
|
|
|
</if>
|
|
</if>
|
|
|
</delete>
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
<insert id="insert" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
@@ -1129,7 +1129,7 @@
|
|
|
RECEIVER_TYPE, RECEIVER_REMARK, AMOUNT_UNIT,
|
|
RECEIVER_TYPE, RECEIVER_REMARK, AMOUNT_UNIT,
|
|
|
MEASURE_OBJECT_TYPE, MEASURE_TASK_NUM, BILL_TYPE,
|
|
MEASURE_OBJECT_TYPE, MEASURE_TASK_NUM, BILL_TYPE,
|
|
|
CREATE_MAN_NAME, CREATE_TIME, DATA_SOURCE,
|
|
CREATE_MAN_NAME, CREATE_TIME, DATA_SOURCE,
|
|
|
- NOTE, IS_PRE_SACALE, IC_NO
|
|
|
|
|
|
|
+ NOTE, IS_PRE_SACALE, LC_NO
|
|
|
)
|
|
)
|
|
|
values (#{actualNo,jdbcType=VARCHAR}, #{predictionNo,jdbcType=VARCHAR}, #{noticeNo,jdbcType=VARCHAR},
|
|
values (#{actualNo,jdbcType=VARCHAR}, #{predictionNo,jdbcType=VARCHAR}, #{noticeNo,jdbcType=VARCHAR},
|
|
|
#{railwayNo,jdbcType=VARCHAR}, #{railwayCarriageNo,jdbcType=VARCHAR}, #{matterNo,jdbcType=VARCHAR},
|
|
#{railwayNo,jdbcType=VARCHAR}, #{railwayCarriageNo,jdbcType=VARCHAR}, #{matterNo,jdbcType=VARCHAR},
|
|
@@ -1165,7 +1165,7 @@
|
|
|
#{receiverType,jdbcType=VARCHAR}, #{receiverRemark,jdbcType=VARCHAR}, #{amountUnit,jdbcType=VARCHAR},
|
|
#{receiverType,jdbcType=VARCHAR}, #{receiverRemark,jdbcType=VARCHAR}, #{amountUnit,jdbcType=VARCHAR},
|
|
|
#{measureObjectType,jdbcType=VARCHAR}, #{measureTaskNum,jdbcType=VARCHAR}, #{billType,jdbcType=VARCHAR},
|
|
#{measureObjectType,jdbcType=VARCHAR}, #{measureTaskNum,jdbcType=VARCHAR}, #{billType,jdbcType=VARCHAR},
|
|
|
#{createManName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{dataSource,jdbcType=VARCHAR},
|
|
#{createManName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{dataSource,jdbcType=VARCHAR},
|
|
|
- #{note,jdbcType=VARCHAR}, #{isPreSacale,jdbcType=VARCHAR}, #{icNo,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ #{note,jdbcType=VARCHAR}, #{isPreSacale,jdbcType=VARCHAR}, #{lcNo,jdbcType=VARCHAR}
|
|
|
)
|
|
)
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
<insert id="insertSelective" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
@@ -1477,8 +1477,8 @@
|
|
|
<if test="isPreSacale != null">
|
|
<if test="isPreSacale != null">
|
|
|
IS_PRE_SACALE,
|
|
IS_PRE_SACALE,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="icNo != null">
|
|
|
|
|
- IC_NO,
|
|
|
|
|
|
|
+ <if test="lcNo != null">
|
|
|
|
|
+ LC_NO,
|
|
|
</if>
|
|
</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -1788,8 +1788,8 @@
|
|
|
<if test="isPreSacale != null">
|
|
<if test="isPreSacale != null">
|
|
|
#{isPreSacale,jdbcType=VARCHAR},
|
|
#{isPreSacale,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="icNo != null">
|
|
|
|
|
- #{icNo,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ <if test="lcNo != null">
|
|
|
|
|
+ #{lcNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
@@ -1896,7 +1896,7 @@
|
|
|
DATA_SOURCE = #{dataSource,jdbcType=VARCHAR},
|
|
DATA_SOURCE = #{dataSource,jdbcType=VARCHAR},
|
|
|
NOTE = #{note,jdbcType=VARCHAR},
|
|
NOTE = #{note,jdbcType=VARCHAR},
|
|
|
IS_PRE_SACALE = #{isPreSacale,jdbcType=VARCHAR},
|
|
IS_PRE_SACALE = #{isPreSacale,jdbcType=VARCHAR},
|
|
|
- IC_NO = #{icNo,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ LC_NO = #{lcNo,jdbcType=VARCHAR}
|
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
@@ -2205,23 +2205,23 @@
|
|
|
<if test="isPreSacale != null">
|
|
<if test="isPreSacale != null">
|
|
|
IS_PRE_SACALE = #{isPreSacale,jdbcType=VARCHAR},
|
|
IS_PRE_SACALE = #{isPreSacale,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="icNo != null">
|
|
|
|
|
- IC_NO = #{icNo,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ <if test="lcNo != null">
|
|
|
|
|
+ LC_NO = #{lcNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
</set>
|
|
</set>
|
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
|
|
|
|
+ <include refid="select" />
|
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
</select>
|
|
</select>
|
|
|
<select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
<select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
|
|
- <include refid="where"/>
|
|
|
|
|
|
|
+ <include refid="select" />
|
|
|
|
|
+ <include refid="where" />
|
|
|
</select>
|
|
</select>
|
|
|
<select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
<select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
|
|
- <include refid="whereLike"/>
|
|
|
|
|
|
|
+ <include refid="select" />
|
|
|
|
|
+ <include refid="whereLike" />
|
|
|
</select>
|
|
</select>
|
|
|
<insert id="batchInsert" parameterType="java.util.List">
|
|
<insert id="batchInsert" parameterType="java.util.List">
|
|
|
insert into METER_WORK_RAILWAY_ACTUAL
|
|
insert into METER_WORK_RAILWAY_ACTUAL
|
|
@@ -2263,7 +2263,7 @@
|
|
|
RECEIVER_REMARK, AMOUNT_UNIT, MEASURE_OBJECT_TYPE,
|
|
RECEIVER_REMARK, AMOUNT_UNIT, MEASURE_OBJECT_TYPE,
|
|
|
MEASURE_TASK_NUM, BILL_TYPE, CREATE_MAN_NAME,
|
|
MEASURE_TASK_NUM, BILL_TYPE, CREATE_MAN_NAME,
|
|
|
CREATE_TIME, DATA_SOURCE, NOTE,
|
|
CREATE_TIME, DATA_SOURCE, NOTE,
|
|
|
- IS_PRE_SACALE, IC_NO)
|
|
|
|
|
|
|
+ IS_PRE_SACALE, LC_NO)
|
|
|
( <foreach collection="list" item="item" separator="union all">
|
|
( <foreach collection="list" item="item" separator="union all">
|
|
|
select
|
|
select
|
|
|
#{item.actualNo,jdbcType=VARCHAR},
|
|
#{item.actualNo,jdbcType=VARCHAR},
|
|
@@ -2304,433 +2304,433 @@
|
|
|
#{item.receiverRemark,jdbcType=VARCHAR}, #{item.amountUnit,jdbcType=VARCHAR}, #{item.measureObjectType,jdbcType=VARCHAR},
|
|
#{item.receiverRemark,jdbcType=VARCHAR}, #{item.amountUnit,jdbcType=VARCHAR}, #{item.measureObjectType,jdbcType=VARCHAR},
|
|
|
#{item.measureTaskNum,jdbcType=VARCHAR}, #{item.billType,jdbcType=VARCHAR}, #{item.createManName,jdbcType=VARCHAR},
|
|
#{item.measureTaskNum,jdbcType=VARCHAR}, #{item.billType,jdbcType=VARCHAR}, #{item.createManName,jdbcType=VARCHAR},
|
|
|
#{item.createTime,jdbcType=TIMESTAMP}, #{item.dataSource,jdbcType=VARCHAR}, #{item.note,jdbcType=VARCHAR},
|
|
#{item.createTime,jdbcType=TIMESTAMP}, #{item.dataSource,jdbcType=VARCHAR}, #{item.note,jdbcType=VARCHAR},
|
|
|
- #{item.isPreSacale,jdbcType=VARCHAR}, #{item.icNo,jdbcType=VARCHAR} from dual
|
|
|
|
|
|
|
+ #{item.isPreSacale,jdbcType=VARCHAR}, #{item.lcNo,jdbcType=VARCHAR} from dual
|
|
|
</foreach> )
|
|
</foreach> )
|
|
|
</insert>
|
|
</insert>
|
|
|
<update id="batchUpdate" parameterType="java.util.List">
|
|
<update id="batchUpdate" parameterType="java.util.List">
|
|
|
update METER_WORK_RAILWAY_ACTUAL
|
|
update METER_WORK_RAILWAY_ACTUAL
|
|
|
set
|
|
set
|
|
|
ACTUAL_NO=
|
|
ACTUAL_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,PREDICTION_NO=
|
|
,PREDICTION_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.predictionNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.predictionNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NOTICE_NO=
|
|
,NOTICE_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.noticeNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.noticeNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RAILWAY_NO=
|
|
,RAILWAY_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RAILWAY_CARRIAGE_NO=
|
|
,RAILWAY_CARRIAGE_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayCarriageNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayCarriageNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MATTER_NO=
|
|
,MATTER_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.matterNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.matterNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MATTER_NAME=
|
|
,MATTER_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.matterName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.matterName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CONTRACT_NO=
|
|
,CONTRACT_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.contractNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.contractNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,BATCH_NO=
|
|
,BATCH_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.batchNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.batchNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CUSTOMER_SUPPLIER_NO=
|
|
,CUSTOMER_SUPPLIER_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.customerSupplierNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.customerSupplierNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CUSTOMER_SUPPLIER_NAME=
|
|
,CUSTOMER_SUPPLIER_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.customerSupplierName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.customerSupplierName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,FORWARDING_UNIT_NO=
|
|
,FORWARDING_UNIT_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.forwardingUnitNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.forwardingUnitNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,FORWARDING_UNIT_NAME=
|
|
,FORWARDING_UNIT_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.forwardingUnitName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.forwardingUnitName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RECEIVING_UINT_NO=
|
|
,RECEIVING_UINT_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.receivingUintNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.receivingUintNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RECEIVING_UINT_NAME=
|
|
,RECEIVING_UINT_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.receivingUintName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.receivingUintName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MATERIAL_NO=
|
|
,MATERIAL_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.materialNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.materialNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MATERIAL_NAME=
|
|
,MATERIAL_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.materialName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.materialName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,SPEC_NO=
|
|
,SPEC_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.specNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.specNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,SPEC_NAME=
|
|
,SPEC_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.specName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.specName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,LOAD_POINT_NO=
|
|
,LOAD_POINT_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.loadPointNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.loadPointNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,LOAD_POINT_NAME=
|
|
,LOAD_POINT_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.loadPointName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.loadPointName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,SAMPLE_VOUCHER=
|
|
,SAMPLE_VOUCHER=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.sampleVoucher,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.sampleVoucher,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CARRIER_UNIT_NO=
|
|
,CARRIER_UNIT_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.carrierUnitNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.carrierUnitNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CARRIER_UNIT_NAME=
|
|
,CARRIER_UNIT_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.carrierUnitName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.carrierUnitName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,METER_TYPE_NO=
|
|
,METER_TYPE_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterTypeNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterTypeNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,METER_TYPE_NAME=
|
|
,METER_TYPE_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterTypeName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterTypeName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,METER_PROCESS_NO=
|
|
,METER_PROCESS_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterProcessNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterProcessNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,METER_PROCESS_EDITION_NO=
|
|
,METER_PROCESS_EDITION_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterProcessEditionNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterProcessEditionNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,ACTUAL_FIRST1_NO=
|
|
,ACTUAL_FIRST1_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualFirst1No,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualFirst1No,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROSS_WEIGHT=
|
|
,GROSS_WEIGHT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossWeight,jdbcType=DECIMAL}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossWeight,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROSS_MAN_NO=
|
|
,GROSS_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossManNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROSS_MAN_NAME=
|
|
,GROSS_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossManName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROSS_TIME=
|
|
,GROSS_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossTime,jdbcType=TIMESTAMP}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,BASE_SPOT1_NO=
|
|
,BASE_SPOT1_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot1No,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot1No,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,BASE_SPOT1_NAME=
|
|
,BASE_SPOT1_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot1Name,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot1Name,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROSS_CLASS=
|
|
,GROSS_CLASS=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossClass,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossClass,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROSS_GROUP=
|
|
,GROSS_GROUP=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossGroup,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossGroup,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROSS_MODE=
|
|
,GROSS_MODE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossMode,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossMode,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,ACTUAL_FIRST2_NO=
|
|
,ACTUAL_FIRST2_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualFirst2No,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualFirst2No,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,TARE_WEIGHT=
|
|
,TARE_WEIGHT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareWeight,jdbcType=DECIMAL}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareWeight,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,TARE_MAN_NO=
|
|
,TARE_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareManNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,TARE_MAN_NAME=
|
|
,TARE_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareManName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,TARE_TIME=
|
|
,TARE_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareTime,jdbcType=TIMESTAMP}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,BASE_SPOT2_NO=
|
|
,BASE_SPOT2_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot2No,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot2No,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,BASE_SPOT2_NAME=
|
|
,BASE_SPOT2_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot2Name,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot2Name,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,TARE_CLASS=
|
|
,TARE_CLASS=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareClass,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareClass,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,TARE_GROUP=
|
|
,TARE_GROUP=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareGroup,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareGroup,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,TARE_MODE=
|
|
,TARE_MODE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareMode,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareMode,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_WEIGHT=
|
|
,NET_WEIGHT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netWeight,jdbcType=DECIMAL}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netWeight,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_MAN_NO=
|
|
,NET_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netManNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_MAN_NAME=
|
|
,NET_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netManName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_TIME=
|
|
,NET_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netTime,jdbcType=TIMESTAMP}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_SPOT3_NO=
|
|
,NET_SPOT3_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netSpot3No,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netSpot3No,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_SPOT3_NAME=
|
|
,NET_SPOT3_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netSpot3Name,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netSpot3Name,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_CLASS=
|
|
,NET_CLASS=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netClass,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netClass,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_GROUP=
|
|
,NET_GROUP=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netGroup,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netGroup,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NET_MODE=
|
|
,NET_MODE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netMode,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.netMode,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,VALUE_FLAG=
|
|
,VALUE_FLAG=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.valueFlag,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.valueFlag,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,UPLOAD_FLAG=
|
|
,UPLOAD_FLAG=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadFlag,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadFlag,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CHECK_MAN_NO=
|
|
,CHECK_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkManNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CHECK_MAN_NAME=
|
|
,CHECK_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkManName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CHECK_TIME=
|
|
,CHECK_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkTime,jdbcType=TIMESTAMP}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,UPLOAD_MAN_NO=
|
|
,UPLOAD_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadManNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,UPLOAD_MAN_NAME=
|
|
,UPLOAD_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadManName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,UPLOAD_TIME=
|
|
,UPLOAD_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadTime,jdbcType=TIMESTAMP}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,SAMPLE_NO=
|
|
,SAMPLE_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.sampleNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.sampleNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RAILWAY_TYPE_NO=
|
|
,RAILWAY_TYPE_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayTypeNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayTypeNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RAILWAY_TYPE_NAME=
|
|
,RAILWAY_TYPE_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayTypeName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayTypeName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MEMO=
|
|
,MEMO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.memo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.memo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,WATER_NUM=
|
|
,WATER_NUM=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.waterNum,jdbcType=DECIMAL}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.waterNum,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,ARRIVAL=
|
|
,ARRIVAL=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.arrival,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.arrival,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,STATION=
|
|
,STATION=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.station,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.station,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,UPDATE_MAN_NO=
|
|
,UPDATE_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateManNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,UPDATE_MAN_NAME=
|
|
,UPDATE_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateManName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,UPDATE_TIME=
|
|
,UPDATE_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,SOURCE_AREA=
|
|
,SOURCE_AREA=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.sourceArea,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.sourceArea,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,VOUCHER_IDENTITY=
|
|
,VOUCHER_IDENTITY=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.voucherIdentity,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.voucherIdentity,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,VOUCHER_ITEM=
|
|
,VOUCHER_ITEM=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.voucherItem,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.voucherItem,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,BUSINESS_GROUP=
|
|
,BUSINESS_GROUP=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.businessGroup,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.businessGroup,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,TEMP_CONVEYANCE=
|
|
,TEMP_CONVEYANCE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tempConveyance,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.tempConveyance,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CONVEYANCE_TYPE=
|
|
,CONVEYANCE_TYPE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.conveyanceType,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.conveyanceType,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RESOURCE_SYSTEM=
|
|
,RESOURCE_SYSTEM=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.resourceSystem,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.resourceSystem,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROUP_PACKAGE_AMOUNT=
|
|
,GROUP_PACKAGE_AMOUNT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.groupPackageAmount,jdbcType=DECIMAL}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.groupPackageAmount,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,GROUP_PACKAGE_UNIT=
|
|
,GROUP_PACKAGE_UNIT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.groupPackageUnit,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.groupPackageUnit,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,PACKAGE_AMOUNT=
|
|
,PACKAGE_AMOUNT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.packageAmount,jdbcType=DECIMAL}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.packageAmount,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,PACKAGE_UNIT=
|
|
,PACKAGE_UNIT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.packageUnit,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.packageUnit,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,THEORY_AMOUNT=
|
|
,THEORY_AMOUNT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.theoryAmount,jdbcType=DECIMAL}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.theoryAmount,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MEASURE_BATCH=
|
|
,MEASURE_BATCH=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureBatch,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureBatch,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MEASURE_BATCH_COUNT=
|
|
,MEASURE_BATCH_COUNT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureBatchCount,jdbcType=DECIMAL}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureBatchCount,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,SENDER_TYPE=
|
|
,SENDER_TYPE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.senderType,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.senderType,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,SENDER_REMARK=
|
|
,SENDER_REMARK=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.senderRemark,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.senderRemark,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RECEIVER_TYPE=
|
|
,RECEIVER_TYPE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.receiverType,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.receiverType,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,RECEIVER_REMARK=
|
|
,RECEIVER_REMARK=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.receiverRemark,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.receiverRemark,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,AMOUNT_UNIT=
|
|
,AMOUNT_UNIT=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.amountUnit,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.amountUnit,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MEASURE_OBJECT_TYPE=
|
|
,MEASURE_OBJECT_TYPE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureObjectType,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureObjectType,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,MEASURE_TASK_NUM=
|
|
,MEASURE_TASK_NUM=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureTaskNum,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureTaskNum,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,BILL_TYPE=
|
|
,BILL_TYPE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.billType,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.billType,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CREATE_MAN_NAME=
|
|
,CREATE_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.createManName,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.createManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CREATE_TIME=
|
|
,CREATE_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,DATA_SOURCE=
|
|
,DATA_SOURCE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.dataSource,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.dataSource,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,NOTE=
|
|
,NOTE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.note,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.note,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,IS_PRE_SACALE=
|
|
,IS_PRE_SACALE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.isPreSacale,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.isPreSacale,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
- ,IC_NO=
|
|
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
- when #{item.actualNo,jdbcType=VARCHAR} then #{item.icNo,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ ,LC_NO=
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.lcNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
where ACTUAL_NO in
|
|
where ACTUAL_NO in
|
|
|
- <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
|
|
|
|
|
|
|
+ <foreach close=")" collection="list" index="index" item="item" open="(" separator=",">
|
|
|
#{item.actualNo,jdbcType=VARCHAR}
|
|
#{item.actualNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</update>
|
|
</update>
|
|
|
<delete id="batchDelete" parameterType="java.util.List">
|
|
<delete id="batchDelete" parameterType="java.util.List">
|
|
|
delete from METER_WORK_RAILWAY_ACTUAL
|
|
delete from METER_WORK_RAILWAY_ACTUAL
|
|
|
where ACTUAL_NO in
|
|
where ACTUAL_NO in
|
|
|
- <foreach collection="list" item="id" open="(" close=")" separator=",">
|
|
|
|
|
|
|
+ <foreach close=")" collection="list" item="id" open="(" separator=",">
|
|
|
#{id}
|
|
#{id}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</delete>
|
|
</delete>
|
|
@@ -3573,13 +3573,46 @@
|
|
|
<select id="distinctCarNo" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
<select id="distinctCarNo" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
SELECT distinct RAILWAY_NO
|
|
SELECT distinct RAILWAY_NO
|
|
|
from METER_WORK_RAILWAY_ACTUAL
|
|
from METER_WORK_RAILWAY_ACTUAL
|
|
|
- where VALUE_FLAG != '0' and RAILWAY_NO like '%${railwayNo}%'
|
|
|
|
|
|
|
+ where 1=1
|
|
|
|
|
+ <if test="valueFlag != null and valueFlag != ''">
|
|
|
|
|
+ and VALUE_FLAG = #{valueFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <!--and RAILWAY_NO like '%${railwayNo}%'-->
|
|
|
|
|
+ <if test="railwayTypeNo != null and railwayTypeNo != ''">
|
|
|
|
|
+ and RAILWAY_TYPE_NO = #{railwayTypeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="lcNo != null and lcNo != ''">
|
|
|
|
|
+ and lc_No like '%${lcNo}%'
|
|
|
|
|
+ </if>
|
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
- and NET_TIME >= TO_DATE(#{startTime}, 'yyyy-MM-dd HH24:mi:ss') and NET_TIME <= TO_DATE(#{endTime}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
|
|
|
|
+ and CREATE_TIME >= TO_DATE(#{startTime}, 'yyyy-MM-dd HH24:mi:ss') and CREATE_TIME <= TO_DATE(#{endTime}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="dataSource != null and dataSource != ''">
|
|
|
|
|
+ and data_source = '${dataSource}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null and railwayNo != ''">
|
|
|
|
|
+ and RAILWAY_NO like '%${railwayNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </select>
|
|
|
|
|
+
|
|
|
|
|
+ <select id="distinctRailwayNo" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
|
|
+ SELECT distinct LC_NO
|
|
|
|
|
+ from METER_WORK_RAILWAY_ACTUAL
|
|
|
|
|
+ where 1=1
|
|
|
|
|
+ <!--and RAILWAY_NO like '%${railwayNo}%'-->
|
|
|
|
|
+ <if test="railwayTypeNo != null and railwayTypeNo != ''">
|
|
|
|
|
+ and RAILWAY_TYPE_NO = #{railwayTypeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null and railwayNo != ''">
|
|
|
|
|
+ and RAILWAY_NO like '%${railwayNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
|
|
+ and CREATE_TIME >= TO_DATE(#{startTime}, 'yyyy-MM-dd HH24:mi:ss') and CREATE_TIME <= TO_DATE(#{endTime}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="dataSource != null and dataSource != null">
|
|
|
|
|
|
|
+ <if test="dataSource != null and dataSource != ''">
|
|
|
and data_source = '${dataSource}'
|
|
and data_source = '${dataSource}'
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ and lc_no is not null
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectActual" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
<select id="selectActual" parameterType="java.lang.String" resultMap="BaseResultMap">
|