Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
06f5c9f7
Commit
06f5c9f7
authored
Sep 10, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品汇总的销量算法跟周转表对其
parent
85aa6434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
report.cs
AutoTurnOver.DB/report.cs
+9
-1
No files found.
AutoTurnOver.DB/report.cs
View file @
06f5c9f7
...
...
@@ -2435,7 +2435,15 @@ left join dc_base_warehouse as tdb on t1.warehouse_code = tdb.warehouse_code whe
tableName
=
"dc_base_oms_sku"
;
}
var
sql
=
$@" select t1.*,t2.label,tdb.warehouse_name from
{
tableName
}
as t1 left join dc_auto_config_sku_label as t2 on t1.bailun_sku = t2.bailun_sku
left join dc_base_warehouse as tdb on t1.warehouse_code = tdb.warehouse_code where 1=1 "
;
left join dc_base_warehouse as tdb on t1.warehouse_code = tdb.warehouse_code where
and tdb.hq_type='第三方仓库'
and t1.bailun_order_status != 'Canceled'
and t1.has_fba_s = 0
and t1.has_delete = 0
and t1.has_scalp = 0
-- and t1.has_buyer_remark = 0
-- and t1.has_platsku_remark = 0
and t1.has_innersale = 0 "
;
DynamicParameters
parameters
=
new
DynamicParameters
();
if
(
search_data
!=
null
)
{
...
...
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