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
bd057649
Commit
bd057649
authored
Jun 20, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整采购单推送时间
parent
70bc4d0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
GeneratePurchaseAdviseBackgroundService.cs
...PurchaseAdvise/GeneratePurchaseAdviseBackgroundService.cs
+2
-2
ReportsController.cs
AutoTurnOver/Controllers/ReportsController.cs
+3
-3
No files found.
AutoGeneratePurchaseAdvise/GeneratePurchaseAdviseBackgroundService.cs
View file @
bd057649
...
...
@@ -32,14 +32,14 @@ namespace AutoGeneratePurchaseAdvise
}
if
(
now
.
Hour
==
5
&&
now
.
Minute
==
30
)
if
(
now
.
Hour
==
5
&&
now
.
Minute
==
29
)
{
Console
.
WriteLine
(
$"开始推送采购建议任务,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
PurchaseAdviseServices
.
AutoPushBuySys
();
Console
.
WriteLine
(
$"结束推送采购建议任务,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
}
if
(
now
.
Hour
==
17
&&
now
.
Minute
==
30
)
if
(
now
.
Hour
==
17
&&
now
.
Minute
==
29
)
{
Console
.
WriteLine
(
$"开始推送采购建议任务,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
PurchaseAdviseServices
.
AutoPushBuySys
();
...
...
AutoTurnOver/Controllers/ReportsController.cs
View file @
bd057649
...
...
@@ -314,13 +314,13 @@ namespace AutoTurnOver.Controllers
{
DataRow
row
=
table
.
NewRow
();
row
[
"缺货统计时间"
]
=
itemData
.
gmt_out_stock_modified
;
row
[
"缺货统计时间"
]
=
itemData
.
gmt_out_stock_modified
==
null
?
""
:
itemData
.
gmt_out_stock_modified
.
Value
.
ToString
(
"yyyy-MM-dd hh:mm:ss"
)
;
row
[
"平台订单号"
]
=
itemData
.
origin_order_id
;
row
[
"平台类型"
]
=
itemData
.
platform_type
;
row
[
"百伦订单号"
]
=
itemData
.
bailun_order_id
;
row
[
"付款交易号"
]
=
itemData
.
transaction_id
;
row
[
"站点"
]
=
itemData
.
website
;
row
[
"付款时间"
]
=
itemData
.
pay_time
;
row
[
"付款时间"
]
=
itemData
.
pay_time
==
null
?
""
:
itemData
.
pay_time
.
Value
.
ToString
(
"yyyy-MM-dd hh:mm:ss"
)
;
row
[
"销售账号"
]
=
itemData
.
seller_account
;
row
[
"国家"
]
=
itemData
.
receipt_country
;
row
[
"sku"
]
=
itemData
.
bailun_sku
;
...
...
@@ -342,7 +342,7 @@ namespace AutoTurnOver.Controllers
row
[
"销售状态"
]
=
itemData
.
sku_status
;
row
[
"总在途库存数"
]
=
itemData
.
quantity_ontheway
;
row
[
"最先到货采购单"
]
=
itemData
.
min_buy
.
no
;
row
[
"最快到货时间"
]
=
itemData
.
min_buy
.
arrival_date
;
row
[
"最快到货时间"
]
=
itemData
.
min_buy
.
arrival_date
.
ToString
(
"yyyy-MM-dd hh:mm:ss"
)
;
row
[
"采购单供应商"
]
=
itemData
.
min_buy
.
supplier_name
;
row
[
"采购单阿里巴巴单号"
]
=
itemData
.
min_buy
.
alibaba_order_id
;
row
[
"采购单物流单号"
]
=
itemData
.
min_buy
.
logistics_order_id
;
...
...
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