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
2127d84e
Commit
2127d84e
authored
Sep 21, 2026
by
chew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加用户关联
parent
3bdd68bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
19 deletions
+11
-19
src/main/resources/mapper/cargo/outbound/ScanMapper.xml
src/main/resources/mapper/cargo/outbound/ScanMapper.xml
+11
-19
No files found.
src/main/resources/mapper/cargo/outbound/ScanMapper.xml
View file @
2127d84e
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
WHERE h.CUSTOMER_ADDR = #{customerAddr,jdbcType=VARCHAR}
WHERE h.CUSTOMER_ADDR = #{customerAddr,jdbcType=VARCHAR}
AND h.scan_user = #{scanUser, jdbcType=VARCHAR}
--
AND h.scan_user = #{scanUser, jdbcType=VARCHAR}
AND NVL(d.TALLY_QTY, 0)
<![CDATA[ < ]]>
NVL(d.ORDER_QTY, 0)
AND NVL(d.TALLY_QTY, 0)
<![CDATA[ < ]]>
NVL(d.ORDER_QTY, 0)
<if
test=
"orderType != null and orderType != ''"
>
<if
test=
"orderType != null and orderType != ''"
>
...
@@ -97,24 +97,16 @@
...
@@ -97,24 +97,16 @@
AND (NVL(h.TEMPERATURECLASS, '') = ''
AND (NVL(h.TEMPERATURECLASS, '') = ''
OR INSTR(',' || #{temperatureclass, jdbcType=VARCHAR} || ',', ',' || h.TEMPERATURECLASS || ',')
<![CDATA[ > ]]>
0)
OR INSTR(',' || #{temperatureclass, jdbcType=VARCHAR} || ',', ',' || h.TEMPERATURECLASS || ',')
<![CDATA[ > ]]>
0)
</if>
</if>
AND (
AND EXISTS (SELECT 1 FROM TMP_OUTBOUND_SCAN_PERMISSION p
NOT EXISTS (
WHERE 1=1
SELECT 1
<if
test=
"scanUser != null and scanUser != ''"
>
FROM TMP_OUTBOUND_SCAN_PERMISSION p
and p.SCAN_USER= #{scanUser}
WHERE p.SCAN_USER = h.SCAN_USER
</if>
)
AND ( (p.CUSTOMER_CODE IS NOT NULL AND h.CUSTOMERID LIKE p.CUSTOMER_CODE)
OR EXISTS (
OR (p.ORDER_PREFIX IS NOT NULL
SELECT 1
AND (h.ORDER_NO LIKE p.ORDER_PREFIX || '%'
FROM TMP_OUTBOUND_SCAN_PERMISSION p
OR h.CUSTOMER_ORDER_NO LIKE p.ORDER_PREFIX || '%'
WHERE p.SCAN_USER = h.SCAN_USER
OR h.EDI_KEY LIKE p.ORDER_PREFIX || '%') ) ) )
AND (p.CUSTOMER_CODE IS NULL
OR h.CUSTOMER_CODE LIKE p.CUSTOMER_CODE)
AND (p.ORDER_PREFIX IS NULL
OR h.ORDER_NO LIKE p.ORDER_PREFIX || '%'
OR h.CUSTOMER_ORDER_NO LIKE p.ORDER_PREFIX || '%'
OR h.EDI_KEY LIKE p.ORDER_PREFIX || '%')
)
)
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