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
f1a682a8
Commit
f1a682a8
authored
Jan 08, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加定時任務配置
parent
47c19edb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
EquipRegularlyRemindServicelmpl.java
...yjc/biz/service/impl/EquipRegularlyRemindServicelmpl.java
+1
-1
application-dev.properties
...le-jyjc-biz/src/main/resources/application-dev.properties
+5
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/EquipRegularlyRemindServicelmpl.java
View file @
f1a682a8
...
@@ -33,7 +33,7 @@ private TzsUserInfoMapper tzsUserInfoMapper;
...
@@ -33,7 +33,7 @@ private TzsUserInfoMapper tzsUserInfoMapper;
@Autowired
@Autowired
CommonserviceImpl
commonservice
;
CommonserviceImpl
commonservice
;
@Scheduled
(
cron
=
"
0 0 8 * * ?
"
)
@Scheduled
(
cron
=
"
${equip-hint}
"
)
public
void
sendReminderMessage
(){
public
void
sendReminderMessage
(){
//获取当前日期
//获取当前日期
String
currentDate
=
DateUtils
.
getDateNowShortStr
();
String
currentDate
=
DateUtils
.
getDateNowShortStr
();
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/application-dev.properties
View file @
f1a682a8
...
@@ -55,4 +55,7 @@ tzsJg.feign.name=TZS-JG
...
@@ -55,4 +55,7 @@ tzsJg.feign.name=TZS-JG
# rule config
# rule config
rule.definition.local-ip
=
172.16.10.243
rule.definition.local-ip
=
172.16.10.243
rule.definition.name
=
rule.definition.name
=
\ No newline at end of file
# 设备超期提醒时间
equip-hint
=
0 0 8 * * ?
\ No newline at end of file
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