|
@@ -29,14 +29,14 @@
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertShopOrder" keyColumn="shopOrderID" keyProperty="shopOrderId"
|
|
<insert id="insertShopOrder" keyColumn="shopOrderID" keyProperty="shopOrderId"
|
|
parameterType="com.caimei365.order.model.po.OrderShopPo" useGeneratedKeys="true">
|
|
parameterType="com.caimei365.order.model.po.OrderShopPo" useGeneratedKeys="true">
|
|
- INSERT INTO cm_shop_order (shopOrderNo, orderID, orderNo, shopID, note, userID, clubID, orderType,
|
|
|
|
|
|
+ INSERT INTO cm_shop_order (onlinePayWays, shopOrderNo, orderID, orderNo, shopID, note, userID, clubID, orderType,
|
|
spID, orderPromotionsId, promotionFullReduction, svipShopReduction, brokerage,
|
|
spID, orderPromotionsId, promotionFullReduction, svipShopReduction, brokerage,
|
|
canRefundAmount, itemCount,
|
|
canRefundAmount, itemCount,
|
|
totalAmount, productAmount, needPayAmount, shopProductAmount, shopPostFee,
|
|
totalAmount, productAmount, needPayAmount, shopProductAmount, shopPostFee,
|
|
shopTaxFee,
|
|
shopTaxFee,
|
|
shouldPayShopAmount, orderTime, orderSubmitType, splitFlag, payStatus,
|
|
shouldPayShopAmount, orderTime, orderSubmitType, splitFlag, payStatus,
|
|
payedShopAmount, splitCode, realPay, eachDiscount, receiptStatus)
|
|
payedShopAmount, splitCode, realPay, eachDiscount, receiptStatus)
|
|
- VALUES (#{shopOrderNo}, #{orderId}, #{orderNo}, #{shopId}, #{note}, #{userId}, #{clubId}, #{orderType},
|
|
|
|
|
|
+ VALUES (#{onlinePayWays}, #{shopOrderNo}, #{orderId}, #{orderNo}, #{shopId}, #{note}, #{userId}, #{clubId}, #{orderType},
|
|
#{spId}, #{orderPromotionsId}, #{promotionFullReduction}, #{svipShopReduction}, #{brokerage},
|
|
#{spId}, #{orderPromotionsId}, #{promotionFullReduction}, #{svipShopReduction}, #{brokerage},
|
|
#{canRefundAmount}, #{itemCount},
|
|
#{canRefundAmount}, #{itemCount},
|
|
#{totalAmount}, #{productAmount}, #{needPayAmount}, #{shopProductAmount}, #{shopPostFee}, #{shopTaxFee},
|
|
#{totalAmount}, #{productAmount}, #{needPayAmount}, #{shopProductAmount}, #{shopPostFee}, #{shopTaxFee},
|