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
c1be1ac8
Commit
c1be1ac8
authored
Mar 01, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9febe042
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
report.cs
AutoTurnOver.DB/report.cs
+10
-10
Program.cs
AutoTurnOver.Purchase.AverageTarget/Program.cs
+1
-1
No files found.
AutoTurnOver.DB/report.cs
View file @
c1be1ac8
...
@@ -583,16 +583,16 @@ and not exists ( select * from dc_auto_shortage_push_not_config where dc_auto_sh
...
@@ -583,16 +583,16 @@ and not exists ( select * from dc_auto_shortage_push_not_config where dc_auto_sh
// ebay 的 10月新品 +普货全量推
// ebay 的 10月新品 +普货全量推
if
(
platform
==
"ebay"
)
if
(
platform
==
"ebay"
)
{
{
if
(
is_all
)
//
if (is_all)
{
//
{
// 全量推 只推普货
//
// 全量推 只推普货
no_library_sql
+=
" and t3.develop_time>='2020-10-01' and t3.buyer_name not in ('张莹霞','赵美聪','甄杰靖','张莹霞') and t1.warehouse_code in ('GZBLWH') "
;
//
no_library_sql += " and t3.develop_time>='2020-10-01' and t3.buyer_name not in ('张莹霞','赵美聪','甄杰靖','张莹霞') and t1.warehouse_code in ('GZBLWH') ";
}
//
}
else
//
else
{
//
{
// 增量推,那部分数据要剔除
//
// 增量推,那部分数据要剔除
no_library_sql
+=
" and !(t3.develop_time>='2020-10-01' and t3.buyer_name not in ('张莹霞','赵美聪','甄杰靖','张莹霞') and t1.warehouse_code in ('GZBLWH') ) "
;
//
no_library_sql += " and !(t3.develop_time>='2020-10-01' and t3.buyer_name not in ('张莹霞','赵美聪','甄杰靖','张莹霞') and t1.warehouse_code in ('GZBLWH') ) ";
}
//
}
}
}
shortage_list
.
AddRange
(
_connection
.
Query
<
dc_auto_shortage_push
>(
no_library_sql
,
new
{
platform
=
platform
},
commandTimeout
:
0
));
shortage_list
.
AddRange
(
_connection
.
Query
<
dc_auto_shortage_push
>(
no_library_sql
,
new
{
platform
=
platform
},
commandTimeout
:
0
));
...
...
AutoTurnOver.Purchase.AverageTarget/Program.cs
View file @
c1be1ac8
...
@@ -23,7 +23,7 @@ namespace AutoTurnOver.Purchase.AverageTarget
...
@@ -23,7 +23,7 @@ namespace AutoTurnOver.Purchase.AverageTarget
Console
.
WriteLine
(
"采购平均值计算任务启动..."
);
Console
.
WriteLine
(
"采购平均值计算任务启动..."
);
try
try
{
{
report
.
ResetTransExpectArrivaltime
();
//
report.ResetTransExpectArrivaltime();
//PurchaseAverageTargetServices.CalculationTransfer("LM-EO-007", days: (360 * 3));
//PurchaseAverageTargetServices.CalculationTransfer("LM-EO-007", days: (360 * 3));
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
...
...
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