Commit a5cd203a authored by 赵啸非's avatar 赵啸非

修改提交分辨率更新

parent abf63beb
......@@ -47,9 +47,9 @@ public class DeviceRestartTaskImpl implements ITaskExcuteService {
@Override
public void excuteTask(ITask task) throws AppException {
log.info("设备定时重启任务");
String restartProduct = GlobalSysInfo.getParamValue(Constant.PARAM_RESTART_PRODUCT_LIST, "ckp,hjq");
StrUtil.split(restartProduct, ",").stream().forEach(productCode -> {
List<DeviceEntity> deviceEntities = deviceService.find(new DeviceQuery().productCode(productCode));
String restartProduct = GlobalSysInfo.getParamValue(Constant.PARAM_RESTART_PRODUCT_LIST, "窗口屏,呼叫器");
StrUtil.split(restartProduct, ",").stream().forEach(item -> {
List<DeviceEntity> deviceEntities = deviceService.find(new DeviceQuery().productName(item));
for (DeviceEntity device : deviceEntities) {
TbQueueMsgHeaders header = new DefaultTbQueueMsgHeaders();
......
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