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
3d979df7
Commit
3d979df7
authored
Jul 13, 2022
by
liucx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运行时间
parent
54c2d7c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TimedTaskController.java
...ech/telmarket/task/communication/TimedTaskController.java
+4
-4
No files found.
src/main/java/com/zfxftech/telmarket/task/communication/TimedTaskController.java
View file @
3d979df7
...
@@ -30,21 +30,21 @@ public class TimedTaskController {
...
@@ -30,21 +30,21 @@ public class TimedTaskController {
@ApiOperation
(
value
=
"日统计沟通记录次数"
,
notes
=
"日统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@ApiOperation
(
value
=
"日统计沟通记录次数"
,
notes
=
"日统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@GetMapping
(
"/dayCommunication"
)
@GetMapping
(
"/dayCommunication"
)
@Scheduled
(
cron
=
"0 25
8,12
* * ?"
)
@Scheduled
(
cron
=
"0 25
12,15
* * ?"
)
public
CommonResult
dayCommunicationCount
()
{
public
CommonResult
dayCommunicationCount
()
{
communicationRecordStatisticalLogService
.
saveOrUpdateDay
();
communicationRecordStatisticalLogService
.
saveOrUpdateDay
();
return
CommonResult
.
success
(
"日统计沟通记录次数成功"
);
return
CommonResult
.
success
(
"日统计沟通记录次数成功"
);
}
}
@ApiOperation
(
value
=
"周统计沟通记录次数"
,
notes
=
"周统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@ApiOperation
(
value
=
"周统计沟通记录次数"
,
notes
=
"周统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@GetMapping
(
"/weekCommunication"
)
@GetMapping
(
"/weekCommunication"
)
@Scheduled
(
cron
=
"0 15
8,12
* * ?"
)
@Scheduled
(
cron
=
"0 15
12,16
* * ?"
)
public
CommonResult
weekCommunicationCount
()
{
public
CommonResult
weekCommunicationCount
()
{
communicationRecordStatisticalLogService
.
saveOrUpdateWeek
();
communicationRecordStatisticalLogService
.
saveOrUpdateWeek
();
return
CommonResult
.
success
(
"日统计沟通记录次数成功"
);
return
CommonResult
.
success
(
"日统计沟通记录次数成功"
);
}
}
@ApiOperation
(
value
=
"月统计沟通记录次数"
,
notes
=
"月统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@ApiOperation
(
value
=
"月统计沟通记录次数"
,
notes
=
"月统计沟通记录次数 "
,
httpMethod
=
"GET"
)
@GetMapping
(
"/mothCommunication"
)
@GetMapping
(
"/mothCommunication"
)
@Scheduled
(
cron
=
"0 20
8,12
* * ?"
)
@Scheduled
(
cron
=
"0 20
12,16
* * ?"
)
public
CommonResult
monthCommunicationCount
()
{
public
CommonResult
monthCommunicationCount
()
{
communicationRecordStatisticalLogService
.
saveOrUpdateMonth
();
communicationRecordStatisticalLogService
.
saveOrUpdateMonth
();
return
CommonResult
.
success
(
"日统计沟通记录次数成功"
);
return
CommonResult
.
success
(
"日统计沟通记录次数成功"
);
...
@@ -53,7 +53,7 @@ public class TimedTaskController {
...
@@ -53,7 +53,7 @@ public class TimedTaskController {
@ApiOperation
(
value
=
"总数据统计"
,
notes
=
"总数据统计 "
,
httpMethod
=
"GET"
)
@ApiOperation
(
value
=
"总数据统计"
,
notes
=
"总数据统计 "
,
httpMethod
=
"GET"
)
@Scheduled
(
cron
=
"0 10 8,12 * * ?"
)
@Scheduled
(
cron
=
"0 10 8,12
,17
* * ?"
)
public
CommonResult
totalommunication
()
{
public
CommonResult
totalommunication
()
{
communicationRecordStatisticalLogService
.
totalommunication
();
communicationRecordStatisticalLogService
.
totalommunication
();
return
CommonResult
.
success
(
"日统计沟通记录次数成功"
);
return
CommonResult
.
success
(
"日统计沟通记录次数成功"
);
...
...
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