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
347b5dac
Commit
347b5dac
authored
Mar 11, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改采购建议循环方案
parent
831ee052
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
GeneratePurchaseAdviseBackgroundService.cs
...PurchaseAdvise/GeneratePurchaseAdviseBackgroundService.cs
+1
-1
Program.cs
AutoGeneratePurchaseAdvise/Program.cs
+2
-2
AutoTurnOver.sln
AutoTurnOver.sln
+0
-6
No files found.
AutoGeneratePurchaseAdvise/GeneratePurchaseAdviseBackgroundService.cs
View file @
347b5dac
...
@@ -14,7 +14,7 @@ namespace AutoGeneratePurchaseAdvise
...
@@ -14,7 +14,7 @@ namespace AutoGeneratePurchaseAdvise
protected
override
Task
ExecuteAsync
(
CancellationToken
stoppingToken
)
protected
override
Task
ExecuteAsync
(
CancellationToken
stoppingToken
)
{
{
_timer
=
new
Timer
(
DoWork
,
null
,
TimeSpan
.
Zero
,
TimeSpan
.
FromHours
(
1
));
_timer
=
new
Timer
(
DoWork
,
null
,
TimeSpan
.
Zero
,
TimeSpan
.
FromHours
(
24
));
return
Task
.
CompletedTask
;
return
Task
.
CompletedTask
;
}
}
...
...
AutoGeneratePurchaseAdvise/Program.cs
View file @
347b5dac
...
@@ -10,9 +10,9 @@ namespace AutoGeneratePurchaseAdvise
...
@@ -10,9 +10,9 @@ namespace AutoGeneratePurchaseAdvise
{
{
static
async
Task
Main
(
string
[]
args
)
static
async
Task
Main
(
string
[]
args
)
{
{
Console
.
WriteLine
(
"采购
平均值
计算任务启动..."
);
Console
.
WriteLine
(
"采购
建议
计算任务启动..."
);
// 创建采购计划
// 创建采购计划
PurchaseAdviseServices
.
Generate
();
//
PurchaseAdviseServices.Generate();
var
builder
=
new
HostBuilder
().
ConfigureServices
((
hostContext
,
services
)
=>
var
builder
=
new
HostBuilder
().
ConfigureServices
((
hostContext
,
services
)
=>
{
{
...
...
AutoTurnOver.sln
View file @
347b5dac
...
@@ -21,8 +21,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "test", "test\test.csproj",
...
@@ -21,8 +21,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "test", "test\test.csproj",
EndProject
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoGeneratePurchaseAdvise", "AutoGeneratePurchaseAdvise\AutoGeneratePurchaseAdvise.csproj", "{350405A0-13DF-4F20-8B3F-0AB923BE9DFF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoGeneratePurchaseAdvise", "AutoGeneratePurchaseAdvise\AutoGeneratePurchaseAdvise.csproj", "{350405A0-13DF-4F20-8B3F-0AB923BE9DFF}"
EndProject
EndProject
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{23B3C567-1F02-4954-B621-26490D75F0FC}"
EndProject
Global
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Any CPU = Debug|Any CPU
...
@@ -61,10 +59,6 @@ Global
...
@@ -61,10 +59,6 @@ Global
{350405A0-13DF-4F20-8B3F-0AB923BE9DFF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{350405A0-13DF-4F20-8B3F-0AB923BE9DFF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{350405A0-13DF-4F20-8B3F-0AB923BE9DFF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{350405A0-13DF-4F20-8B3F-0AB923BE9DFF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{350405A0-13DF-4F20-8B3F-0AB923BE9DFF}.Release|Any CPU.Build.0 = Release|Any CPU
{350405A0-13DF-4F20-8B3F-0AB923BE9DFF}.Release|Any CPU.Build.0 = Release|Any CPU
{23B3C567-1F02-4954-B621-26490D75F0FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{23B3C567-1F02-4954-B621-26490D75F0FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{23B3C567-1F02-4954-B621-26490D75F0FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{23B3C567-1F02-4954-B621-26490D75F0FC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
HideSolutionNode = FALSE
...
...
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