|
@@ -111,6 +111,7 @@
|
|
|
<result column="IS_BOUND_LIST" jdbcType="VARCHAR" property="isBoundList" />
|
|
<result column="IS_BOUND_LIST" jdbcType="VARCHAR" property="isBoundList" />
|
|
|
<result column="CONTRACT_ID" jdbcType="VARCHAR" property="contractId" />
|
|
<result column="CONTRACT_ID" jdbcType="VARCHAR" property="contractId" />
|
|
|
<result column="IS_BOUND_LIST_DOWNLOADED" jdbcType="VARCHAR" property="isBoundListDownloaded" />
|
|
<result column="IS_BOUND_LIST_DOWNLOADED" jdbcType="VARCHAR" property="isBoundListDownloaded" />
|
|
|
|
|
+ <result column="DOCUMENT_ID" jdbcType="VARCHAR" property="documentId" />
|
|
|
</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,
|
|
@@ -131,7 +132,7 @@
|
|
|
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, LC_NO, PREDICTION_TYPE, PREDICTION_COMBINATION,
|
|
DATA_SOURCE, NOTE, IS_PRE_SACALE, LC_NO, PREDICTION_TYPE, PREDICTION_COMBINATION,
|
|
|
- BOUND_LIST_URL, IS_BOUND_LIST, CONTRACT_ID, IS_BOUND_LIST_DOWNLOADED
|
|
|
|
|
|
|
+ BOUND_LIST_URL, IS_BOUND_LIST, CONTRACT_ID, IS_BOUND_LIST_DOWNLOADED, DOCUMENT_ID
|
|
|
</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,
|
|
@@ -154,13 +155,13 @@
|
|
|
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.LC_NO, t.PREDICTION_TYPE, t.PREDICTION_COMBINATION, t.BOUND_LIST_URL,
|
|
t.NOTE, t.IS_PRE_SACALE, t.LC_NO, t.PREDICTION_TYPE, t.PREDICTION_COMBINATION, t.BOUND_LIST_URL,
|
|
|
- t.IS_BOUND_LIST, t.CONTRACT_ID, t.IS_BOUND_LIST_DOWNLOADED
|
|
|
|
|
|
|
+ t.IS_BOUND_LIST, t.CONTRACT_ID, t.IS_BOUND_LIST_DOWNLOADED, t.DOCUMENT_ID
|
|
|
</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>
|
|
@@ -491,6 +492,9 @@
|
|
|
<if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
<if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
|
and IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded}
|
|
and IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="documentId != null and documentId != ''">
|
|
|
|
|
+ and DOCUMENT_ID = #{documentId}
|
|
|
|
|
+ </if>
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="whereLike">
|
|
<sql id="whereLike">
|
|
@@ -822,6 +826,9 @@
|
|
|
<if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
<if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
|
and IS_BOUND_LIST_DOWNLOADED LIKE '%${isBoundListDownloaded}%'
|
|
and IS_BOUND_LIST_DOWNLOADED LIKE '%${isBoundListDownloaded}%'
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="documentId != null and documentId != ''">
|
|
|
|
|
+ and DOCUMENT_ID LIKE '%${documentId}%'
|
|
|
|
|
+ </if>
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
@@ -1155,6 +1162,9 @@
|
|
|
<if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
<if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
|
or IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded}
|
|
or IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="documentId != null and documentId != ''">
|
|
|
|
|
+ or DOCUMENT_ID = #{documentId}
|
|
|
|
|
+ </if>
|
|
|
</delete>
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
<insert id="insert" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
|
insert into METER_WORK_RAILWAY_ACTUAL (ACTUAL_NO, PREDICTION_NO, NOTICE_NO,
|
|
insert into METER_WORK_RAILWAY_ACTUAL (ACTUAL_NO, PREDICTION_NO, NOTICE_NO,
|
|
@@ -1194,7 +1204,7 @@
|
|
|
NOTE, IS_PRE_SACALE, LC_NO,
|
|
NOTE, IS_PRE_SACALE, LC_NO,
|
|
|
PREDICTION_TYPE, PREDICTION_COMBINATION,
|
|
PREDICTION_TYPE, PREDICTION_COMBINATION,
|
|
|
BOUND_LIST_URL, IS_BOUND_LIST, CONTRACT_ID,
|
|
BOUND_LIST_URL, IS_BOUND_LIST, CONTRACT_ID,
|
|
|
- IS_BOUND_LIST_DOWNLOADED)
|
|
|
|
|
|
|
+ IS_BOUND_LIST_DOWNLOADED, DOCUMENT_ID)
|
|
|
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},
|
|
|
#{matterName,jdbcType=VARCHAR}, #{contractNo,jdbcType=VARCHAR}, #{batchNo,jdbcType=VARCHAR},
|
|
#{matterName,jdbcType=VARCHAR}, #{contractNo,jdbcType=VARCHAR}, #{batchNo,jdbcType=VARCHAR},
|
|
@@ -1232,7 +1242,7 @@
|
|
|
#{note,jdbcType=VARCHAR}, #{isPreSacale,jdbcType=VARCHAR}, #{lcNo,jdbcType=VARCHAR},
|
|
#{note,jdbcType=VARCHAR}, #{isPreSacale,jdbcType=VARCHAR}, #{lcNo,jdbcType=VARCHAR},
|
|
|
#{predictionType,jdbcType=VARCHAR}, #{predictionCombination,jdbcType=VARCHAR},
|
|
#{predictionType,jdbcType=VARCHAR}, #{predictionCombination,jdbcType=VARCHAR},
|
|
|
#{boundListUrl,jdbcType=VARCHAR}, #{isBoundList,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR},
|
|
#{boundListUrl,jdbcType=VARCHAR}, #{isBoundList,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR},
|
|
|
- #{isBoundListDownloaded,jdbcType=VARCHAR})
|
|
|
|
|
|
|
+ #{isBoundListDownloaded,jdbcType=VARCHAR}, #{documentId,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
<insert id="insertSelective" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
|
insert into METER_WORK_RAILWAY_ACTUAL
|
|
insert into METER_WORK_RAILWAY_ACTUAL
|
|
@@ -1564,6 +1574,9 @@
|
|
|
<if test="isBoundListDownloaded != null">
|
|
<if test="isBoundListDownloaded != null">
|
|
|
IS_BOUND_LIST_DOWNLOADED,
|
|
IS_BOUND_LIST_DOWNLOADED,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="documentId != null">
|
|
|
|
|
+ DOCUMENT_ID,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="actualNo != null">
|
|
<if test="actualNo != null">
|
|
@@ -1893,6 +1906,9 @@
|
|
|
<if test="isBoundListDownloaded != null">
|
|
<if test="isBoundListDownloaded != null">
|
|
|
#{isBoundListDownloaded,jdbcType=VARCHAR},
|
|
#{isBoundListDownloaded,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="documentId != null">
|
|
|
|
|
+ #{documentId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
<update id="updateByPrimaryKey" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
@@ -2004,7 +2020,8 @@
|
|
|
BOUND_LIST_URL = #{boundListUrl,jdbcType=VARCHAR},
|
|
BOUND_LIST_URL = #{boundListUrl,jdbcType=VARCHAR},
|
|
|
IS_BOUND_LIST = #{isBoundList,jdbcType=VARCHAR},
|
|
IS_BOUND_LIST = #{isBoundList,jdbcType=VARCHAR},
|
|
|
CONTRACT_ID = #{contractId,jdbcType=VARCHAR},
|
|
CONTRACT_ID = #{contractId,jdbcType=VARCHAR},
|
|
|
- IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded,jdbcType=VARCHAR},
|
|
|
|
|
+ DOCUMENT_ID = #{documentId,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">
|
|
@@ -2334,20 +2351,23 @@
|
|
|
<if test="isBoundListDownloaded != null">
|
|
<if test="isBoundListDownloaded != null">
|
|
|
IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded,jdbcType=VARCHAR},
|
|
IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="documentId != null">
|
|
|
|
|
+ DOCUMENT_ID = #{documentId,jdbcType=VARCHAR},
|
|
|
|
|
+ </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
|
|
@@ -2391,8 +2411,8 @@
|
|
|
CREATE_TIME, DATA_SOURCE, NOTE,
|
|
CREATE_TIME, DATA_SOURCE, NOTE,
|
|
|
IS_PRE_SACALE, LC_NO, PREDICTION_TYPE,
|
|
IS_PRE_SACALE, LC_NO, PREDICTION_TYPE,
|
|
|
PREDICTION_COMBINATION, BOUND_LIST_URL,
|
|
PREDICTION_COMBINATION, BOUND_LIST_URL,
|
|
|
- IS_BOUND_LIST, CONTRACT_ID, IS_BOUND_LIST_DOWNLOADED
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ IS_BOUND_LIST, CONTRACT_ID, IS_BOUND_LIST_DOWNLOADED,
|
|
|
|
|
+ DOCUMENT_ID)
|
|
|
( <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},
|
|
@@ -2435,458 +2455,462 @@
|
|
|
#{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.lcNo,jdbcType=VARCHAR}, #{item.predictionType,jdbcType=VARCHAR},
|
|
#{item.isPreSacale,jdbcType=VARCHAR}, #{item.lcNo,jdbcType=VARCHAR}, #{item.predictionType,jdbcType=VARCHAR},
|
|
|
#{item.predictionCombination,jdbcType=VARCHAR}, #{item.boundListUrl,jdbcType=VARCHAR},
|
|
#{item.predictionCombination,jdbcType=VARCHAR}, #{item.boundListUrl,jdbcType=VARCHAR},
|
|
|
- #{item.isBoundList,jdbcType=VARCHAR}, #{item.contractId,jdbcType=VARCHAR}, #{item.isBoundListDownloaded,jdbcType=VARCHAR}
|
|
|
|
|
- from dual
|
|
|
|
|
|
|
+ #{item.isBoundList,jdbcType=VARCHAR}, #{item.contractId,jdbcType=VARCHAR}, #{item.isBoundListDownloaded,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.documentId,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>
|
|
|
,LC_NO=
|
|
,LC_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.lcNo,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.lcNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,PREDICTION_TYPE=
|
|
,PREDICTION_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.predictionType,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.predictionType,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,PREDICTION_COMBINATION=
|
|
,PREDICTION_COMBINATION=
|
|
|
- <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.predictionCombination,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.predictionCombination,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,BOUND_LIST_URL=
|
|
,BOUND_LIST_URL=
|
|
|
- <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.boundListUrl,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.boundListUrl,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,IS_BOUND_LIST=
|
|
,IS_BOUND_LIST=
|
|
|
- <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.isBoundList,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.isBoundList,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,CONTRACT_ID=
|
|
,CONTRACT_ID=
|
|
|
- <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.contractId,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.contractId,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
,IS_BOUND_LIST_DOWNLOADED=
|
|
,IS_BOUND_LIST_DOWNLOADED=
|
|
|
- <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.isBoundListDownloaded,jdbcType=VARCHAR}
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.isBoundListDownloaded,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
|
|
+ ,DOCUMENT_ID=
|
|
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.documentId,jdbcType=VARCHAR}
|
|
|
|
|
+ </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>
|
|
@@ -3755,6 +3779,7 @@
|
|
|
<if test="railwayNo != null and railwayNo != ''">
|
|
<if test="railwayNo != null and railwayNo != ''">
|
|
|
and RAILWAY_NO like '%${railwayNo}%'
|
|
and RAILWAY_NO like '%${railwayNo}%'
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ and value_flag != '0'
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -3783,6 +3808,7 @@
|
|
|
<if test="valueFlag != null and valueFlag != ''">
|
|
<if test="valueFlag != null and valueFlag != ''">
|
|
|
and value_flag = #{valueFlag}
|
|
and value_flag = #{valueFlag}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ and value_flag != '0'
|
|
|
and lc_no is not null
|
|
and lc_no is not null
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -3801,6 +3827,7 @@
|
|
|
<select id="likeByDesc" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
<select id="likeByDesc" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
<include refid="select" />
|
|
<include refid="select" />
|
|
|
<include refid="whereLike" />
|
|
<include refid="whereLike" />
|
|
|
|
|
+ and value_flag != '0'
|
|
|
order by net_time desc
|
|
order by net_time desc
|
|
|
</select>
|
|
</select>
|
|
|
<select id="selectByAcatualFristNo" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
<select id="selectByAcatualFristNo" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|