Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
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
DataCenter_Core2.1_20190520
Commits
29f75e0a
Commit
29f75e0a
authored
Jun 04, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整物流供应商往来服务
parent
bff3841f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
11 deletions
+41
-11
Services.cs
Bailun.DC.DailyLogisticSupplierTransaction/Services.cs
+11
-11
LogisticsController.cs
...n.DC.Web/Areas/Reports/Controllers/LogisticsController.cs
+29
-0
Bailun.DC.Web.csproj
Bailun.DC.Web/Bailun.DC.Web.csproj
+1
-0
No files found.
Bailun.DC.DailyLogisticSupplierTransaction/Services.cs
View file @
29f75e0a
...
@@ -37,17 +37,17 @@ namespace Bailun.DC.DailyLogisticSupplierTransaction
...
@@ -37,17 +37,17 @@ namespace Bailun.DC.DailyLogisticSupplierTransaction
Console
.
WriteLine
(
"任务运行完成 "
+
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
));
Console
.
WriteLine
(
"任务运行完成 "
+
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
));
}
}
//else if (now.Hour % 8 == 0
&& now.Minute == 1)
else
if
(
now
.
Hour
==
18
&&
now
.
Minute
==
1
)
//
{
{
//
var day = DateTime.Parse(now.AddMonths(-1).ToShortDateString());
var
day
=
DateTime
.
Parse
(
now
.
AddMonths
(-
1
).
ToShortDateString
());
//
while (day.AddDays(1) < DateTime.Now)
while
(
day
.
AddDays
(
1
)
<
DateTime
.
Now
)
//
{
{
//
Console.WriteLine(day);
Console
.
WriteLine
(
day
);
//
Init(day);
Init
(
day
);
//
Console.WriteLine("重跑 " + day.ToString("yyyy-MM-dd HH:mm:ss") + " 完成");
Console
.
WriteLine
(
"重跑 "
+
day
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
+
" 完成"
);
//
day = day.AddDays(1);
day
=
day
.
AddDays
(
1
);
//
}
}
//
}
}
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
...
...
Bailun.DC.Web/Areas/Reports/Controllers/LogisticsController.cs
0 → 100644
View file @
29f75e0a
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Threading.Tasks
;
using
Microsoft.AspNetCore.Mvc
;
namespace
Bailun.DC.Web.Areas.Reports.Controllers
{
public
class
LogisticsController
:
Controller
{
public
IActionResult
Index
()
{
return
View
();
}
/// <summary>
/// 物流供应商往来统计报表
/// </summary>
/// <returns></returns>
public
ActionResult
SupplierTrancationReport
()
{
return
View
();
}
}
}
\ No newline at end of file
Bailun.DC.Web/Bailun.DC.Web.csproj
View file @
29f75e0a
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
<Folder Include="Areas\Logistics\Models\" />
<Folder Include="Areas\Logistics\Models\" />
<Folder Include="Areas\Reports\Data\" />
<Folder Include="Areas\Reports\Data\" />
<Folder Include="Areas\Reports\Models\" />
<Folder Include="Areas\Reports\Models\" />
<Folder Include="Areas\Reports\Views\Logistics\" />
<Folder Include="Areas\Users\Data\" />
<Folder Include="Areas\Users\Data\" />
<Folder Include="Areas\Users\Models\" />
<Folder Include="Areas\Users\Models\" />
</ItemGroup>
</ItemGroup>
...
...
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