Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
stockPriceTack
Project
Project
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
刘长帅
stockPriceTack
Commits
9e26fec2
Commit
9e26fec2
authored
Jul 15, 2022
by
liucx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复运行时间
parent
9ff31a53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
TimedTaskController.java
...ech/telmarket/task/communication/TimedTaskController.java
+7
-7
No files found.
src/main/java/com/zfxftech/telmarket/task/communication/TimedTaskController.java
View file @
9e26fec2
...
@@ -31,8 +31,8 @@ public class TimedTaskController {
...
@@ -31,8 +31,8 @@ public class TimedTaskController {
@ApiOperation
(
value
=
"日统计沟通记录次数"
,
notes
=
"日统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@ApiOperation
(
value
=
"日统计沟通记录次数"
,
notes
=
"日统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@GetMapping
(
"dayCommunication"
)
@GetMapping
(
"dayCommunication"
)
//
@Scheduled(cron = "0 25 12,16 * * ?")
@Scheduled
(
cron
=
"0 25 12,16 * * ?"
)
@Scheduled
(
cron
=
"0 34 12,17 * * ?"
)
//
@Scheduled(cron = "0 34 12,17 * * ?")
public
CommonResult
dayCommunicationCount
()
{
public
CommonResult
dayCommunicationCount
()
{
communicationRecordStatisticalLogService
.
saveOrUpdateDay
();
communicationRecordStatisticalLogService
.
saveOrUpdateDay
();
logger
.
info
(
"日统计沟通记录次数成功"
);
logger
.
info
(
"日统计沟通记录次数成功"
);
...
@@ -40,8 +40,8 @@ public class TimedTaskController {
...
@@ -40,8 +40,8 @@ public class TimedTaskController {
}
}
@ApiOperation
(
value
=
"周统计沟通记录次数"
,
notes
=
"周统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@ApiOperation
(
value
=
"周统计沟通记录次数"
,
notes
=
"周统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@GetMapping
(
"weekCommunication"
)
@GetMapping
(
"weekCommunication"
)
@Scheduled
(
cron
=
"0 33 12,17 * * ?"
)
//
@Scheduled(cron = "0 33 12,17 * * ?")
//
@Scheduled(cron = "0 15 12,16 * * ?")
@Scheduled
(
cron
=
"0 15 12,16 * * ?"
)
public
CommonResult
weekCommunicationCount
()
{
public
CommonResult
weekCommunicationCount
()
{
communicationRecordStatisticalLogService
.
saveOrUpdateWeek
();
communicationRecordStatisticalLogService
.
saveOrUpdateWeek
();
logger
.
info
(
"日统计沟通记录次数成功"
);
logger
.
info
(
"日统计沟通记录次数成功"
);
...
@@ -49,8 +49,8 @@ public class TimedTaskController {
...
@@ -49,8 +49,8 @@ public class TimedTaskController {
}
}
@ApiOperation
(
value
=
"月统计沟通记录次数"
,
notes
=
"月统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@ApiOperation
(
value
=
"月统计沟通记录次数"
,
notes
=
"月统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@GetMapping
(
"mothCommunication"
)
@GetMapping
(
"mothCommunication"
)
@Scheduled
(
cron
=
"0 32 12,17 * * ?"
)
//
@Scheduled(cron = "0 32 12,17 * * ?")
//
@Scheduled(cron = "0 20 12,16 * * ?")
@Scheduled
(
cron
=
"0 20 12,16 * * ?"
)
public
CommonResult
monthCommunicationCount
()
{
public
CommonResult
monthCommunicationCount
()
{
communicationRecordStatisticalLogService
.
saveOrUpdateMonth
();
communicationRecordStatisticalLogService
.
saveOrUpdateMonth
();
logger
.
info
(
"月统计沟通记录次数成功"
);
logger
.
info
(
"月统计沟通记录次数成功"
);
...
@@ -61,7 +61,7 @@ public class TimedTaskController {
...
@@ -61,7 +61,7 @@ public class TimedTaskController {
@ApiOperation
(
value
=
"总数据统计"
,
notes
=
"总数据统计 "
,
httpMethod
=
"GET"
)
@ApiOperation
(
value
=
"总数据统计"
,
notes
=
"总数据统计 "
,
httpMethod
=
"GET"
)
// @Scheduled(cron = "0 10 8,12,17 * * ?")
// @Scheduled(cron = "0 10 8,12,17 * * ?")
@Scheduled
(
cron
=
"0 31 8,12,1
7
* * ?"
)
@Scheduled
(
cron
=
"0 31 8,12,1
6
* * ?"
)
public
CommonResult
totalommunication
()
{
public
CommonResult
totalommunication
()
{
communicationRecordStatisticalLogService
.
totalommunication
();
communicationRecordStatisticalLogService
.
totalommunication
();
logger
.
info
(
"总统计沟通记录次数成功"
);
logger
.
info
(
"总统计沟通记录次数成功"
);
...
...
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