|
@@ -904,12 +904,13 @@
|
|
select LINE_PATH_LENGTH "linePathLength" from RMS_LINE where LINE_ID = #{lineId}
|
|
select LINE_PATH_LENGTH "linePathLength" from RMS_LINE where LINE_ID = #{lineId}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
- <select id="getPriceValueList" resultType="java.util.LinkedHashMap">
|
|
|
|
|
|
+ <select id="getPriceValueList" resultType="java.util.Map">
|
|
select a_t_price.PRICE_ID "priceId",
|
|
select a_t_price.PRICE_ID "priceId",
|
|
a_t_price.PRICE_VALUE "priceValue",
|
|
a_t_price.PRICE_VALUE "priceValue",
|
|
a_t_price.OILPRICE_BASE "oilpriceBase",
|
|
a_t_price.OILPRICE_BASE "oilpriceBase",
|
|
a_t_price.OILPRICE_CHANGE_THRESHOLD "oilpriceChangeThreshold",
|
|
a_t_price.OILPRICE_CHANGE_THRESHOLD "oilpriceChangeThreshold",
|
|
- a_t_price.CARGONAME_ID "cargonameId"
|
|
|
|
|
|
+ a_t_price.CARGONAME_ID "cargonameId",
|
|
|
|
+ a_t_price.haul_distance "haulDistance"
|
|
from AMS_CONTRACT_TRANSPORT_PRICE a_t_price
|
|
from AMS_CONTRACT_TRANSPORT_PRICE a_t_price
|
|
where a_t_price.OIL_TYPE_ID = #{oilTypeId} and a_t_price.DELETED = 0
|
|
where a_t_price.OIL_TYPE_ID = #{oilTypeId} and a_t_price.DELETED = 0
|
|
</select>
|
|
</select>
|
|
@@ -1092,4 +1093,12 @@
|
|
left join BMSTRUCK_FORMULA bf on t.cargoname_id=bf.formula_id
|
|
left join BMSTRUCK_FORMULA bf on t.cargoname_id=bf.formula_id
|
|
where price_id=#{priceId}
|
|
where price_id=#{priceId}
|
|
</select>
|
|
</select>
|
|
|
|
+
|
|
|
|
+ <update id="updateDCodd">
|
|
|
|
+ update AMS_CONTRACT_TRANSPORT_PRICE set deleted =1 where capacity_type_id in (20,21,22,23,24,25,26,27,28,41,42,40) and deleted =0
|
|
|
|
+ </update>
|
|
|
|
+
|
|
|
|
+ <update id="updateDCnew">
|
|
|
|
+ update AMS_CONTRACT_TRANSPORT_PRICE set deleted =0 where capacity_type_id in (20,21,22,23,24,25,26,27,28,41,42,40) and price_date = to_date('2022-09-26', 'yyyy-mm-dd');
|
|
|
|
+ </update>
|
|
</mapper>
|
|
</mapper>
|