|
@@ -74,9 +74,9 @@
|
|
|
<insert id="insertOrderPromotions" keyColumn="id" keyProperty="id"
|
|
|
parameterType="com.caimei365.order.model.vo.PromotionsVo" useGeneratedKeys="true">
|
|
|
INSERT INTO cm_promotions_order (orderId, promotionsId, name, description, type, mode, touchPrice, reducedPrice,
|
|
|
- status, beginTime, endTime)
|
|
|
- VALUES (#{orderId}, #{id}, #{name}, #{description}, #{type}, #{mode}, #{touchPrice}, #{reducedPrice}, #{status},
|
|
|
- #{beginTime}, #{endTime})
|
|
|
+ discount,status, beginTime, endTime)
|
|
|
+ VALUES (#{orderId}, #{id}, #{name}, #{description}, #{type}, #{mode}, #{touchPrice}, #{reducedPrice}, #{discount},
|
|
|
+ #{status}, #{beginTime}, #{endTime})
|
|
|
</insert>
|
|
|
<insert id="insertLadderPrices" keyColumn="id" keyProperty="id"
|
|
|
parameterType="com.caimei365.order.model.vo.LadderPriceVo" useGeneratedKeys="true">
|