|
|
@@ -85,6 +85,12 @@
|
|
|
<result column="IS_PRE_SCALE" jdbcType="VARCHAR" property="isPreScale" />
|
|
|
<result column="PREDICTION_TYPE" jdbcType="VARCHAR" property="predictionType" />
|
|
|
<result column="PREDICTION_COMBINATION" jdbcType="VARCHAR" property="predictionCombination" />
|
|
|
+ <result column="NOTE" jdbcType="VARCHAR" property="note" />
|
|
|
+ <result column="CREATE_MAN_NAME" jdbcType="VARCHAR" property="createManName" />
|
|
|
+ <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="DOCUMENT_ID" jdbcType="VARCHAR" property="documentId" />
|
|
|
+ <result column="CONTRACT_ID" jdbcType="VARCHAR" property="contractId" />
|
|
|
+ <result column="IS_BOUND_LIST_DOWNLOADED" jdbcType="VARCHAR" property="isBoundListDownloaded" />
|
|
|
</resultMap>
|
|
|
<sql id="columns">
|
|
|
ACTUAL_NO, PREDICTION_NO, NOTICE_NO, RAILWAY_NO, RAILWAY_CARRIAGE_NO, MATTER_NO,
|
|
|
@@ -100,7 +106,8 @@
|
|
|
UPLOAD_FLAG, CHECK_MAN_NO, CHECK_MAN_NAME, CHECK_TIME, UPLOAD_MAN_NO, UPLOAD_MAN_NAME,
|
|
|
UPLOAD_TIME, SAMPLE_NO, RAILWAY_TYPE_NO, RAILWAY_TYPE_NAME, MEMO, WATER_NUM, ARRIVAL,
|
|
|
STATION, UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, SOURCE_AREA, BOUND_LIST_URL,
|
|
|
- IS_BOUND_LIST, DATA_SOURCE, LC_NO, IS_PRE_SCALE, PREDICTION_TYPE, PREDICTION_COMBINATION
|
|
|
+ IS_BOUND_LIST, DATA_SOURCE, LC_NO, IS_PRE_SCALE, PREDICTION_TYPE, PREDICTION_COMBINATION,
|
|
|
+ NOTE, CREATE_MAN_NAME, CREATE_TIME, DOCUMENT_ID, CONTRACT_ID, IS_BOUND_LIST_DOWNLOADED
|
|
|
</sql>
|
|
|
<sql id="columns_alias">
|
|
|
t.ACTUAL_NO, t.PREDICTION_NO, t.NOTICE_NO, t.RAILWAY_NO, t.RAILWAY_CARRIAGE_NO, t.MATTER_NO,
|
|
|
@@ -118,13 +125,14 @@
|
|
|
t.UPLOAD_TIME, t.SAMPLE_NO, t.RAILWAY_TYPE_NO, t.RAILWAY_TYPE_NAME, t.MEMO, t.WATER_NUM,
|
|
|
t.ARRIVAL, t.STATION, t.UPDATE_MAN_NO, t.UPDATE_MAN_NAME, t.UPDATE_TIME, t.SOURCE_AREA,
|
|
|
t.BOUND_LIST_URL, t.IS_BOUND_LIST, t.DATA_SOURCE, t.LC_NO, t.IS_PRE_SCALE, t.PREDICTION_TYPE,
|
|
|
- t.PREDICTION_COMBINATION
|
|
|
+ t.PREDICTION_COMBINATION, t.NOTE, t.CREATE_MAN_NAME, t.CREATE_TIME, t.DOCUMENT_ID,
|
|
|
+ t.CONTRACT_ID, t.IS_BOUND_LIST_DOWNLOADED
|
|
|
</sql>
|
|
|
<sql id="select">
|
|
|
- SELECT <include refid="columns"/> FROM METER_WORK_HOOK_ACTUAL
|
|
|
+ SELECT <include refid="columns" /> FROM METER_WORK_HOOK_ACTUAL
|
|
|
</sql>
|
|
|
<sql id="select_alias">
|
|
|
- SELECT <include refid="columns_alias"/> FROM METER_WORK_HOOK_ACTUAL t
|
|
|
+ SELECT <include refid="columns_alias" /> FROM METER_WORK_HOOK_ACTUAL t
|
|
|
</sql>
|
|
|
<sql id="where">
|
|
|
<where>
|
|
|
@@ -377,6 +385,24 @@
|
|
|
<if test="predictionCombination != null and predictionCombination != ''">
|
|
|
and PREDICTION_COMBINATION = #{predictionCombination}
|
|
|
</if>
|
|
|
+ <if test="note != null and note != ''">
|
|
|
+ and NOTE = #{note}
|
|
|
+ </if>
|
|
|
+ <if test="createManName != null and createManName != ''">
|
|
|
+ and CREATE_MAN_NAME = #{createManName}
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
|
|
|
+ </if>
|
|
|
+ <if test="documentId != null and documentId != ''">
|
|
|
+ and DOCUMENT_ID = #{documentId}
|
|
|
+ </if>
|
|
|
+ <if test="contractId != null and contractId != ''">
|
|
|
+ and CONTRACT_ID = #{contractId}
|
|
|
+ </if>
|
|
|
+ <if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
|
+ and IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="whereLike">
|
|
|
@@ -630,6 +656,24 @@
|
|
|
<if test="predictionCombination != null and predictionCombination != ''">
|
|
|
and PREDICTION_COMBINATION LIKE '%${predictionCombination}%'
|
|
|
</if>
|
|
|
+ <if test="note != null and note != ''">
|
|
|
+ and NOTE LIKE '%${note}%'
|
|
|
+ </if>
|
|
|
+ <if test="createManName != null and createManName != ''">
|
|
|
+ and CREATE_MAN_NAME LIKE '%${createManName}%'
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
|
|
|
+ </if>
|
|
|
+ <if test="documentId != null and documentId != ''">
|
|
|
+ and DOCUMENT_ID LIKE '%${documentId}%'
|
|
|
+ </if>
|
|
|
+ <if test="contractId != null and contractId != ''">
|
|
|
+ and CONTRACT_ID LIKE '%${contractId}%'
|
|
|
+ </if>
|
|
|
+ <if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
|
+ and IS_BOUND_LIST_DOWNLOADED LIKE '%${isBoundListDownloaded}%'
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
@@ -885,6 +929,24 @@
|
|
|
<if test="predictionCombination != null and predictionCombination != ''">
|
|
|
or PREDICTION_COMBINATION = #{predictionCombination}
|
|
|
</if>
|
|
|
+ <if test="note != null and note != ''">
|
|
|
+ or NOTE = #{note}
|
|
|
+ </if>
|
|
|
+ <if test="createManName != null and createManName != ''">
|
|
|
+ or CREATE_MAN_NAME = #{createManName}
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ or TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = '#{createTime}'
|
|
|
+ </if>
|
|
|
+ <if test="documentId != null and documentId != ''">
|
|
|
+ or DOCUMENT_ID = #{documentId}
|
|
|
+ </if>
|
|
|
+ <if test="contractId != null and contractId != ''">
|
|
|
+ or CONTRACT_ID = #{contractId}
|
|
|
+ </if>
|
|
|
+ <if test="isBoundListDownloaded != null and isBoundListDownloaded != ''">
|
|
|
+ or IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded}
|
|
|
+ </if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.steerinfo.meterwork.meterworkhookactual.model.MeterWorkHookActual">
|
|
|
insert into METER_WORK_HOOK_ACTUAL (ACTUAL_NO, PREDICTION_NO, NOTICE_NO,
|
|
|
@@ -915,7 +977,9 @@
|
|
|
UPDATE_MAN_NAME, UPDATE_TIME, SOURCE_AREA,
|
|
|
BOUND_LIST_URL, IS_BOUND_LIST, DATA_SOURCE,
|
|
|
LC_NO, IS_PRE_SCALE, PREDICTION_TYPE,
|
|
|
- PREDICTION_COMBINATION)
|
|
|
+ PREDICTION_COMBINATION, NOTE, CREATE_MAN_NAME,
|
|
|
+ CREATE_TIME, DOCUMENT_ID, CONTRACT_ID,
|
|
|
+ IS_BOUND_LIST_DOWNLOADED)
|
|
|
values (#{actualNo,jdbcType=VARCHAR}, #{predictionNo,jdbcType=VARCHAR}, #{noticeNo,jdbcType=VARCHAR},
|
|
|
#{railwayNo,jdbcType=VARCHAR}, #{railwayCarriageNo,jdbcType=VARCHAR}, #{matterNo,jdbcType=VARCHAR},
|
|
|
#{matterName,jdbcType=VARCHAR}, #{contractNo,jdbcType=VARCHAR}, #{batchNo,jdbcType=VARCHAR},
|
|
|
@@ -944,7 +1008,9 @@
|
|
|
#{updateManName,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{sourceArea,jdbcType=VARCHAR},
|
|
|
#{boundListUrl,jdbcType=VARCHAR}, #{isBoundList,jdbcType=VARCHAR}, #{dataSource,jdbcType=VARCHAR},
|
|
|
#{lcNo,jdbcType=VARCHAR}, #{isPreScale,jdbcType=VARCHAR}, #{predictionType,jdbcType=VARCHAR},
|
|
|
- #{predictionCombination,jdbcType=VARCHAR})
|
|
|
+ #{predictionCombination,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{createManName,jdbcType=VARCHAR},
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{documentId,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR},
|
|
|
+ #{isBoundListDownloaded,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.steerinfo.meterwork.meterworkhookactual.model.MeterWorkHookActual">
|
|
|
insert into METER_WORK_HOOK_ACTUAL
|
|
|
@@ -1198,6 +1264,24 @@
|
|
|
<if test="predictionCombination != null">
|
|
|
PREDICTION_COMBINATION,
|
|
|
</if>
|
|
|
+ <if test="note != null">
|
|
|
+ NOTE,
|
|
|
+ </if>
|
|
|
+ <if test="createManName != null">
|
|
|
+ CREATE_MAN_NAME,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ CREATE_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="documentId != null">
|
|
|
+ DOCUMENT_ID,
|
|
|
+ </if>
|
|
|
+ <if test="contractId != null">
|
|
|
+ CONTRACT_ID,
|
|
|
+ </if>
|
|
|
+ <if test="isBoundListDownloaded != null">
|
|
|
+ IS_BOUND_LIST_DOWNLOADED,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="actualNo != null">
|
|
|
@@ -1449,6 +1533,24 @@
|
|
|
<if test="predictionCombination != null">
|
|
|
#{predictionCombination,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="note != null">
|
|
|
+ #{note,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createManName != null">
|
|
|
+ #{createManName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="documentId != null">
|
|
|
+ #{documentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="contractId != null">
|
|
|
+ #{contractId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isBoundListDownloaded != null">
|
|
|
+ #{isBoundListDownloaded,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.steerinfo.meterwork.meterworkhookactual.model.MeterWorkHookActual">
|
|
|
@@ -1534,7 +1636,13 @@
|
|
|
LC_NO = #{lcNo,jdbcType=VARCHAR},
|
|
|
IS_PRE_SCALE = #{isPreScale,jdbcType=VARCHAR},
|
|
|
PREDICTION_TYPE = #{predictionType,jdbcType=VARCHAR},
|
|
|
- PREDICTION_COMBINATION = #{predictionCombination,jdbcType=VARCHAR}
|
|
|
+ PREDICTION_COMBINATION = #{predictionCombination,jdbcType=VARCHAR},
|
|
|
+ NOTE = #{note,jdbcType=VARCHAR},
|
|
|
+ CREATE_MAN_NAME = #{createManName,jdbcType=VARCHAR},
|
|
|
+ CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ DOCUMENT_ID = #{documentId,jdbcType=VARCHAR},
|
|
|
+ CONTRACT_ID = #{contractId,jdbcType=VARCHAR},
|
|
|
+ IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded,jdbcType=VARCHAR}
|
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.meterwork.meterworkhookactual.model.MeterWorkHookActual">
|
|
|
@@ -1786,20 +1894,38 @@
|
|
|
<if test="predictionCombination != null">
|
|
|
PREDICTION_COMBINATION = #{predictionCombination,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="note != null">
|
|
|
+ NOTE = #{note,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createManName != null">
|
|
|
+ CREATE_MAN_NAME = #{createManName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="documentId != null">
|
|
|
+ DOCUMENT_ID = #{documentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="contractId != null">
|
|
|
+ CONTRACT_ID = #{contractId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isBoundListDownloaded != null">
|
|
|
+ IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
+ <include refid="select" />
|
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
- <include refid="where"/>
|
|
|
+ <include refid="select" />
|
|
|
+ <include refid="where" />
|
|
|
</select>
|
|
|
<select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
- <include refid="whereLike"/>
|
|
|
+ <include refid="select" />
|
|
|
+ <include refid="whereLike" />
|
|
|
</select>
|
|
|
<insert id="batchInsert" parameterType="java.util.List">
|
|
|
insert into METER_WORK_HOOK_ACTUAL
|
|
|
@@ -1833,7 +1959,9 @@
|
|
|
STATION, UPDATE_MAN_NO, UPDATE_MAN_NAME,
|
|
|
UPDATE_TIME, SOURCE_AREA, BOUND_LIST_URL,
|
|
|
IS_BOUND_LIST, DATA_SOURCE, LC_NO,
|
|
|
- IS_PRE_SCALE, PREDICTION_TYPE, PREDICTION_COMBINATION
|
|
|
+ IS_PRE_SCALE, PREDICTION_TYPE, PREDICTION_COMBINATION,
|
|
|
+ NOTE, CREATE_MAN_NAME, CREATE_TIME,
|
|
|
+ DOCUMENT_ID, CONTRACT_ID, IS_BOUND_LIST_DOWNLOADED
|
|
|
)
|
|
|
( <foreach collection="list" item="item" separator="union all">
|
|
|
select
|
|
|
@@ -1867,7 +1995,9 @@
|
|
|
#{item.station,jdbcType=VARCHAR}, #{item.updateManNo,jdbcType=VARCHAR}, #{item.updateManName,jdbcType=VARCHAR},
|
|
|
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.sourceArea,jdbcType=VARCHAR}, #{item.boundListUrl,jdbcType=VARCHAR},
|
|
|
#{item.isBoundList,jdbcType=VARCHAR}, #{item.dataSource,jdbcType=VARCHAR}, #{item.lcNo,jdbcType=VARCHAR},
|
|
|
- #{item.isPreScale,jdbcType=VARCHAR}, #{item.predictionType,jdbcType=VARCHAR}, #{item.predictionCombination,jdbcType=VARCHAR}
|
|
|
+ #{item.isPreScale,jdbcType=VARCHAR}, #{item.predictionType,jdbcType=VARCHAR}, #{item.predictionCombination,jdbcType=VARCHAR},
|
|
|
+ #{item.note,jdbcType=VARCHAR}, #{item.createManName,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
|
|
|
+ #{item.documentId,jdbcType=VARCHAR}, #{item.contractId,jdbcType=VARCHAR}, #{item.isBoundListDownloaded,jdbcType=VARCHAR}
|
|
|
from dual
|
|
|
</foreach> )
|
|
|
</insert>
|
|
|
@@ -1875,346 +2005,370 @@
|
|
|
update METER_WORK_HOOK_ACTUAL
|
|
|
set
|
|
|
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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,IS_PRE_SCALE=
|
|
|
- <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.isPreScale,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
,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}
|
|
|
</foreach>
|
|
|
+ ,NOTE=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.note,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CREATE_MAN_NAME=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.createManName,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CREATE_TIME=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
|
|
|
+ </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>
|
|
|
+ ,CONTRACT_ID=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.contractId,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,IS_BOUND_LIST_DOWNLOADED=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.isBoundListDownloaded,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
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}
|
|
|
</foreach>
|
|
|
</update>
|
|
|
<delete id="batchDelete" parameterType="java.util.List">
|
|
|
delete from METER_WORK_HOOK_ACTUAL
|
|
|
where ACTUAL_NO in
|
|
|
- <foreach collection="list" item="id" open="(" close=")" separator=",">
|
|
|
+ <foreach close=")" collection="list" item="id" open="(" separator=",">
|
|
|
#{id}
|
|
|
</foreach>
|
|
|
</delete>
|
|
|
@@ -2303,6 +2457,12 @@
|
|
|
from METER_WORK_HOOK_ACTUAL t where t.actual_no = #{actualNo,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
|
|
|
+ <select id="selectByParameter" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
+ <include refid="select" />
|
|
|
+ <include refid="where" />
|
|
|
+ order by net_time desc
|
|
|
+ </select>
|
|
|
+
|
|
|
<insert id="insertSelectiveBar" parameterType="com.steerinfo.meterwork.meterworkrailwayactual.model.MeterWorkRailwayActual">
|
|
|
insert into METER_WORK_HOOK_ACTUAL
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|