Authored by qinchao

报警电话更改:联盟激活改为报警组

... ... @@ -43,12 +43,13 @@ public class DeviceActiveTask {
@PostConstruct
public void init() {
mobile = getUsersInfoUtil.getMobileByAlarmGroup(AlarmGroupContants.UNION_MOBILE);
DEBUG.info("联盟激活的电话号码 is "+ mobile);
}
@Scheduled(cron = "${cron_task_device_active}")
public void deviceActive() {
try {
DEBUG.info("联盟激活的电话号码 are "+ mobile);
Calendar calendar = Calendar.getInstance();
if (calendar.get(Calendar.HOUR_OF_DAY) < 9 || calendar.get(Calendar.HOUR_OF_DAY) > 20) {
return;
... ...