- 订单添加 发货方式
- 配送信息 增加配送方式
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<sql id="FIELDS">
|
||||
id, order_id, order_no, sku_id, sku_name, sku_image, quantity, price, pay_amount,
|
||||
payment_time, delivery_time, receiver_time, closing_time,
|
||||
has_return_exchange, status, create_time, update_time, deleted
|
||||
has_return_exchange, delivery_type, status, create_time, update_time, deleted
|
||||
</sql>
|
||||
|
||||
<!--
|
||||
@@ -15,11 +15,11 @@
|
||||
INSERT INTO `order_item` (
|
||||
order_id, order_no, sku_id, sku_name, sku_image, quantity, price, pay_amount,
|
||||
payment_time, delivery_time, receiver_time, closing_time,
|
||||
has_return_exchange, status, create_time, update_time, deleted
|
||||
has_return_exchange, delivery_type, status, create_time, update_time, deleted
|
||||
) VALUES (
|
||||
#{orderId}, #{orderNo}, #{skuId}, #{quantity}, #{price},
|
||||
#{paymentTime}, #{deliveryTime}, #{receiverTime}, #{closingTime},
|
||||
#{hasReturnExchange}, #{status},
|
||||
#{hasReturnExchange}, #{deliveryType}, #{status},
|
||||
#{createTime}, #{updateTime}, #{deleted}
|
||||
)
|
||||
</insert>
|
||||
@@ -73,6 +73,9 @@
|
||||
<if test="status != null">
|
||||
, status = #{status}
|
||||
</if>
|
||||
<if test="deliveryType != null">
|
||||
, delivery_type = #{deliveryType}
|
||||
</if>
|
||||
<if test="deleted != null">
|
||||
, `deleted` = #{deleted}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user