|
@@ -21,11 +21,11 @@
|
|
|
INSERT INTO cm_shop_order (shopOrderNo, orderID, orderNo, shopID, note, userID, clubID,
|
|
|
spID, orderPromotionsId, promotionFullReduction, brokerage, canRefundAmount, itemCount,
|
|
|
totalAmount, productAmount, needPayAmount, shopProductAmount, shopPostFee, shopTaxFee,
|
|
|
- shouldPayShopAmount, orderTime, orderSubmitType, splitFlag)
|
|
|
+ shouldPayShopAmount, orderTime, orderSubmitType, splitFlag, payStatus, payedShopAmount)
|
|
|
VALUES (#{shopOrderNo},#{orderId},#{orderNo},#{shopId}, #{note},#{userId},#{clubId},
|
|
|
#{spId},#{orderPromotionsId},#{promotionFullReduction},#{brokerage},#{canRefundAmount},#{itemCount},
|
|
|
#{totalAmount},#{productAmount},#{needPayAmount},#{shopProductAmount},#{shopPostFee},#{shopTaxFee},
|
|
|
- #{shouldPayShopAmount},#{orderTime},#{orderSubmitType},#{splitFlag})
|
|
|
+ #{shouldPayShopAmount},#{orderTime},#{orderSubmitType},#{splitFlag},#{payStatus},#{payedShopAmount})
|
|
|
</insert>
|
|
|
<insert id="insertOrderProduct" keyColumn="orderProductID" keyProperty="orderProductId" parameterType="com.caimei365.order.model.po.OrderProductPo" useGeneratedKeys="true">
|
|
|
INSERT INTO cm_order_product (orderID, orderNo, shopOrderID, shopOrderNo, orderPromotionsId, productId, shopId, name,
|