Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
bltdc
dc-java
Commits
e2a72547
Commit
e2a72547
authored
Jul 05, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改调拨单流水在途与调拨计划单在途汇总错误的问题,UNION改为UNION ALL
parent
c50b1b7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
DcMidTransitMapper.xml
...src/main/java/com/bailuntec/mapper/DcMidTransitMapper.xml
+1
-1
No files found.
data-mid/mid-calculate-transit/src/main/java/com/bailuntec/mapper/DcMidTransitMapper.xml
View file @
e2a72547
...
@@ -638,7 +638,7 @@
...
@@ -638,7 +638,7 @@
ON tb5.bailun_sku = tb4.bailun_sku
ON tb5.bailun_sku = tb4.bailun_sku
AND tb5.warehouse_code = tb4.warehouse_code
AND tb5.warehouse_code = tb4.warehouse_code
WHERE (tb5.count - IFNULL(tb4.count, 0)) > 0
WHERE (tb5.count - IFNULL(tb4.count, 0)) > 0
union
UNION ALL
select bailun_sku, warehouse_code, sum(count) AS count
select bailun_sku, warehouse_code, sum(count) AS count
from dc_base_transfer_plan
from dc_base_transfer_plan
where status = 1
where status = 1
...
...
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