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
huluobin
dc-java
Commits
69eb817a
Commit
69eb817a
authored
Feb 25, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 更新
parent
e9d7c0d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
DcBaseStockMapper.xml
.../src/main/java/com/bailuntec/mapper/DcBaseStockMapper.xml
+8
-4
No files found.
data-common/src/main/java/com/bailuntec/mapper/DcBaseStockMapper.xml
View file @
69eb817a
...
@@ -1473,7 +1473,8 @@
...
@@ -1473,7 +1473,8 @@
select t1.*
select t1.*
from dc_base_stock t1
from dc_base_stock t1
left join dc_base_warehouse t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_warehouse t2 on t1.warehouse_code = t2.warehouse_code
where t2.hq_type != '国内仓'
left join dc_auto_config_sku_warehouse t3 on t1.bailun_sku = t3.bailun_sku and t1.warehouse_code = t3.warehouse_code
where t2.hq_type != '国内仓' and (t3.`status`=0 or t3.`status` is null)
and t1.id % #{shardingContext.shardingTotalCount} = #{shardingContext.shardingItem}
and t1.id % #{shardingContext.shardingTotalCount} = #{shardingContext.shardingItem}
limit #{pageStart}, #{pageOffset}
limit #{pageStart}, #{pageOffset}
</select>
</select>
...
@@ -1482,7 +1483,8 @@
...
@@ -1482,7 +1483,8 @@
select t1.*
select t1.*
from dc_base_stock t1
from dc_base_stock t1
left join dc_base_warehouse t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_warehouse t2 on t1.warehouse_code = t2.warehouse_code
where t2.hq_type != '国内仓'
left join dc_auto_config_sku_warehouse t3 on t1.bailun_sku = t3.bailun_sku and t1.warehouse_code = t3.warehouse_code
where t2.hq_type != '国内仓' and (t3.`status`=0 or t3.`status` is null)
and t1.id % #{shardingContext.shardingTotalCount} = #{shardingContext.shardingItem}
and t1.id % #{shardingContext.shardingTotalCount} = #{shardingContext.shardingItem}
limit #{pageStart}, #{pageOffset}
limit #{pageStart}, #{pageOffset}
</select>
</select>
...
@@ -1491,7 +1493,8 @@
...
@@ -1491,7 +1493,8 @@
select count(t1.id)
select count(t1.id)
from dc_base_stock t1
from dc_base_stock t1
left join dc_base_warehouse t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_warehouse t2 on t1.warehouse_code = t2.warehouse_code
where t2.hq_type != '国内仓'
left join dc_auto_config_sku_warehouse t3 on t1.bailun_sku = t3.bailun_sku and t1.warehouse_code = t3.warehouse_code
where t2.hq_type != '国内仓' and (t3.`status`=0 or t3.`status` is null)
and t1.id % #{shardingContext.shardingTotalCount} = #{shardingContext.shardingItem}
and t1.id % #{shardingContext.shardingTotalCount} = #{shardingContext.shardingItem}
</select>
</select>
...
@@ -1499,7 +1502,8 @@
...
@@ -1499,7 +1502,8 @@
select count(t1.id)
select count(t1.id)
from dc_base_stock t1
from dc_base_stock t1
left join dc_base_warehouse t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_warehouse t2 on t1.warehouse_code = t2.warehouse_code
where t2.hq_type != '国内仓'
left join dc_auto_config_sku_warehouse t3 on t1.bailun_sku = t3.bailun_sku and t1.warehouse_code = t3.warehouse_code
where t2.hq_type != '国内仓' and (t3.`status`=0 or t3.`status` is null)
and t1.id % #{shardingContext.shardingTotalCount} = #{shardingContext.shardingItem}
and t1.id % #{shardingContext.shardingTotalCount} = #{shardingContext.shardingItem}
</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