添加订单备注

This commit is contained in:
牛叉闪闪 2024-07-29 10:51:11 +08:00
parent 2caf668e24
commit 03b8dff85b
3 changed files with 11 additions and 2 deletions

View File

@ -25,6 +25,7 @@ public class OrderPo {
private String outNumber;
private String tableName;
private List<SkuInfoPo> skuInfos;
private String remark;
}

View File

@ -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;
}

View File

@ -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