|
|
@@ -118,6 +118,17 @@
|
|
|
<result column="IS_BOUND_LIST_DOWNLOADED" jdbcType="VARCHAR" property="isBoundListDownloaded" />
|
|
|
<result column="DOCUMENT_ID" jdbcType="VARCHAR" property="documentId" />
|
|
|
<result column="CHECK_FLAG" jdbcType="VARCHAR" property="checkFlag" />
|
|
|
+ <result column="CHECK_MEMO" jdbcType="VARCHAR" property="checkMemo" />
|
|
|
+ <result column="CHECK_MAN1_NO" jdbcType="VARCHAR" property="checkMan1No" />
|
|
|
+ <result column="CHECK_MAN1_NAME" jdbcType="VARCHAR" property="checkMan1Name" />
|
|
|
+ <result column="CHECK_TIME1" jdbcType="TIMESTAMP" property="checkTime1" />
|
|
|
+ <result column="CHECK_MEMO1" jdbcType="VARCHAR" property="checkMemo1" />
|
|
|
+ <result column="CHECK_MAN2_NO" jdbcType="VARCHAR" property="checkMan2No" />
|
|
|
+ <result column="CHECK_MAN2_NAME" jdbcType="VARCHAR" property="checkMan2Name" />
|
|
|
+ <result column="CHECK_TIME2" jdbcType="TIMESTAMP" property="checkTime2" />
|
|
|
+ <result column="CHECK_MEMO2" jdbcType="VARCHAR" property="checkMemo2" />
|
|
|
+ <result column="CHECK_FLAG1" jdbcType="VARCHAR" property="checkFlag1" />
|
|
|
+ <result column="CHECK_FLAG2" jdbcType="VARCHAR" property="checkFlag2" />
|
|
|
</resultMap>
|
|
|
<sql id="columns">
|
|
|
ACTUAL_NO, PREDICTION_NO, NOTICE_NO, CAR_NO, TRAILER_NO, MATTER_NO, MATTER_NAME,
|
|
|
@@ -139,7 +150,9 @@
|
|
|
THEORY_AMOUNT, 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, DATA_SOURCE, IS_PRE_SCALE, BOUND_LIST_URL, IS_BOUND_LIST, CONTRACT_ID,
|
|
|
- IS_BOUND_LIST_DOWNLOADED, DOCUMENT_ID, CHECK_FLAG
|
|
|
+ IS_BOUND_LIST_DOWNLOADED, DOCUMENT_ID, CHECK_FLAG, CHECK_MEMO, CHECK_MAN1_NO, CHECK_MAN1_NAME,
|
|
|
+ CHECK_TIME1, CHECK_MEMO1, CHECK_MAN2_NO, CHECK_MAN2_NAME, CHECK_TIME2, CHECK_MEMO2,
|
|
|
+ CHECK_FLAG1, CHECK_FLAG2
|
|
|
</sql>
|
|
|
<sql id="columns_alias">
|
|
|
t.ACTUAL_NO, t.PREDICTION_NO, t.NOTICE_NO, t.CAR_NO, t.TRAILER_NO, t.MATTER_NO, t.MATTER_NAME,
|
|
|
@@ -163,7 +176,9 @@
|
|
|
t.MEASURE_BATCH_COUNT, t.SENDER_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.IS_PRE_SCALE, t.BOUND_LIST_URL, t.IS_BOUND_LIST,
|
|
|
- t.CONTRACT_ID, t.IS_BOUND_LIST_DOWNLOADED, t.DOCUMENT_ID, t.CHECK_FLAG
|
|
|
+ t.CONTRACT_ID, t.IS_BOUND_LIST_DOWNLOADED, t.DOCUMENT_ID, t.CHECK_FLAG, t.CHECK_MEMO,
|
|
|
+ t.CHECK_MAN1_NO, t.CHECK_MAN1_NAME, t.CHECK_TIME1, t.CHECK_MEMO1, t.CHECK_MAN2_NO,
|
|
|
+ t.CHECK_MAN2_NAME, t.CHECK_TIME2, t.CHECK_MEMO2, t.CHECK_FLAG1, t.CHECK_FLAG2
|
|
|
</sql>
|
|
|
<sql id="select">
|
|
|
SELECT <include refid="columns" /> FROM METER_WORK_CAR_ACTUAL
|
|
|
@@ -521,6 +536,39 @@
|
|
|
<if test="checkFlag != null and checkFlag != ''">
|
|
|
and CHECK_FLAG = #{checkFlag}
|
|
|
</if>
|
|
|
+ <if test="checkMemo != null and checkMemo != ''">
|
|
|
+ and CHECK_MEMO = #{checkMemo}
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1No != null and checkMan1No != ''">
|
|
|
+ and CHECK_MAN1_NO = #{checkMan1No}
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1Name != null and checkMan1Name != ''">
|
|
|
+ and CHECK_MAN1_NAME = #{checkMan1Name}
|
|
|
+ </if>
|
|
|
+ <if test="checkTime1 != null">
|
|
|
+ and TO_CHAR(CHECK_TIME1,'yyyy-MM-dd') = #{checkTime1}
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo1 != null and checkMemo1 != ''">
|
|
|
+ and CHECK_MEMO1 = #{checkMemo1}
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2No != null and checkMan2No != ''">
|
|
|
+ and CHECK_MAN2_NO = #{checkMan2No}
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2Name != null and checkMan2Name != ''">
|
|
|
+ and CHECK_MAN2_NAME = #{checkMan2Name}
|
|
|
+ </if>
|
|
|
+ <if test="checkTime2 != null">
|
|
|
+ and TO_CHAR(CHECK_TIME2,'yyyy-MM-dd') = #{checkTime2}
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo2 != null and checkMemo2 != ''">
|
|
|
+ and CHECK_MEMO2 = #{checkMemo2}
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag1 != null and checkFlag1 != ''">
|
|
|
+ and CHECK_FLAG1 = #{checkFlag1}
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag2 != null and checkFlag2 != ''">
|
|
|
+ and CHECK_FLAG2 = #{checkFlag2}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="whereLike">
|
|
|
@@ -873,6 +921,39 @@
|
|
|
<if test="checkFlag != null and checkFlag != ''">
|
|
|
and CHECK_FLAG LIKE '%${checkFlag}%'
|
|
|
</if>
|
|
|
+ <if test="checkMemo != null and checkMemo != ''">
|
|
|
+ and CHECK_MEMO LIKE '%${checkMemo}%'
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1No != null and checkMan1No != ''">
|
|
|
+ and CHECK_MAN1_NO LIKE '%${checkMan1No}%'
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1Name != null and checkMan1Name != ''">
|
|
|
+ and CHECK_MAN1_NAME LIKE '%${checkMan1Name}%'
|
|
|
+ </if>
|
|
|
+ <if test="checkTime1 != null">
|
|
|
+ and TO_CHAR(CHECK_TIME1,'yyyy-MM-dd') = #{checkTime1}
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo1 != null and checkMemo1 != ''">
|
|
|
+ and CHECK_MEMO1 LIKE '%${checkMemo1}%'
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2No != null and checkMan2No != ''">
|
|
|
+ and CHECK_MAN2_NO LIKE '%${checkMan2No}%'
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2Name != null and checkMan2Name != ''">
|
|
|
+ and CHECK_MAN2_NAME LIKE '%${checkMan2Name}%'
|
|
|
+ </if>
|
|
|
+ <if test="checkTime2 != null">
|
|
|
+ and TO_CHAR(CHECK_TIME2,'yyyy-MM-dd') = #{checkTime2}
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo2 != null and checkMemo2 != ''">
|
|
|
+ and CHECK_MEMO2 LIKE '%${checkMemo2}%'
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag1 != null and checkFlag1 != ''">
|
|
|
+ and CHECK_FLAG1 LIKE '%${checkFlag1}%'
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag2 != null and checkFlag2 != ''">
|
|
|
+ and CHECK_FLAG2 LIKE '%${checkFlag2}%'
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
@@ -1227,6 +1308,39 @@
|
|
|
<if test="checkFlag != null and checkFlag != ''">
|
|
|
or CHECK_FLAG = #{checkFlag}
|
|
|
</if>
|
|
|
+ <if test="checkMemo != null and checkMemo != ''">
|
|
|
+ or CHECK_MEMO = #{checkMemo}
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1No != null and checkMan1No != ''">
|
|
|
+ or CHECK_MAN1_NO = #{checkMan1No}
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1Name != null and checkMan1Name != ''">
|
|
|
+ or CHECK_MAN1_NAME = #{checkMan1Name}
|
|
|
+ </if>
|
|
|
+ <if test="checkTime1 != null">
|
|
|
+ or TO_CHAR(CHECK_TIME1,'yyyy-MM-dd') = '#{checkTime1}'
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo1 != null and checkMemo1 != ''">
|
|
|
+ or CHECK_MEMO1 = #{checkMemo1}
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2No != null and checkMan2No != ''">
|
|
|
+ or CHECK_MAN2_NO = #{checkMan2No}
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2Name != null and checkMan2Name != ''">
|
|
|
+ or CHECK_MAN2_NAME = #{checkMan2Name}
|
|
|
+ </if>
|
|
|
+ <if test="checkTime2 != null">
|
|
|
+ or TO_CHAR(CHECK_TIME2,'yyyy-MM-dd') = '#{checkTime2}'
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo2 != null and checkMemo2 != ''">
|
|
|
+ or CHECK_MEMO2 = #{checkMemo2}
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag1 != null and checkFlag1 != ''">
|
|
|
+ or CHECK_FLAG1 = #{checkFlag1}
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag2 != null and checkFlag2 != ''">
|
|
|
+ or CHECK_FLAG2 = #{checkFlag2}
|
|
|
+ </if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.steerinfo.meterwork.meterworkcaractual.model.MeterWorkCarActual">
|
|
|
insert into METER_WORK_CAR_ACTUAL (ACTUAL_NO, PREDICTION_NO, NOTICE_NO,
|
|
|
@@ -1267,8 +1381,11 @@
|
|
|
MEASURE_TASK_NUM, BILL_TYPE, CREATE_MAN_NAME,
|
|
|
CREATE_TIME, DATA_SOURCE, IS_PRE_SCALE,
|
|
|
BOUND_LIST_URL, IS_BOUND_LIST, CONTRACT_ID,
|
|
|
- IS_BOUND_LIST_DOWNLOADED, DOCUMENT_ID, CHECK_FLAG
|
|
|
- )
|
|
|
+ IS_BOUND_LIST_DOWNLOADED, DOCUMENT_ID, CHECK_FLAG,
|
|
|
+ CHECK_MEMO, CHECK_MAN1_NO, CHECK_MAN1_NAME,
|
|
|
+ CHECK_TIME1, CHECK_MEMO1, CHECK_MAN2_NO,
|
|
|
+ CHECK_MAN2_NAME, CHECK_TIME2, CHECK_MEMO2,
|
|
|
+ CHECK_FLAG1, CHECK_FLAG2)
|
|
|
values (#{actualNo,jdbcType=VARCHAR}, #{predictionNo,jdbcType=VARCHAR}, #{noticeNo,jdbcType=VARCHAR},
|
|
|
#{carNo,jdbcType=VARCHAR}, #{trailerNo,jdbcType=VARCHAR}, #{matterNo,jdbcType=VARCHAR},
|
|
|
#{matterName,jdbcType=VARCHAR}, #{contractNo,jdbcType=VARCHAR}, #{batchNo,jdbcType=VARCHAR},
|
|
|
@@ -1307,8 +1424,11 @@
|
|
|
#{measureTaskNum,jdbcType=VARCHAR}, #{billType,jdbcType=VARCHAR}, #{createManName,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{dataSource,jdbcType=VARCHAR}, #{isPreScale,jdbcType=VARCHAR},
|
|
|
#{boundListUrl,jdbcType=VARCHAR}, #{isBoundList,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR},
|
|
|
- #{isBoundListDownloaded,jdbcType=VARCHAR}, #{documentId,jdbcType=VARCHAR}, #{checkFlag,jdbcType=VARCHAR}
|
|
|
- )
|
|
|
+ #{isBoundListDownloaded,jdbcType=VARCHAR}, #{documentId,jdbcType=VARCHAR}, #{checkFlag,jdbcType=VARCHAR},
|
|
|
+ #{checkMemo,jdbcType=VARCHAR}, #{checkMan1No,jdbcType=VARCHAR}, #{checkMan1Name,jdbcType=VARCHAR},
|
|
|
+ #{checkTime1,jdbcType=TIMESTAMP}, #{checkMemo1,jdbcType=VARCHAR}, #{checkMan2No,jdbcType=VARCHAR},
|
|
|
+ #{checkMan2Name,jdbcType=VARCHAR}, #{checkTime2,jdbcType=TIMESTAMP}, #{checkMemo2,jdbcType=VARCHAR},
|
|
|
+ #{checkFlag1,jdbcType=VARCHAR}, #{checkFlag2,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.steerinfo.meterwork.meterworkcaractual.model.MeterWorkCarActual">
|
|
|
insert into METER_WORK_CAR_ACTUAL
|
|
|
@@ -1661,6 +1781,39 @@
|
|
|
<if test="checkFlag != null">
|
|
|
CHECK_FLAG,
|
|
|
</if>
|
|
|
+ <if test="checkMemo != null">
|
|
|
+ CHECK_MEMO,
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1No != null">
|
|
|
+ CHECK_MAN1_NO,
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1Name != null">
|
|
|
+ CHECK_MAN1_NAME,
|
|
|
+ </if>
|
|
|
+ <if test="checkTime1 != null">
|
|
|
+ CHECK_TIME1,
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo1 != null">
|
|
|
+ CHECK_MEMO1,
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2No != null">
|
|
|
+ CHECK_MAN2_NO,
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2Name != null">
|
|
|
+ CHECK_MAN2_NAME,
|
|
|
+ </if>
|
|
|
+ <if test="checkTime2 != null">
|
|
|
+ CHECK_TIME2,
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo2 != null">
|
|
|
+ CHECK_MEMO2,
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag1 != null">
|
|
|
+ CHECK_FLAG1,
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag2 != null">
|
|
|
+ CHECK_FLAG2,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="actualNo != null">
|
|
|
@@ -2011,6 +2164,39 @@
|
|
|
<if test="checkFlag != null">
|
|
|
#{checkFlag,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="checkMemo != null">
|
|
|
+ #{checkMemo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1No != null">
|
|
|
+ #{checkMan1No,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1Name != null">
|
|
|
+ #{checkMan1Name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkTime1 != null">
|
|
|
+ #{checkTime1,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo1 != null">
|
|
|
+ #{checkMemo1,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2No != null">
|
|
|
+ #{checkMan2No,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2Name != null">
|
|
|
+ #{checkMan2Name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkTime2 != null">
|
|
|
+ #{checkTime2,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo2 != null">
|
|
|
+ #{checkMemo2,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag1 != null">
|
|
|
+ #{checkFlag1,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag2 != null">
|
|
|
+ #{checkFlag2,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.steerinfo.meterwork.meterworkcaractual.model.MeterWorkCarActual">
|
|
|
@@ -2129,7 +2315,18 @@
|
|
|
CONTRACT_ID = #{contractId,jdbcType=VARCHAR},
|
|
|
IS_BOUND_LIST_DOWNLOADED = #{isBoundListDownloaded,jdbcType=VARCHAR},
|
|
|
DOCUMENT_ID = #{documentId,jdbcType=VARCHAR},
|
|
|
- CHECK_FLAG = #{checkFlag,jdbcType=VARCHAR}
|
|
|
+ CHECK_FLAG = #{checkFlag,jdbcType=VARCHAR},
|
|
|
+ CHECK_MEMO = #{checkMemo,jdbcType=VARCHAR},
|
|
|
+ CHECK_MAN1_NO = #{checkMan1No,jdbcType=VARCHAR},
|
|
|
+ CHECK_MAN1_NAME = #{checkMan1Name,jdbcType=VARCHAR},
|
|
|
+ CHECK_TIME1 = #{checkTime1,jdbcType=TIMESTAMP},
|
|
|
+ CHECK_MEMO1 = #{checkMemo1,jdbcType=VARCHAR},
|
|
|
+ CHECK_MAN2_NO = #{checkMan2No,jdbcType=VARCHAR},
|
|
|
+ CHECK_MAN2_NAME = #{checkMan2Name,jdbcType=VARCHAR},
|
|
|
+ CHECK_TIME2 = #{checkTime2,jdbcType=TIMESTAMP},
|
|
|
+ CHECK_MEMO2 = #{checkMemo2,jdbcType=VARCHAR},
|
|
|
+ CHECK_FLAG1 = #{checkFlag1,jdbcType=VARCHAR},
|
|
|
+ CHECK_FLAG2 = #{checkFlag2,jdbcType=VARCHAR}
|
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.meterwork.meterworkcaractual.model.MeterWorkCarActual">
|
|
|
@@ -2480,6 +2677,39 @@
|
|
|
<if test="checkFlag != null">
|
|
|
CHECK_FLAG = #{checkFlag,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="checkMemo != null">
|
|
|
+ CHECK_MEMO = #{checkMemo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1No != null">
|
|
|
+ CHECK_MAN1_NO = #{checkMan1No,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMan1Name != null">
|
|
|
+ CHECK_MAN1_NAME = #{checkMan1Name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkTime1 != null">
|
|
|
+ CHECK_TIME1 = #{checkTime1,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo1 != null">
|
|
|
+ CHECK_MEMO1 = #{checkMemo1,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2No != null">
|
|
|
+ CHECK_MAN2_NO = #{checkMan2No,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkMan2Name != null">
|
|
|
+ CHECK_MAN2_NAME = #{checkMan2Name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkTime2 != null">
|
|
|
+ CHECK_TIME2 = #{checkTime2,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="checkMemo2 != null">
|
|
|
+ CHECK_MEMO2 = #{checkMemo2,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag1 != null">
|
|
|
+ CHECK_FLAG1 = #{checkFlag1,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="checkFlag2 != null">
|
|
|
+ CHECK_FLAG2 = #{checkFlag2,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -2541,7 +2771,11 @@
|
|
|
CREATE_TIME, DATA_SOURCE, IS_PRE_SCALE,
|
|
|
BOUND_LIST_URL, IS_BOUND_LIST, CONTRACT_ID,
|
|
|
IS_BOUND_LIST_DOWNLOADED, DOCUMENT_ID,
|
|
|
- CHECK_FLAG)
|
|
|
+ CHECK_FLAG, CHECK_MEMO, CHECK_MAN1_NO,
|
|
|
+ CHECK_MAN1_NAME, CHECK_TIME1,
|
|
|
+ CHECK_MEMO1, CHECK_MAN2_NO, CHECK_MAN2_NAME,
|
|
|
+ CHECK_TIME2, CHECK_MEMO2, CHECK_FLAG1,
|
|
|
+ CHECK_FLAG2)
|
|
|
( <foreach collection="list" item="item" separator="union all">
|
|
|
select
|
|
|
#{item.actualNo,jdbcType=VARCHAR},
|
|
|
@@ -2588,7 +2822,11 @@
|
|
|
#{item.createTime,jdbcType=TIMESTAMP}, #{item.dataSource,jdbcType=VARCHAR}, #{item.isPreScale,jdbcType=VARCHAR},
|
|
|
#{item.boundListUrl,jdbcType=VARCHAR}, #{item.isBoundList,jdbcType=VARCHAR}, #{item.contractId,jdbcType=VARCHAR},
|
|
|
#{item.isBoundListDownloaded,jdbcType=VARCHAR}, #{item.documentId,jdbcType=VARCHAR},
|
|
|
- #{item.checkFlag,jdbcType=VARCHAR} from dual
|
|
|
+ #{item.checkFlag,jdbcType=VARCHAR}, #{item.checkMemo,jdbcType=VARCHAR}, #{item.checkMan1No,jdbcType=VARCHAR},
|
|
|
+ #{item.checkMan1Name,jdbcType=VARCHAR}, #{item.checkTime1,jdbcType=TIMESTAMP},
|
|
|
+ #{item.checkMemo1,jdbcType=VARCHAR}, #{item.checkMan2No,jdbcType=VARCHAR}, #{item.checkMan2Name,jdbcType=VARCHAR},
|
|
|
+ #{item.checkTime2,jdbcType=TIMESTAMP}, #{item.checkMemo2,jdbcType=VARCHAR}, #{item.checkFlag1,jdbcType=VARCHAR},
|
|
|
+ #{item.checkFlag2,jdbcType=VARCHAR} from dual
|
|
|
</foreach> )
|
|
|
</insert>
|
|
|
<update id="batchUpdate" parameterType="java.util.List">
|
|
|
@@ -3058,6 +3296,50 @@
|
|
|
<foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkFlag,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
+ ,CHECK_MEMO=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkMemo,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_MAN1_NO=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkMan1No,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_MAN1_NAME=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkMan1Name,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_TIME1=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkTime1,jdbcType=TIMESTAMP}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_MEMO1=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkMemo1,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_MAN2_NO=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkMan2No,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_MAN2_NAME=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkMan2Name,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_TIME2=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkTime2,jdbcType=TIMESTAMP}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_MEMO2=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkMemo2,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_FLAG1=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkFlag1,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CHECK_FLAG2=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case ACTUAL_NO" separator=" ">
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkFlag2,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
where ACTUAL_NO in
|
|
|
<foreach close=")" collection="list" index="index" item="item" open="(" separator=",">
|
|
|
#{item.actualNo,jdbcType=VARCHAR}
|
|
|
@@ -4447,4 +4729,5 @@
|
|
|
and A.car_no like '%${carNo}%'
|
|
|
</if>
|
|
|
</select>
|
|
|
+
|
|
|
</mapper>
|