feat: 订单查询返回套餐信息
This commit is contained in:
@@ -31,7 +31,6 @@ public class OrderPo {
|
|||||||
private BigDecimal discountRatio;
|
private BigDecimal discountRatio;
|
||||||
|
|
||||||
private BigDecimal discountAmount;
|
private BigDecimal discountAmount;
|
||||||
private String proGroupInfo;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,4 +14,5 @@ public class SkuInfoPo {
|
|||||||
private BigDecimal packAmount;
|
private BigDecimal packAmount;
|
||||||
private String categoryId;
|
private String categoryId;
|
||||||
private BigDecimal price;
|
private BigDecimal price;
|
||||||
|
private String proGroupInfo;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,8 +80,7 @@
|
|||||||
toi.remark,
|
toi.remark,
|
||||||
toi.master_id as masterId,
|
toi.master_id as masterId,
|
||||||
toi.discount_ratio as discountRatio,
|
toi.discount_ratio as discountRatio,
|
||||||
toi.discount_amount as discountAmount,
|
toi.discount_amount as discountAmount
|
||||||
tod.pro_group_info as proGroupInfo
|
|
||||||
|
|
||||||
|
|
||||||
FROM
|
FROM
|
||||||
@@ -613,7 +612,8 @@ select * from tb_order_info where trade_day = #{day} and table_id = #{masterId}
|
|||||||
c.category_id AS categoryId,
|
c.category_id AS categoryId,
|
||||||
d.price_amount as priceAmount,
|
d.price_amount as priceAmount,
|
||||||
d.pack_amount as packAmount,
|
d.pack_amount as packAmount,
|
||||||
d.price as price
|
d.price as price,
|
||||||
|
d.pro_group_info as proGroupInfo
|
||||||
FROM
|
FROM
|
||||||
tb_order_detail d
|
tb_order_detail d
|
||||||
LEFT JOIN tb_cashier_cart c ON d.order_id = c.order_id
|
LEFT JOIN tb_cashier_cart c ON d.order_id = c.order_id
|
||||||
@@ -633,7 +633,8 @@ select * from tb_order_info where trade_day = #{day} and table_id = #{masterId}
|
|||||||
'' AS categoryId,
|
'' AS categoryId,
|
||||||
d.price_amount as priceAmount,
|
d.price_amount as priceAmount,
|
||||||
d.pack_amount as packAmount,
|
d.pack_amount as packAmount,
|
||||||
d.price as price
|
d.price as price,
|
||||||
|
d.pro_group_info as proGroupInfo
|
||||||
FROM
|
FROM
|
||||||
tb_order_detail d
|
tb_order_detail d
|
||||||
where d.order_id=#{orderId}
|
where d.order_id=#{orderId}
|
||||||
|
|||||||
Reference in New Issue
Block a user