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
531d2a5c
Commit
531d2a5c
authored
Jul 03, 2026
by
chew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整码查询客户信息
parent
49fd917c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
src/main/java/com/ekingwin/tms_app/module/cargo/outbound/controller/OutboundController.java
.../module/cargo/outbound/controller/OutboundController.java
+7
-1
src/main/resources/mapper/cargo/outbound/OutboundOrderHeaderMapper.xml
...urces/mapper/cargo/outbound/OutboundOrderHeaderMapper.xml
+3
-6
No files found.
src/main/java/com/ekingwin/tms_app/module/cargo/outbound/controller/OutboundController.java
View file @
531d2a5c
...
@@ -41,7 +41,7 @@ public class OutboundController {
...
@@ -41,7 +41,7 @@ public class OutboundController {
return
Result
.
success
(
outboundOrderService
.
listOrders
(
req
));
return
Result
.
success
(
outboundOrderService
.
listOrders
(
req
));
}
}
/**
/**
* 订单啊查询
废弃
* 订单啊查询
* @param req
* @param req
* @param userId
* @param userId
* @return
* @return
...
@@ -138,6 +138,12 @@ public class OutboundController {
...
@@ -138,6 +138,12 @@ public class OutboundController {
return
Result
.
success
(
null
);
return
Result
.
success
(
null
);
}
}
/**
* 订单查询
* @param req
* @param userId
* @return
*/
@PostMapping
(
"/orders/pending"
)
@PostMapping
(
"/orders/pending"
)
public
Result
<
IPage
<
OrderWithPendingVo
>>
listOrdersWithPending
(
public
Result
<
IPage
<
OrderWithPendingVo
>>
listOrdersWithPending
(
@RequestBody
@Valid
OrderQueryReq
req
,
@RequestBody
@Valid
OrderQueryReq
req
,
...
...
src/main/resources/mapper/cargo/outbound/OutboundOrderHeaderMapper.xml
View file @
531d2a5c
...
@@ -79,6 +79,7 @@
...
@@ -79,6 +79,7 @@
'DONE',
'DONE',
'已完成',
'已完成',
ol.status) AS status_cn,
ol.status) AS status_cn,
ol.status,
OL.GOODS_DESC,
OL.GOODS_DESC,
OL.FACTORY_NAME
OL.FACTORY_NAME
FROM T_DOC_outbound_scan_DETAIL ol
FROM T_DOC_outbound_scan_DETAIL ol
...
@@ -111,7 +112,6 @@
...
@@ -111,7 +112,6 @@
ROUND(h.tally_lines / NULLIF(h.total_lines, 0) * 100, 1) AS progressPct,
ROUND(h.tally_lines / NULLIF(h.total_lines, 0) * 100, 1) AS progressPct,
h.status,
h.status,
DECODE(h.status, 'PENDING','待理货','TALLYING','理货中','DONE','已完成', h.status) AS statusCn,
DECODE(h.status, 'PENDING','待理货','TALLYING','理货中','DONE','已完成', h.status) AS statusCn,
h.status ,
-- 未理货明细
-- 未理货明细
(SELECT LISTAGG(ol.item_name || '(' || (ol.order_qty - ol.tally_qty) || ')', '; ')
(SELECT LISTAGG(ol.item_name || '(' || (ol.order_qty - ol.tally_qty) || ')', '; ')
WITHIN GROUP (ORDER BY ol.line_no)
WITHIN GROUP (ORDER BY ol.line_no)
...
@@ -151,12 +151,9 @@
...
@@ -151,12 +151,9 @@
</select>
</select>
<select
id=
"queryCustomer"
resultType=
"com.ekingwin.tms_app.module.cargo.vo.CustomerVo"
>
<select
id=
"queryCustomer"
resultType=
"com.ekingwin.tms_app.module.cargo.vo.CustomerVo"
>
SELECT
SELECT
h.customer_
id
AS customerId,
h.customer_
code
AS customerId,
h.customer_name AS customerName,
h.customer_name AS customerName,
h.address_no AS addressNo,
h.CUSTOMER_ADDR AS customerAddr
h.address AS customerAddr,
h.branch_id AS branchId,
h.branch_name AS branchName
FROM T_DOC_outbound_scan_HEADER h
FROM T_DOC_outbound_scan_HEADER h
WHERE h.order_no IN
WHERE h.order_no IN
<foreach
item=
"orderid"
collection=
"orderids"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"orderid"
collection=
"orderids"
open=
"("
separator=
","
close=
")"
>
...
...
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