Commit 6ecbe41a authored by suhuiguang's avatar suhuiguang

1.代码整理

parent f1a682a8
......@@ -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;
......
......@@ -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();
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment