添加订单备注
This commit is contained in:
@@ -25,6 +25,7 @@ public class OrderPo {
|
||||
private String outNumber;
|
||||
private String tableName;
|
||||
private List<SkuInfoPo> skuInfos;
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -2,11 +2,15 @@ package com.chaozhanggui.system.cashierservice.entity.po;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class SkuInfoPo {
|
||||
|
||||
private String productName;
|
||||
private String productSkuName;
|
||||
private Integer num;
|
||||
private BigDecimal priceAmount;
|
||||
private BigDecimal packAmount;
|
||||
private String categoryId;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,9 @@
|
||||
GROUP_CONCAT(tod.product_name) AS productName,
|
||||
toi.STATUS,
|
||||
toi.out_number AS outNumber,
|
||||
toi.table_name AS tableName
|
||||
toi.table_name AS tableName,
|
||||
toi.remark
|
||||
|
||||
|
||||
FROM
|
||||
tb_order_info toi
|
||||
@@ -592,7 +594,9 @@ select * from tb_order_info where trade_day = #{day} and table_id = #{masterId}
|
||||
d.product_name AS productName,
|
||||
d.num,
|
||||
d.product_sku_name AS productSkuName,
|
||||
c.category_id AS categoryId
|
||||
c.category_id AS categoryId,
|
||||
d.price_amount as priceAmount,
|
||||
d.pack_amount as packAmount
|
||||
FROM
|
||||
tb_order_detail d
|
||||
LEFT JOIN tb_cashier_cart c ON d.order_id = c.order_id
|
||||
|
||||
Reference in New Issue
Block a user