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
29b1cbb1
Commit
29b1cbb1
authored
Jan 21, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f6dd7268
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
report.cs
AutoTurnOver.DB/report.cs
+3
-3
No files found.
AutoTurnOver.DB/report.cs
View file @
29b1cbb1
...
@@ -3792,7 +3792,7 @@ left join dc_base_transfer_info_skus as t_ps on t_p.`dataid` = t_ps.dataid
...
@@ -3792,7 +3792,7 @@ left join dc_base_transfer_info_skus as t_ps on t_p.`dataid` = t_ps.dataid
left join dc_base_stock as t1 on t1.bailun_sku =t_ps.sku and t1.warehouse_code = t_p.targetwareno
left join dc_base_stock as t1 on t1.bailun_sku =t_ps.sku and t1.warehouse_code = t_p.targetwareno
left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_sku as t3 on t1.bailun_sku =t3.bailun_sku
left join dc_base_sku as t3 on t1.bailun_sku =t3.bailun_sku
where ( t2.hq_type='第三方仓库' ) and t3.buyer_name not in('张莹霞','张莹霞1','黄镜洁','古艳洋1')
where ( t2.hq_type='第三方仓库' ) and t3.buyer_name not in('张莹霞','张莹霞1','黄镜洁','古艳洋1'
,'赵美聪','赵美聪1','赵美聪_独立站','李华娟','甄杰靖','秦振荣'
)
and t_p.`isdeleted`=0 and t_p.creationtime>=@btime and t_p.creationtime<=@etime
and t_p.`isdeleted`=0 and t_p.creationtime>=@btime and t_p.creationtime<=@etime
GROUP BY t_ps.sku ,t_p.targetwareno"
,
new
{
btime
,
etime
,
week_tag
,
eonthFirstDate
},
commandTimeout
:
0
).
ToList
();
GROUP BY t_ps.sku ,t_p.targetwareno"
,
new
{
btime
,
etime
,
week_tag
,
eonthFirstDate
},
commandTimeout
:
0
).
ToList
();
if
(
temp1
!=
null
&&
temp1
.
Count
>=
1
)
if
(
temp1
!=
null
&&
temp1
.
Count
>=
1
)
...
@@ -3821,7 +3821,7 @@ from dc_base_purchase_details as t_p
...
@@ -3821,7 +3821,7 @@ from dc_base_purchase_details as t_p
left join dc_base_stock as t1 on t1.bailun_sku =t_p.bailun_sku and t1.warehouse_code = t_p.warehouse_into_code
left join dc_base_stock as t1 on t1.bailun_sku =t_p.bailun_sku and t1.warehouse_code = t_p.warehouse_into_code
left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_sku as t3 on t1.bailun_sku =t3.bailun_sku
left join dc_base_sku as t3 on t1.bailun_sku =t3.bailun_sku
where ( t2.hq_type='第三方仓库' ) and t3.buyer_name not in('张莹霞','张莹霞1','黄镜洁','古艳洋1')
where ( t2.hq_type='第三方仓库' ) and t3.buyer_name not in('张莹霞','张莹霞1','黄镜洁','古艳洋1'
,'赵美聪','赵美聪1','赵美聪_独立站','李华娟','甄杰靖','秦振荣'
)
and t_p.`status`!=-1 and t_p.create_time>=@btime and t_p.create_time<=@etime
and t_p.`status`!=-1 and t_p.create_time>=@btime and t_p.create_time<=@etime
GROUP BY t_p.bailun_sku ,t_p.warehouse_into_code"
,
new
{
btime
,
etime
,
week_tag
,
eonthFirstDate
},
commandTimeout
:
0
).
ToList
();
GROUP BY t_p.bailun_sku ,t_p.warehouse_into_code"
,
new
{
btime
,
etime
,
week_tag
,
eonthFirstDate
},
commandTimeout
:
0
).
ToList
();
if
(
temp2
!=
null
&&
temp2
.
Count
>=
1
)
if
(
temp2
!=
null
&&
temp2
.
Count
>=
1
)
...
@@ -3850,7 +3850,7 @@ from dc_base_purchase_details as t_p
...
@@ -3850,7 +3850,7 @@ from dc_base_purchase_details as t_p
left join dc_base_stock as t1 on t1.bailun_sku =t_p.bailun_sku and t1.warehouse_code = t_p.warehouse_from_code
left join dc_base_stock as t1 on t1.bailun_sku =t_p.bailun_sku and t1.warehouse_code = t_p.warehouse_from_code
left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code
left join dc_base_sku as t3 on t1.bailun_sku =t3.bailun_sku
left join dc_base_sku as t3 on t1.bailun_sku =t3.bailun_sku
where ( t_p.warehouse_from_code='GZBLWH') and t3.buyer_name not in('张莹霞','张莹霞1','黄镜洁','古艳洋1')
where ( t_p.warehouse_from_code='GZBLWH') and t3.buyer_name not in('张莹霞','张莹霞1','黄镜洁','古艳洋1'
,'赵美聪','赵美聪1','赵美聪_独立站','李华娟','甄杰靖','秦振荣'
)
and t_p.`status`!=-1 and t_p.create_time>=@btime and t_p.create_time<=@etime
and t_p.`status`!=-1 and t_p.create_time>=@btime and t_p.create_time<=@etime
GROUP BY t_p.bailun_sku ,t_p.warehouse_into_code"
,
new
{
btime
,
etime
,
week_tag
,
eonthFirstDate
},
commandTimeout
:
0
).
ToList
();
GROUP BY t_p.bailun_sku ,t_p.warehouse_into_code"
,
new
{
btime
,
etime
,
week_tag
,
eonthFirstDate
},
commandTimeout
:
0
).
ToList
();
if
(
temp3
!=
null
&&
temp3
.
Count
>=
1
)
if
(
temp3
!=
null
&&
temp3
.
Count
>=
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