Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TMS_APP
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chew
TMS_APP
Commits
53431536
Commit
53431536
authored
Jul 01, 2026
by
zhaoyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据客户查询商品列表中新增orderNo字段
parent
f76576e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/main/java/com/ekingwin/tms_app/module/cargo/outbound/vo/CustomerProductSummaryVo.java
...pp/module/cargo/outbound/vo/CustomerProductSummaryVo.java
+1
-0
src/main/resources/mapper/cargo/outbound/OutboundOrderHeaderMapper.xml
...urces/mapper/cargo/outbound/OutboundOrderHeaderMapper.xml
+1
-0
No files found.
src/main/java/com/ekingwin/tms_app/module/cargo/outbound/vo/CustomerProductSummaryVo.java
View file @
53431536
...
@@ -5,6 +5,7 @@ import java.math.BigDecimal;
...
@@ -5,6 +5,7 @@ import java.math.BigDecimal;
@Data
@Data
public
class
CustomerProductSummaryVo
{
public
class
CustomerProductSummaryVo
{
private
String
orderNo
;
private
String
itemCode
;
// 商品编码
private
String
itemCode
;
// 商品编码
private
String
itemName
;
// 商品名称
private
String
itemName
;
// 商品名称
private
String
unit
;
// 单位
private
String
unit
;
// 单位
...
...
src/main/resources/mapper/cargo/outbound/OutboundOrderHeaderMapper.xml
View file @
53431536
...
@@ -66,6 +66,7 @@
...
@@ -66,6 +66,7 @@
d.batch_no AS batchNo,
d.batch_no AS batchNo,
d.line_no AS lineNo,
d.line_no AS lineNo,
d.barcode,
d.barcode,
h.order_no AS orderNo,
SUM(d.order_qty) AS totalOrderQty, -- 聚合求和
SUM(d.order_qty) AS totalOrderQty, -- 聚合求和
SUM(d.tally_qty) AS totalTallyQty,
SUM(d.tally_qty) AS totalTallyQty,
COUNT(DISTINCT h.order_no) AS orderCount
COUNT(DISTINCT h.order_no) AS orderCount
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment