Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
66d3b595
Commit
66d3b595
authored
Aug 01, 2023
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.定时任务增加多线程
parent
b6238403
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
application.properties
...le-cylinder-biz/src/main/resources/application.properties
+5
-2
CylinderInfoServiceImpl.java
...ule/ymt/flc/biz/service/impl/CylinderInfoServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/resources/application.properties
View file @
66d3b595
...
...
@@ -162,4 +162,7 @@ tzs.auth.user.photo=/public/common/userPic.png
tzs.WxApp.appId
=
wx48a1b1915b10d14b
tzs.WxApp.secret
=
ac4f4a9d3c97676badb70c19a2f37b16
tzs.WxApp.grant-type
=
authorization_code
\ No newline at end of file
tzs.WxApp.grant-type
=
authorization_code
spring.task.scheduling.pool.size
=
15
spring.task.scheduling.thread-name-prefix
=
taskExecutor-
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/flc/biz/service/impl/CylinderInfoServiceImpl.java
View file @
66d3b595
...
...
@@ -257,7 +257,7 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
* 按区域统计
*/
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Scheduled
(
cron
=
"
* *
2 * * ?"
)
@Scheduled
(
cron
=
"
0 0
2 * * ?"
)
public
void
addIntegrityData
()
{
System
.
out
.
println
(
"====================数据完整性开始============================"
);
cylinderIntegrityDataServiceImpl
.
remove
(
new
LambdaQueryWrapper
<
CylinderIntegrityData
>());
...
...
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