|
|
@@ -21,26 +21,30 @@
|
|
|
<result column="DELETE_MAN_NO" jdbcType="VARCHAR" property="deleteManNo" />
|
|
|
<result column="DELETE_MAN_NAME" jdbcType="VARCHAR" property="deleteManName" />
|
|
|
<result column="DELETE_TIME" jdbcType="TIMESTAMP" property="deleteTime" />
|
|
|
+ <result column="CAR_TYPE_NO" jdbcType="VARCHAR" property="carTypeNo" />
|
|
|
+ <result column="CAR_TYPE_NAME" jdbcType="VARCHAR" property="carTypeName" />
|
|
|
+ <result column="CAR_CARRIER_WEIGHT" jdbcType="DECIMAL" property="carCarrierWeight" />
|
|
|
</resultMap>
|
|
|
<sql id="columns">
|
|
|
PK_NO, CUS_SUP_CAR_NO, MNEMONIC_CODE, DRIVER_NAME, ID_NUM, TEL_NUM, CUSTOMER_SUPPLIER_NO,
|
|
|
CUSTOMER_SUPPLIER_NAME, MEMO, VALID_FLAG, CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME,
|
|
|
- UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, DELETE_MAN_NO, DELETE_MAN_NAME, DELETE_TIME
|
|
|
+ UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, DELETE_MAN_NO, DELETE_MAN_NAME, DELETE_TIME,
|
|
|
+ CAR_TYPE_NO, CAR_TYPE_NAME, CAR_CARRIER_WEIGHT
|
|
|
</sql>
|
|
|
<sql id="columns_alias">
|
|
|
t.PK_NO, t.CUS_SUP_CAR_NO, t.MNEMONIC_CODE, t.DRIVER_NAME, t.ID_NUM, t.TEL_NUM, t.CUSTOMER_SUPPLIER_NO,
|
|
|
t.CUSTOMER_SUPPLIER_NAME, t.MEMO, t.VALID_FLAG, t.CREATE_MAN_NO, t.CREATE_MAN_NAME,
|
|
|
t.CREATE_TIME, t.UPDATE_MAN_NO, t.UPDATE_MAN_NAME, t.UPDATE_TIME, t.DELETE_MAN_NO,
|
|
|
- t.DELETE_MAN_NAME, t.DELETE_TIME
|
|
|
+ t.DELETE_MAN_NAME, t.DELETE_TIME, t.CAR_TYPE_NO, t.CAR_TYPE_NAME, t.CAR_CARRIER_WEIGHT
|
|
|
</sql>
|
|
|
<sql id="select">
|
|
|
- SELECT <include refid="columns"/> FROM METER_BASE_CUS_SUP_CAR
|
|
|
+ SELECT <include refid="columns" /> FROM METER_BASE_CUS_SUP_CAR
|
|
|
</sql>
|
|
|
<sql id="select_alias">
|
|
|
- SELECT <include refid="columns_alias"/> FROM METER_BASE_CUS_SUP_CAR t
|
|
|
+ SELECT <include refid="columns_alias" /> FROM METER_BASE_CUS_SUP_CAR t
|
|
|
</sql>
|
|
|
<sql id="where">
|
|
|
- <where>
|
|
|
+ <where>
|
|
|
<if test="pkNo != null and pkNo != ''">
|
|
|
and PK_NO = #{pkNo}
|
|
|
</if>
|
|
|
@@ -98,10 +102,19 @@
|
|
|
<if test="deleteTime != null">
|
|
|
and TO_CHAR(DELETE_TIME,'yyyy-MM-dd') = #{deleteTime}
|
|
|
</if>
|
|
|
+ <if test="carTypeNo != null and carTypeNo != ''">
|
|
|
+ and CAR_TYPE_NO = #{carTypeNo}
|
|
|
+ </if>
|
|
|
+ <if test="carTypeName != null and carTypeName != ''">
|
|
|
+ and CAR_TYPE_NAME = #{carTypeName}
|
|
|
+ </if>
|
|
|
+ <if test="carCarrierWeight != null">
|
|
|
+ and CAR_CARRIER_WEIGHT = #{carCarrierWeight}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="whereLike">
|
|
|
- <where>
|
|
|
+ <where>
|
|
|
<if test="pkNo != null and pkNo != ''">
|
|
|
and PK_NO LIKE '%${pkNo}%'
|
|
|
</if>
|
|
|
@@ -159,6 +172,15 @@
|
|
|
<if test="deleteTime != null">
|
|
|
and TO_CHAR(DELETE_TIME,'yyyy-MM-dd') = #{deleteTime}
|
|
|
</if>
|
|
|
+ <if test="carTypeNo != null and carTypeNo != ''">
|
|
|
+ and CAR_TYPE_NO LIKE '%${carTypeNo}%'
|
|
|
+ </if>
|
|
|
+ <if test="carTypeName != null and carTypeName != ''">
|
|
|
+ and CAR_TYPE_NAME LIKE '%${carTypeName}%'
|
|
|
+ </if>
|
|
|
+ <if test="carCarrierWeight != null">
|
|
|
+ and CAR_CARRIER_WEIGHT = #{carCarrierWeight}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
@@ -222,6 +244,15 @@
|
|
|
<if test="deleteTime != null">
|
|
|
or TO_CHAR(DELETE_TIME,'yyyy-MM-dd') = '#{deleteTime}'
|
|
|
</if>
|
|
|
+ <if test="carTypeNo != null and carTypeNo != ''">
|
|
|
+ or CAR_TYPE_NO = #{carTypeNo}
|
|
|
+ </if>
|
|
|
+ <if test="carTypeName != null and carTypeName != ''">
|
|
|
+ or CAR_TYPE_NAME = #{carTypeName}
|
|
|
+ </if>
|
|
|
+ <if test="carCarrierWeight != null">
|
|
|
+ or CAR_CARRIER_WEIGHT = #{carCarrierWeight}
|
|
|
+ </if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.steerinfo.baseinfo.meterbasecussupcar.model.MeterBaseCusSupCar">
|
|
|
insert into METER_BASE_CUS_SUP_CAR (PK_NO, CUS_SUP_CAR_NO, MNEMONIC_CODE,
|
|
|
@@ -230,14 +261,16 @@
|
|
|
MEMO, VALID_FLAG, CREATE_MAN_NO,
|
|
|
CREATE_MAN_NAME, CREATE_TIME, UPDATE_MAN_NO,
|
|
|
UPDATE_MAN_NAME, UPDATE_TIME, DELETE_MAN_NO,
|
|
|
- DELETE_MAN_NAME, DELETE_TIME)
|
|
|
+ DELETE_MAN_NAME, DELETE_TIME, CAR_TYPE_NO,
|
|
|
+ CAR_TYPE_NAME, CAR_CARRIER_WEIGHT)
|
|
|
values (#{pkNo,jdbcType=VARCHAR}, #{cusSupCarNo,jdbcType=VARCHAR}, #{mnemonicCode,jdbcType=VARCHAR},
|
|
|
#{driverName,jdbcType=VARCHAR}, #{idNum,jdbcType=VARCHAR}, #{telNum,jdbcType=VARCHAR},
|
|
|
#{customerSupplierNo,jdbcType=VARCHAR}, #{customerSupplierName,jdbcType=VARCHAR},
|
|
|
#{memo,jdbcType=VARCHAR}, #{validFlag,jdbcType=VARCHAR}, #{createManNo,jdbcType=VARCHAR},
|
|
|
#{createManName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateManNo,jdbcType=VARCHAR},
|
|
|
#{updateManName,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteManNo,jdbcType=VARCHAR},
|
|
|
- #{deleteManName,jdbcType=VARCHAR}, #{deleteTime,jdbcType=TIMESTAMP})
|
|
|
+ #{deleteManName,jdbcType=VARCHAR}, #{deleteTime,jdbcType=TIMESTAMP}, #{carTypeNo,jdbcType=VARCHAR},
|
|
|
+ #{carTypeName,jdbcType=VARCHAR}, #{carCarrierWeight,jdbcType=DECIMAL})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.steerinfo.baseinfo.meterbasecussupcar.model.MeterBaseCusSupCar">
|
|
|
insert into METER_BASE_CUS_SUP_CAR
|
|
|
@@ -299,6 +332,15 @@
|
|
|
<if test="deleteTime != null">
|
|
|
DELETE_TIME,
|
|
|
</if>
|
|
|
+ <if test="carTypeNo != null">
|
|
|
+ CAR_TYPE_NO,
|
|
|
+ </if>
|
|
|
+ <if test="carTypeName != null">
|
|
|
+ CAR_TYPE_NAME,
|
|
|
+ </if>
|
|
|
+ <if test="carCarrierWeight != null">
|
|
|
+ CAR_CARRIER_WEIGHT,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="pkNo != null">
|
|
|
@@ -358,6 +400,15 @@
|
|
|
<if test="deleteTime != null">
|
|
|
#{deleteTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="carTypeNo != null">
|
|
|
+ #{carTypeNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="carTypeName != null">
|
|
|
+ #{carTypeName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="carCarrierWeight != null">
|
|
|
+ #{carCarrierWeight,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.steerinfo.baseinfo.meterbasecussupcar.model.MeterBaseCusSupCar">
|
|
|
@@ -379,7 +430,10 @@
|
|
|
UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
DELETE_MAN_NO = #{deleteManNo,jdbcType=VARCHAR},
|
|
|
DELETE_MAN_NAME = #{deleteManName,jdbcType=VARCHAR},
|
|
|
- DELETE_TIME = #{deleteTime,jdbcType=TIMESTAMP}
|
|
|
+ DELETE_TIME = #{deleteTime,jdbcType=TIMESTAMP},
|
|
|
+ CAR_TYPE_NO = #{carTypeNo,jdbcType=VARCHAR},
|
|
|
+ CAR_TYPE_NAME = #{carTypeName,jdbcType=VARCHAR},
|
|
|
+ CAR_CARRIER_WEIGHT = #{carCarrierWeight,jdbcType=DECIMAL}
|
|
|
where PK_NO = #{pkNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.baseinfo.meterbasecussupcar.model.MeterBaseCusSupCar">
|
|
|
@@ -439,22 +493,29 @@
|
|
|
<if test="deleteTime != null">
|
|
|
DELETE_TIME = #{deleteTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="carTypeNo != null">
|
|
|
+ CAR_TYPE_NO = #{carTypeNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="carTypeName != null">
|
|
|
+ CAR_TYPE_NAME = #{carTypeName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="carCarrierWeight != null">
|
|
|
+ CAR_CARRIER_WEIGHT = #{carCarrierWeight,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where PK_NO = #{pkNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
+ <include refid="select" />
|
|
|
where PK_NO = #{pkNo,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
- <include refid="where"/>
|
|
|
- order by PK_NO desc
|
|
|
+ <include refid="select" />
|
|
|
+ <include refid="where" />
|
|
|
</select>
|
|
|
<select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
- <include refid="select"/>
|
|
|
- <include refid="whereLike"/>
|
|
|
- order by PK_NO desc
|
|
|
+ <include refid="select" />
|
|
|
+ <include refid="whereLike" />
|
|
|
</select>
|
|
|
<insert id="batchInsert" parameterType="java.util.List">
|
|
|
insert into METER_BASE_CUS_SUP_CAR
|
|
|
@@ -464,7 +525,8 @@
|
|
|
CUSTOMER_SUPPLIER_NAME, MEMO, VALID_FLAG,
|
|
|
CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME,
|
|
|
UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME,
|
|
|
- DELETE_MAN_NO, DELETE_MAN_NAME, DELETE_TIME
|
|
|
+ DELETE_MAN_NO, DELETE_MAN_NAME, DELETE_TIME,
|
|
|
+ CAR_TYPE_NO, CAR_TYPE_NAME, CAR_CARRIER_WEIGHT
|
|
|
)
|
|
|
( <foreach collection="list" item="item" separator="union all">
|
|
|
select
|
|
|
@@ -474,7 +536,8 @@
|
|
|
#{item.customerSupplierName,jdbcType=VARCHAR}, #{item.memo,jdbcType=VARCHAR}, #{item.validFlag,jdbcType=VARCHAR},
|
|
|
#{item.createManNo,jdbcType=VARCHAR}, #{item.createManName,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
|
|
|
#{item.updateManNo,jdbcType=VARCHAR}, #{item.updateManName,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP},
|
|
|
- #{item.deleteManNo,jdbcType=VARCHAR}, #{item.deleteManName,jdbcType=VARCHAR}, #{item.deleteTime,jdbcType=TIMESTAMP}
|
|
|
+ #{item.deleteManNo,jdbcType=VARCHAR}, #{item.deleteManName,jdbcType=VARCHAR}, #{item.deleteTime,jdbcType=TIMESTAMP},
|
|
|
+ #{item.carTypeNo,jdbcType=VARCHAR}, #{item.carTypeName,jdbcType=VARCHAR}, #{item.carCarrierWeight,jdbcType=DECIMAL}
|
|
|
from dual
|
|
|
</foreach> )
|
|
|
</insert>
|
|
|
@@ -482,93 +545,106 @@
|
|
|
update METER_BASE_CUS_SUP_CAR
|
|
|
set
|
|
|
PK_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.pkNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,CUS_SUP_CAR_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.cusSupCarNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,MNEMONIC_CODE=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.mnemonicCode,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,DRIVER_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.driverName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,ID_NUM=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.idNum,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,TEL_NUM=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.telNum,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,CUSTOMER_SUPPLIER_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.customerSupplierNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,CUSTOMER_SUPPLIER_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.customerSupplierName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,MEMO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.memo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,VALID_FLAG=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.validFlag,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,CREATE_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.createManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,CREATE_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.createManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,CREATE_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
|
,UPDATE_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.updateManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,UPDATE_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.updateManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,UPDATE_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
|
,DELETE_MAN_NO=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.deleteManNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,DELETE_MAN_NAME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.deleteManName,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
,DELETE_TIME=
|
|
|
- <foreach collection="list" item="item" index="index" separator=" " open="case PK_NO" close="end">
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
when #{item.pkNo,jdbcType=VARCHAR} then #{item.deleteTime,jdbcType=TIMESTAMP}
|
|
|
</foreach>
|
|
|
+ ,CAR_TYPE_NO=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
+ when #{item.pkNo,jdbcType=VARCHAR} then #{item.carTypeNo,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CAR_TYPE_NAME=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
+ when #{item.pkNo,jdbcType=VARCHAR} then #{item.carTypeName,jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
+ ,CAR_CARRIER_WEIGHT=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PK_NO" separator=" ">
|
|
|
+ when #{item.pkNo,jdbcType=VARCHAR} then #{item.carCarrierWeight,jdbcType=DECIMAL}
|
|
|
+ </foreach>
|
|
|
where PK_NO in
|
|
|
- <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
|
|
|
+ <foreach close=")" collection="list" index="index" item="item" open="(" separator=",">
|
|
|
#{item.pkNo,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
</update>
|
|
|
<delete id="batchDelete" parameterType="java.util.List">
|
|
|
delete from METER_BASE_CUS_SUP_CAR
|
|
|
where PK_NO in
|
|
|
- <foreach collection="list" item="id" open="(" close=")" separator=",">
|
|
|
+ <foreach close=")" collection="list" item="id" open="(" separator=",">
|
|
|
#{id}
|
|
|
</foreach>
|
|
|
</delete>
|
|
|
+
|
|
|
<!-- 友情提示!!!-->
|
|
|
<!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
|
|
|
<select id="GetNewID" parameterType="java.lang.String" resultType="java.lang.String">
|
|
|
@@ -587,4 +663,5 @@
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
+
|
|
|
</mapper>
|