Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
黄奎
mall.oytour.com
Commits
6c5bd868
Commit
6c5bd868
authored
Jun 11, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ff7b1964
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
81 deletions
+90
-81
StatisticsModule.cs
Mall.Module.MarketingCenter/StatisticsModule.cs
+80
-80
TimersHelper.cs
Mall.WindowsService/Helper/TimersHelper.cs
+9
-0
UserStatisticsModule.cs
Mall.WindowsService/Module/UserStatisticsModule.cs
+1
-1
No files found.
Mall.Module.MarketingCenter/StatisticsModule.cs
View file @
6c5bd868
This diff is collapsed.
Click to expand it.
Mall.WindowsService/Helper/TimersHelper.cs
View file @
6c5bd868
...
...
@@ -46,6 +46,15 @@ namespace Mall.WindowsService.Helper
LogHelper
.
Write
(
"DistributorVipModule=====End"
);
#
endregion
#
region
电商统计
if
(
DateTime
.
Now
.
Hour
==
1
)
{
LogHelper
.
Write
(
"UpdateToDayUserStatistics=====Start"
);
new
Module
.
UserStatisticsModule
().
UpdateToDayUserStatistics
(
""
,
""
);
LogHelper
.
Write
(
"UpdateToDayUserStatistics=====End"
);
}
#
endregion
Interlocked
.
Exchange
(
ref
inTimer
,
0
);
}
...
...
Mall.WindowsService/Module/UserStatisticsModule.cs
View file @
6c5bd868
...
...
@@ -44,7 +44,7 @@ namespace Mall.WindowsService.Module
{
if
(
string
.
IsNullOrEmpty
(
StartTime
))
{
StartTime
=
DateTime
.
Now
.
AddMonths
(-
1
).
ToString
(
"yyyy-MM"
)
+
"-01"
;
StartTime
=
DateTime
.
Now
.
AddMonths
(-
6
).
ToString
(
"yyyy-MM"
)
+
"-01"
;
}
if
(
string
.
IsNullOrEmpty
(
EndTime
))
{
...
...
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