Commit 53431536 authored by zhaoyuan's avatar zhaoyuan

根据客户查询商品列表中新增orderNo字段

parent f76576e6
......@@ -5,6 +5,7 @@ import java.math.BigDecimal;
@Data
public class CustomerProductSummaryVo {
private String orderNo;
private String itemCode; // 商品编码
private String itemName; // 商品名称
private String unit; // 单位
......
......@@ -66,6 +66,7 @@
d.batch_no AS batchNo,
d.line_no AS lineNo,
d.barcode,
h.order_no AS orderNo,
SUM(d.order_qty) AS totalOrderQty, -- 聚合求和
SUM(d.tally_qty) AS totalTallyQty,
COUNT(DISTINCT h.order_no) AS orderCount
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment