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
313dafc0
Commit
313dafc0
authored
Sep 21, 2026
by
chew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加用户关联
parent
e0530246
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
19 deletions
+3
-19
src/main/java/com/ekingwin/tms_app/module/cargo/outbound/controller/ScanController.java
..._app/module/cargo/outbound/controller/ScanController.java
+1
-1
src/main/resources/mapper/cargo/outbound/ScanMapper.xml
src/main/resources/mapper/cargo/outbound/ScanMapper.xml
+2
-18
No files found.
src/main/java/com/ekingwin/tms_app/module/cargo/outbound/controller/ScanController.java
View file @
313dafc0
...
@@ -44,7 +44,7 @@ public class ScanController {
...
@@ -44,7 +44,7 @@ public class ScanController {
}
}
@PostMapping
(
"/manual/update"
)
@PostMapping
(
"/manual/update"
)
public
Result
<
List
<
ManualTallyUpdateResp
>>
manualTallyUpdate
(
@RequestBody
@Valid
List
<
ManualTallyUpdateReq
>
reqList
)
{
public
Result
<
List
<
ManualTallyUpdateResp
>>
manualTallyUpdate
(
@RequestBody
@Valid
List
<
ManualTallyUpdateReq
>
reqList
,
@RequestAttribute
(
"userId"
)
String
userId
)
{
if
(
CollectionUtils
.
isEmpty
(
reqList
))
{
if
(
CollectionUtils
.
isEmpty
(
reqList
))
{
return
Result
.
success
(
Collections
.
emptyList
());
return
Result
.
success
(
Collections
.
emptyList
());
}
}
...
...
src/main/resources/mapper/cargo/outbound/ScanMapper.xml
View file @
313dafc0
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
h.ORDERTYPE AS orderType,
h.ORDERTYPE AS orderType,
h.REFERENCE5 AS reference5,
h.REFERENCE5 AS reference5,
h.TEMPERATURECLASS AS temperatureclass,
h.TEMPERATURECLASS AS temperatureclass,
h.CUSTOMER_ADDR AS
temperatureclass
,
h.CUSTOMER_ADDR AS
customerAddr
,
d.LINE_NO AS lineNo,
d.LINE_NO AS lineNo,
d.ITEM_CODE AS itemCode,
d.ITEM_CODE AS itemCode,
d.ITEM_NAME AS itemName,
d.ITEM_NAME AS itemName,
...
@@ -80,23 +80,6 @@
...
@@ -80,23 +80,6 @@
ON h.ORGANIZATIONID = d.ORGANIZATIONID
ON h.ORGANIZATIONID = d.ORGANIZATIONID
AND h.ORDER_NO = d.ORDER_NO
AND h.ORDER_NO = d.ORDER_NO
WHERE h.CUSTOMER_ADDR = #{customerAddr,jdbcType=VARCHAR}
WHERE h.CUSTOMER_ADDR = #{customerAddr,jdbcType=VARCHAR}
-- AND h.scan_user = #{scanUser, jdbcType=VARCHAR}
AND NVL(d.TALLY_QTY, 0)
<![CDATA[ < ]]>
NVL(d.ORDER_QTY, 0)
<!-- <if test="orderType != null and orderType != ''">-->
<!-- AND (NVL(h.ORDERTYPE, '') = ''-->
<!-- OR INSTR(',' || #{orderType, jdbcType=VARCHAR} || ',', ',' || h.ORDERTYPE || ',') <![CDATA[ > ]]> 0)-->
<!-- </if>-->
<!-- <if test="reference5 != null and reference5 != ''">-->
<!-- AND (NVL(h.REFERENCE5, '') = ''-->
<!-- OR INSTR(',' || #{reference5, jdbcType=VARCHAR} || ',', ',' || h.REFERENCE5 || ',') <![CDATA[ > ]]> 0)-->
<!-- </if>-->
<!-- <if test="temperatureclass != null and temperatureclass != ''">-->
<!-- AND (NVL(h.TEMPERATURECLASS, '') = ''-->
<!-- OR INSTR(',' || #{temperatureclass, jdbcType=VARCHAR} || ',', ',' || h.TEMPERATURECLASS || ',') <![CDATA[ > ]]> 0)-->
<!-- </if>-->
AND EXISTS (SELECT 1 FROM TMP_OUTBOUND_SCAN_PERMISSION p
AND EXISTS (SELECT 1 FROM TMP_OUTBOUND_SCAN_PERMISSION p
WHERE 1=1
WHERE 1=1
<if
test=
"scanUser != null and scanUser != ''"
>
<if
test=
"scanUser != null and scanUser != ''"
>
...
@@ -107,6 +90,7 @@
...
@@ -107,6 +90,7 @@
AND (h.ORDER_NO LIKE p.ORDER_PREFIX || '%'
AND (h.ORDER_NO LIKE p.ORDER_PREFIX || '%'
OR h.CUSTOMER_ORDER_NO LIKE p.ORDER_PREFIX || '%'
OR h.CUSTOMER_ORDER_NO LIKE p.ORDER_PREFIX || '%'
OR h.EDI_KEY LIKE p.ORDER_PREFIX || '%') ) ) )
OR h.EDI_KEY LIKE p.ORDER_PREFIX || '%') ) ) )
AND NVL(d.TALLY_QTY, 0)
<![CDATA[ < ]]>
NVL(d.ORDER_QTY, 0)
ORDER BY h.ORDER_NO, d.LINE_NO
ORDER BY h.ORDER_NO, d.LINE_NO
</select>
</select>
...
...
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