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
6ecbe41a
Commit
6ecbe41a
authored
Jan 08, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.代码整理
parent
f1a682a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
InspectionOrgRefreshListener.java
...odule/jyjc/biz/listener/InspectionOrgRefreshListener.java
+1
-1
EquipRegularlyRemindServicelmpl.java
...yjc/biz/service/impl/EquipRegularlyRemindServicelmpl.java
+1
-1
application-dev.properties
...le-jyjc-biz/src/main/resources/application-dev.properties
+2
-6
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/listener/InspectionOrgRefreshListener.java
View file @
6ecbe41a
...
...
@@ -40,7 +40,7 @@ public class InspectionOrgRefreshListener extends EmqxListener {
private
static
final
BlockingQueue
<
BizMessage
>
BLOCKING_QUEUE
=
new
LinkedBlockingQueue
<>();
@Autowired
EquipTechParamBoilerMapper
equipTechParamBoilerMapper
;
@Value
(
"${
rule.definition.
name:报检规则}"
)
@Value
(
"${
inspection.rule.project-
name:报检规则}"
)
private
String
ruleName
;
@Autowired
private
EmqKeeper
emqKeeper
;
...
...
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 @
6ecbe41a
...
...
@@ -33,7 +33,7 @@ private TzsUserInfoMapper tzsUserInfoMapper;
@Autowired
CommonserviceImpl
commonservice
;
@Scheduled
(
cron
=
"${equip-hint}"
)
@Scheduled
(
cron
=
"${equip-hint
:0 0 8 * * ?
}"
)
public
void
sendReminderMessage
(){
//获取当前日期
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 @
6ecbe41a
...
...
@@ -54,8 +54,4 @@ process-definition-key.jyjc.openapplication=inspectionBusinessOpened
tzsJg.feign.name
=
TZS-JG
# rule config
rule.definition.local-ip
=
172.16.10.243
rule.definition.name
=
# 设备超期提醒时间
equip-hint
=
0 0 8 * * ?
\ No newline at end of file
rule.definition.local-ip
=
172.16.10.243
\ 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