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
653cc0ce
Commit
653cc0ce
authored
May 10, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重算采购单预计到货时间
parent
955be170
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
daily.cs
AutoTurnOver.DB/daily.cs
+1
-1
Program.cs
AutoTurnOver.Purchase.AverageTarget/Program.cs
+1
-1
ReportServices.cs
AutoTurnOver.Services/ReportServices.cs
+5
-0
ShortagePushBackgroundService.cs
ShortagePush/ShortagePushBackgroundService.cs
+1
-1
No files found.
AutoTurnOver.DB/daily.cs
View file @
653cc0ce
...
...
@@ -2272,7 +2272,7 @@ left join dc_lms_order_transfer_current_node as t8 on t1.dataid = t8.data_id and
//刷新采购单理论交期
public
static
void
ResetPurchaseQuantityNotInbound
()
{
var
task_name
=
$"ResetPurchaseQuantityNotInboun_v
1
"
;
var
task_name
=
$"ResetPurchaseQuantityNotInboun_v
2
"
;
var
conn
=
MyMySqlConnection
.
_connection
;
;
// 查询最后一次成功抓取的记录
var
last_task_synchro_log
=
conn
.
QuerySingleOrDefault
<
task_synchro_log
>(
" select * from task_synchro_log where task_name=@task_name and status=1 order by end_time desc limit 1 "
,
new
{
task_name
=
task_name
});
...
...
AutoTurnOver.Purchase.AverageTarget/Program.cs
View file @
653cc0ce
...
...
@@ -32,7 +32,7 @@ namespace AutoTurnOver.Purchase.AverageTarget
//PurchaseAverageTargetServices.SynchroTransferTransportType();
//PurchaseAverageTargetServices.CalculationTransfer(days: (360 * 3), has_transfer: true);
//dc_base_transfer_freight_dao.CalculationSingle("803597202", "MMDUSFBA");
PurchaseAverageTargetServices
.
Calculation
(
days
:
(
360
*
3
));
//
PurchaseAverageTargetServices.Calculation(days: (360 * 3));
}
catch
(
Exception
ex
)
{
...
...
AutoTurnOver.Services/ReportServices.cs
View file @
653cc0ce
...
...
@@ -613,6 +613,11 @@ namespace AutoTurnOver.Services
}
/// <summary>
///
/// </summary>
/// <param name="is_all">是否全量推送 (全量推送只推送缺货的)</param>
/// <param name="is_all_haiwai"></param>
public
void
ShortagePushEbay
(
bool
is_all
=
false
,
bool
is_all_haiwai
=
false
)
{
...
...
ShortagePush/ShortagePushBackgroundService.cs
View file @
653cc0ce
...
...
@@ -48,7 +48,7 @@ namespace ShortagePush
System
.
Console
.
WriteLine
(
$"结束推送 Ebay -增量 改零数据,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
System
.
Console
.
WriteLine
(
$"开始推送 Ebay - 全量 改零数据,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
//
new ReportServices().ShortagePushEbay(true);
new
ReportServices
().
ShortagePushEbay
(
true
);
System
.
Console
.
WriteLine
(
$"结束推送 Ebay - 全量 改零数据,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
System
.
Console
.
WriteLine
(
$"开始推送 Ebay 回货数据,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
...
...
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