|
@@ -6,8 +6,8 @@
|
|
|
<result column="SHIPPER_ID" jdbcType="DECIMAL" property="shipperId" />
|
|
|
<result column="CARRIER_ID" jdbcType="DECIMAL" property="carrierId" />
|
|
|
<result column="LINE_ID" jdbcType="DECIMAL" property="lineId" />
|
|
|
- <result column="CAPACITY_ID" jdbcType="DECIMAL" property="capacityId" />
|
|
|
- <result column="MATERIAL_ID" jdbcType="CHAR" property="materialId" />
|
|
|
+ <result column="CAPACITY_TYPE_ID" jdbcType="DECIMAL" property="capacityTypeId" />
|
|
|
+ <result column="CARGONAME_ID" jdbcType="CHAR" property="cargonameId" />
|
|
|
<result column="PRICE_TON_KILOMETER" jdbcType="DECIMAL" property="priceTonKilometer" />
|
|
|
<result column="PRICE_VALUE" jdbcType="DECIMAL" property="priceValue" />
|
|
|
<result column="PRICE_DATE" jdbcType="TIMESTAMP" property="priceDate" />
|
|
@@ -20,17 +20,21 @@
|
|
|
<result column="ADDRESS_ID" jdbcType="DECIMAL" property="addressId" />
|
|
|
<result column="TYPE" jdbcType="DECIMAL" property="type" />
|
|
|
<result column="DEPARTMENT" jdbcType="DECIMAL" property="department" />
|
|
|
+ <result column="OILPRICE_BASE" jdbcType="DECIMAL" property="oilpriceBase" />
|
|
|
+ <result column="OIL_TYPE_ID" jdbcType="DECIMAL" property="oilTypeId" />
|
|
|
+ <result column="OILPRICE_CHANGE_THRESHOLD" jdbcType="DECIMAL" property="oilpriceChangeThreshold" />
|
|
|
</resultMap>
|
|
|
<sql id="columns">
|
|
|
- PRICE_ID, SHIPPER_ID, CARRIER_ID, LINE_ID, CAPACITY_ID, MATERIAL_ID, PRICE_TON_KILOMETER,
|
|
|
+ PRICE_ID, SHIPPER_ID, CARRIER_ID, LINE_ID, CAPACITY_TYPE_ID, CARGONAME_ID, PRICE_TON_KILOMETER,
|
|
|
PRICE_VALUE, PRICE_DATE, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME,
|
|
|
- INSERT_UPDATE_REMARK, DELETED, ADDRESS_ID, TYPE, DEPARTMENT
|
|
|
+ INSERT_UPDATE_REMARK, DELETED, ADDRESS_ID, TYPE, DEPARTMENT, OILPRICE_BASE, OIL_TYPE_ID,
|
|
|
+ OILPRICE_CHANGE_THRESHOLD
|
|
|
</sql>
|
|
|
<sql id="columns_alias">
|
|
|
- t.PRICE_ID, t.SHIPPER_ID, t.CARRIER_ID, t.LINE_ID, t.CAPACITY_ID, t.MATERIAL_ID,
|
|
|
+ t.PRICE_ID, t.SHIPPER_ID, t.CARRIER_ID, t.LINE_ID, t.CAPACITY_TYPE_ID, t.CARGONAME_ID,
|
|
|
t.PRICE_TON_KILOMETER, t.PRICE_VALUE, t.PRICE_DATE, t.INSERT_USERNAME, t.INSERT_TIME,
|
|
|
t.UPDATE_USERNAME, t.UPDATE_TIME, t.INSERT_UPDATE_REMARK, t.DELETED, t.ADDRESS_ID,
|
|
|
- t.TYPE, t.DEPARTMENT
|
|
|
+ t.TYPE, t.DEPARTMENT, t.OILPRICE_BASE, t.OIL_TYPE_ID, t.OILPRICE_CHANGE_THRESHOLD
|
|
|
</sql>
|
|
|
<sql id="select">
|
|
|
SELECT <include refid="columns" /> FROM AMS_CONTRACT_TRANSPORT_PRICE
|
|
@@ -52,11 +56,11 @@
|
|
|
<if test="lineId != null">
|
|
|
and LINE_ID = #{lineId}
|
|
|
</if>
|
|
|
- <if test="capacityId != null">
|
|
|
- and CAPACITY_ID = #{capacityId}
|
|
|
+ <if test="capacityTypeId != null">
|
|
|
+ and CAPACITY_TYPE_ID = #{capacityTypeId}
|
|
|
</if>
|
|
|
- <if test="materialId != null">
|
|
|
- and MATERIAL_ID = #{materialId}
|
|
|
+ <if test="cargonameId != null">
|
|
|
+ and CARGONAME_ID = #{cargonameId}
|
|
|
</if>
|
|
|
<if test="priceTonKilometer != null">
|
|
|
and PRICE_TON_KILOMETER = #{priceTonKilometer}
|
|
@@ -94,6 +98,15 @@
|
|
|
<if test="department != null">
|
|
|
and DEPARTMENT = #{department}
|
|
|
</if>
|
|
|
+ <if test="oilpriceBase != null">
|
|
|
+ and OILPRICE_BASE = #{oilpriceBase}
|
|
|
+ </if>
|
|
|
+ <if test="oilTypeId != null">
|
|
|
+ and OIL_TYPE_ID = #{oilTypeId}
|
|
|
+ </if>
|
|
|
+ <if test="oilpriceChangeThreshold != null">
|
|
|
+ and OILPRICE_CHANGE_THRESHOLD = #{oilpriceChangeThreshold}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="whereLike">
|
|
@@ -110,11 +123,11 @@
|
|
|
<if test="lineId != null">
|
|
|
and LINE_ID = #{lineId}
|
|
|
</if>
|
|
|
- <if test="capacityId != null">
|
|
|
- and CAPACITY_ID = #{capacityId}
|
|
|
+ <if test="capacityTypeId != null">
|
|
|
+ and CAPACITY_TYPE_ID = #{capacityTypeId}
|
|
|
</if>
|
|
|
- <if test="materialId != null">
|
|
|
- and MATERIAL_ID = #{materialId}
|
|
|
+ <if test="cargonameId != null">
|
|
|
+ and CARGONAME_ID = #{cargonameId}
|
|
|
</if>
|
|
|
<if test="priceTonKilometer != null">
|
|
|
and PRICE_TON_KILOMETER = #{priceTonKilometer}
|
|
@@ -152,9 +165,18 @@
|
|
|
<if test="department != null">
|
|
|
and DEPARTMENT = #{department}
|
|
|
</if>
|
|
|
+ <if test="oilpriceBase != null">
|
|
|
+ and OILPRICE_BASE = #{oilpriceBase}
|
|
|
+ </if>
|
|
|
+ <if test="oilTypeId != null">
|
|
|
+ and OIL_TYPE_ID = #{oilTypeId}
|
|
|
+ </if>
|
|
|
+ <if test="oilpriceChangeThreshold != null">
|
|
|
+ and OILPRICE_CHANGE_THRESHOLD = #{oilpriceChangeThreshold}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
|
|
|
delete from AMS_CONTRACT_TRANSPORT_PRICE
|
|
|
where PRICE_ID = #{priceId,jdbcType=DECIMAL}
|
|
|
</delete>
|
|
@@ -170,11 +192,11 @@
|
|
|
<if test="lineId != null">
|
|
|
or LINE_ID = #{lineId}
|
|
|
</if>
|
|
|
- <if test="capacityId != null">
|
|
|
- or CAPACITY_ID = #{capacityId}
|
|
|
+ <if test="capacityTypeId != null">
|
|
|
+ or CAPACITY_TYPE_ID = #{capacityTypeId}
|
|
|
</if>
|
|
|
- <if test="materialId != null">
|
|
|
- or MATERIAL_ID = #{materialId}
|
|
|
+ <if test="cargonameId != null">
|
|
|
+ or CARGONAME_ID = #{cargonameId}
|
|
|
</if>
|
|
|
<if test="priceTonKilometer != null">
|
|
|
or PRICE_TON_KILOMETER = #{priceTonKilometer}
|
|
@@ -212,21 +234,32 @@
|
|
|
<if test="department != null">
|
|
|
or DEPARTMENT = #{department}
|
|
|
</if>
|
|
|
+ <if test="oilpriceBase != null">
|
|
|
+ or OILPRICE_BASE = #{oilpriceBase}
|
|
|
+ </if>
|
|
|
+ <if test="oilTypeId != null">
|
|
|
+ or OIL_TYPE_ID = #{oilTypeId}
|
|
|
+ </if>
|
|
|
+ <if test="oilpriceChangeThreshold != null">
|
|
|
+ or OILPRICE_CHANGE_THRESHOLD = #{oilpriceChangeThreshold}
|
|
|
+ </if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.steerinfo.dil.model.AmsContractTransportPrice">
|
|
|
insert into AMS_CONTRACT_TRANSPORT_PRICE (PRICE_ID, SHIPPER_ID, CARRIER_ID,
|
|
|
- LINE_ID, CAPACITY_ID, MATERIAL_ID,
|
|
|
+ LINE_ID, CAPACITY_TYPE_ID, CARGONAME_ID,
|
|
|
PRICE_TON_KILOMETER, PRICE_VALUE, PRICE_DATE,
|
|
|
INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME,
|
|
|
UPDATE_TIME, INSERT_UPDATE_REMARK, DELETED,
|
|
|
- ADDRESS_ID, TYPE, DEPARTMENT
|
|
|
+ ADDRESS_ID, TYPE, DEPARTMENT,
|
|
|
+ OILPRICE_BASE, OIL_TYPE_ID, OILPRICE_CHANGE_THRESHOLD
|
|
|
)
|
|
|
values (#{priceId,jdbcType=DECIMAL}, #{shipperId,jdbcType=DECIMAL}, #{carrierId,jdbcType=DECIMAL},
|
|
|
- #{lineId,jdbcType=DECIMAL}, #{capacityId,jdbcType=DECIMAL}, #{materialId,jdbcType=CHAR},
|
|
|
+ #{lineId,jdbcType=DECIMAL}, #{capacityTypeId,jdbcType=DECIMAL}, #{cargonameId,jdbcType=CHAR},
|
|
|
#{priceTonKilometer,jdbcType=DECIMAL}, #{priceValue,jdbcType=DECIMAL}, #{priceDate,jdbcType=TIMESTAMP},
|
|
|
#{insertUsername,jdbcType=VARCHAR}, #{insertTime,jdbcType=TIMESTAMP}, #{updateUsername,jdbcType=VARCHAR},
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{insertUpdateRemark,jdbcType=VARCHAR}, #{deleted,jdbcType=DECIMAL},
|
|
|
- #{addressId,jdbcType=DECIMAL}, #{type,jdbcType=DECIMAL}, #{department,jdbcType=DECIMAL}
|
|
|
+ #{addressId,jdbcType=DECIMAL}, #{type,jdbcType=DECIMAL}, #{department,jdbcType=DECIMAL},
|
|
|
+ #{oilpriceBase,jdbcType=DECIMAL}, #{oilTypeId,jdbcType=DECIMAL}, #{oilpriceChangeThreshold,jdbcType=DECIMAL}
|
|
|
)
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.steerinfo.dil.model.AmsContractTransportPrice">
|
|
@@ -244,11 +277,11 @@
|
|
|
<if test="lineId != null">
|
|
|
LINE_ID,
|
|
|
</if>
|
|
|
- <if test="capacityId != null">
|
|
|
- CAPACITY_ID,
|
|
|
+ <if test="capacityTypeId != null">
|
|
|
+ CAPACITY_TYPE_ID,
|
|
|
</if>
|
|
|
- <if test="materialId != null">
|
|
|
- MATERIAL_ID,
|
|
|
+ <if test="cargonameId != null">
|
|
|
+ CARGONAME_ID,
|
|
|
</if>
|
|
|
<if test="priceTonKilometer != null">
|
|
|
PRICE_TON_KILOMETER,
|
|
@@ -286,6 +319,15 @@
|
|
|
<if test="department != null">
|
|
|
DEPARTMENT,
|
|
|
</if>
|
|
|
+ <if test="oilpriceBase != null">
|
|
|
+ OILPRICE_BASE,
|
|
|
+ </if>
|
|
|
+ <if test="oilTypeId != null">
|
|
|
+ OIL_TYPE_ID,
|
|
|
+ </if>
|
|
|
+ <if test="oilpriceChangeThreshold != null">
|
|
|
+ OILPRICE_CHANGE_THRESHOLD,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="priceId != null">
|
|
@@ -300,11 +342,11 @@
|
|
|
<if test="lineId != null">
|
|
|
#{lineId,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="capacityId != null">
|
|
|
- #{capacityId,jdbcType=DECIMAL},
|
|
|
+ <if test="capacityTypeId != null">
|
|
|
+ #{capacityTypeId,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="materialId != null">
|
|
|
- #{materialId,jdbcType=CHAR},
|
|
|
+ <if test="cargonameId != null">
|
|
|
+ #{cargonameId,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="priceTonKilometer != null">
|
|
|
#{priceTonKilometer,jdbcType=DECIMAL},
|
|
@@ -342,6 +384,15 @@
|
|
|
<if test="department != null">
|
|
|
#{department,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
+ <if test="oilpriceBase != null">
|
|
|
+ #{oilpriceBase,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="oilTypeId != null">
|
|
|
+ #{oilTypeId,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="oilpriceChangeThreshold != null">
|
|
|
+ #{oilpriceChangeThreshold,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.AmsContractTransportPrice">
|
|
@@ -349,8 +400,8 @@
|
|
|
set SHIPPER_ID = #{shipperId,jdbcType=DECIMAL},
|
|
|
CARRIER_ID = #{carrierId,jdbcType=DECIMAL},
|
|
|
LINE_ID = #{lineId,jdbcType=DECIMAL},
|
|
|
- CAPACITY_ID = #{capacityId,jdbcType=DECIMAL},
|
|
|
- MATERIAL_ID = #{materialId,jdbcType=CHAR},
|
|
|
+ CAPACITY_TYPE_ID = #{capacityTypeId,jdbcType=DECIMAL},
|
|
|
+ CARGONAME_ID = #{cargonameId,jdbcType=CHAR},
|
|
|
PRICE_TON_KILOMETER = #{priceTonKilometer,jdbcType=DECIMAL},
|
|
|
PRICE_VALUE = #{priceValue,jdbcType=DECIMAL},
|
|
|
PRICE_DATE = #{priceDate,jdbcType=TIMESTAMP},
|
|
@@ -362,7 +413,10 @@
|
|
|
DELETED = #{deleted,jdbcType=DECIMAL},
|
|
|
ADDRESS_ID = #{addressId,jdbcType=DECIMAL},
|
|
|
TYPE = #{type,jdbcType=DECIMAL},
|
|
|
- DEPARTMENT = #{department,jdbcType=DECIMAL}
|
|
|
+ DEPARTMENT = #{department,jdbcType=DECIMAL},
|
|
|
+ OILPRICE_BASE = #{oilpriceBase,jdbcType=DECIMAL},
|
|
|
+ OIL_TYPE_ID = #{oilTypeId,jdbcType=DECIMAL},
|
|
|
+ OILPRICE_CHANGE_THRESHOLD = #{oilpriceChangeThreshold,jdbcType=DECIMAL}
|
|
|
where PRICE_ID = #{priceId,jdbcType=DECIMAL}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.AmsContractTransportPrice">
|
|
@@ -377,11 +431,11 @@
|
|
|
<if test="lineId != null">
|
|
|
LINE_ID = #{lineId,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="capacityId != null">
|
|
|
- CAPACITY_ID = #{capacityId,jdbcType=DECIMAL},
|
|
|
+ <if test="capacityTypeId != null">
|
|
|
+ CAPACITY_TYPE_ID = #{capacityTypeId,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="materialId != null">
|
|
|
- MATERIAL_ID = #{materialId,jdbcType=CHAR},
|
|
|
+ <if test="cargonameId != null">
|
|
|
+ CARGONAME_ID = #{cargonameId,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="priceTonKilometer != null">
|
|
|
PRICE_TON_KILOMETER = #{priceTonKilometer,jdbcType=DECIMAL},
|
|
@@ -419,10 +473,19 @@
|
|
|
<if test="department != null">
|
|
|
DEPARTMENT = #{department,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
+ <if test="oilpriceBase != null">
|
|
|
+ OILPRICE_BASE = #{oilpriceBase,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="oilTypeId != null">
|
|
|
+ OIL_TYPE_ID = #{oilTypeId,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="oilpriceChangeThreshold != null">
|
|
|
+ OILPRICE_CHANGE_THRESHOLD = #{oilpriceChangeThreshold,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where PRICE_ID = #{priceId,jdbcType=DECIMAL}
|
|
|
</update>
|
|
|
- <select id="selectByPrimaryKey" parameterType="java.lang.Short" resultMap="BaseResultMap">
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
|
|
|
<include refid="select" />
|
|
|
where PRICE_ID = #{priceId,jdbcType=DECIMAL}
|
|
|
</select>
|
|
@@ -438,22 +501,24 @@
|
|
|
insert into AMS_CONTRACT_TRANSPORT_PRICE
|
|
|
(PRICE_ID,
|
|
|
SHIPPER_ID, CARRIER_ID, LINE_ID,
|
|
|
- CAPACITY_ID, MATERIAL_ID, PRICE_TON_KILOMETER,
|
|
|
+ CAPACITY_TYPE_ID, CARGONAME_ID, PRICE_TON_KILOMETER,
|
|
|
PRICE_VALUE, PRICE_DATE, INSERT_USERNAME,
|
|
|
INSERT_TIME, UPDATE_USERNAME,
|
|
|
UPDATE_TIME, INSERT_UPDATE_REMARK,
|
|
|
DELETED, ADDRESS_ID, TYPE,
|
|
|
- DEPARTMENT)
|
|
|
+ DEPARTMENT, OILPRICE_BASE, OIL_TYPE_ID,
|
|
|
+ OILPRICE_CHANGE_THRESHOLD)
|
|
|
( <foreach collection="list" item="item" separator="union all">
|
|
|
select
|
|
|
#{item.priceId,jdbcType=DECIMAL},
|
|
|
#{item.shipperId,jdbcType=DECIMAL}, #{item.carrierId,jdbcType=DECIMAL}, #{item.lineId,jdbcType=DECIMAL},
|
|
|
- #{item.capacityId,jdbcType=DECIMAL}, #{item.materialId,jdbcType=CHAR}, #{item.priceTonKilometer,jdbcType=DECIMAL},
|
|
|
+ #{item.capacityTypeId,jdbcType=DECIMAL}, #{item.cargonameId,jdbcType=CHAR}, #{item.priceTonKilometer,jdbcType=DECIMAL},
|
|
|
#{item.priceValue,jdbcType=DECIMAL}, #{item.priceDate,jdbcType=TIMESTAMP}, #{item.insertUsername,jdbcType=VARCHAR},
|
|
|
#{item.insertTime,jdbcType=TIMESTAMP}, #{item.updateUsername,jdbcType=VARCHAR},
|
|
|
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.insertUpdateRemark,jdbcType=VARCHAR},
|
|
|
#{item.deleted,jdbcType=DECIMAL}, #{item.addressId,jdbcType=DECIMAL}, #{item.type,jdbcType=DECIMAL},
|
|
|
- #{item.department,jdbcType=DECIMAL} from dual
|
|
|
+ #{item.department,jdbcType=DECIMAL}, #{item.oilpriceBase,jdbcType=DECIMAL}, #{item.oilTypeId,jdbcType=DECIMAL},
|
|
|
+ #{item.oilpriceChangeThreshold,jdbcType=DECIMAL} from dual
|
|
|
</foreach> )
|
|
|
</insert>
|
|
|
<update id="batchUpdate" parameterType="java.util.List">
|
|
@@ -475,13 +540,13 @@
|
|
|
<foreach close="end" collection="list" index="index" item="item" open="case PRICE_ID" separator=" ">
|
|
|
when #{item.priceId,jdbcType=DECIMAL} then #{item.lineId,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
|
- ,CAPACITY_ID=
|
|
|
+ ,CAPACITY_TYPE_ID=
|
|
|
<foreach close="end" collection="list" index="index" item="item" open="case PRICE_ID" separator=" ">
|
|
|
- when #{item.priceId,jdbcType=DECIMAL} then #{item.capacityId,jdbcType=DECIMAL}
|
|
|
+ when #{item.priceId,jdbcType=DECIMAL} then #{item.capacityTypeId,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
|
- ,MATERIAL_ID=
|
|
|
+ ,CARGONAME_ID=
|
|
|
<foreach close="end" collection="list" index="index" item="item" open="case PRICE_ID" separator=" ">
|
|
|
- when #{item.priceId,jdbcType=DECIMAL} then #{item.materialId,jdbcType=CHAR}
|
|
|
+ when #{item.priceId,jdbcType=DECIMAL} then #{item.cargonameId,jdbcType=CHAR}
|
|
|
</foreach>
|
|
|
,PRICE_TON_KILOMETER=
|
|
|
<foreach close="end" collection="list" index="index" item="item" open="case PRICE_ID" separator=" ">
|
|
@@ -531,6 +596,18 @@
|
|
|
<foreach close="end" collection="list" index="index" item="item" open="case PRICE_ID" separator=" ">
|
|
|
when #{item.priceId,jdbcType=DECIMAL} then #{item.department,jdbcType=DECIMAL}
|
|
|
</foreach>
|
|
|
+ ,OILPRICE_BASE=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PRICE_ID" separator=" ">
|
|
|
+ when #{item.priceId,jdbcType=DECIMAL} then #{item.oilpriceBase,jdbcType=DECIMAL}
|
|
|
+ </foreach>
|
|
|
+ ,OIL_TYPE_ID=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PRICE_ID" separator=" ">
|
|
|
+ when #{item.priceId,jdbcType=DECIMAL} then #{item.oilTypeId,jdbcType=DECIMAL}
|
|
|
+ </foreach>
|
|
|
+ ,OILPRICE_CHANGE_THRESHOLD=
|
|
|
+ <foreach close="end" collection="list" index="index" item="item" open="case PRICE_ID" separator=" ">
|
|
|
+ when #{item.priceId,jdbcType=DECIMAL} then #{item.oilpriceChangeThreshold,jdbcType=DECIMAL}
|
|
|
+ </foreach>
|
|
|
where PRICE_ID in
|
|
|
<foreach close=")" collection="list" index="index" item="item" open="(" separator=",">
|
|
|
#{item.priceId,jdbcType=DECIMAL}
|
|
@@ -545,6 +622,7 @@
|
|
|
</delete>
|
|
|
<!-- 友情提示!!!-->
|
|
|
<!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
|
|
|
+
|
|
|
<select id="selectMaxId" resultType="DECIMAL">
|
|
|
SELECT MAX(PRICE_ID) + 1
|
|
|
FROM AMS_CONTRACT_TRANSPORT_PRICE
|