Commit 30ebcab7 authored by 赵啸非's avatar 赵啸非

修改通知去重复

parent 4d958c83
...@@ -59,16 +59,13 @@ public class MeetSwitchTaskImpl implements ITaskExcuteService { ...@@ -59,16 +59,13 @@ public class MeetSwitchTaskImpl implements ITaskExcuteService {
@Override @Override
public void excuteTask(ITask task) throws AppException { public void excuteTask(ITask task) throws AppException {
log.debug("会议室切换状态"); log.debug("会议室切换状态");
BasicSetEntity basicSetEntity = basicSetService.selectOne(new BasicSetEntity()); BasicSetEntity basicSetEntity = basicSetService.selectOne(new BasicSetEntity());
if (ObjectUtils.isEmpty(basicSetEntity)) { if (ObjectUtils.isEmpty(basicSetEntity)) {
log.info("基础未配置"); log.info("基础未配置");
return; return;
} }
swicthMeet(basicSetEntity); swicthMeet(basicSetEntity);
log.debug("会议室切换状态完成"); log.debug("会议室切换状态完成");
} }
...@@ -149,7 +146,7 @@ public class MeetSwitchTaskImpl implements ITaskExcuteService { ...@@ -149,7 +146,7 @@ public class MeetSwitchTaskImpl implements ITaskExcuteService {
uploadDeviceReq.setDeviceCodeList(Arrays.asList(roomDeviceEntity.getDeviceCode())); uploadDeviceReq.setDeviceCodeList(Arrays.asList(roomDeviceEntity.getDeviceCode()));
uploadDeviceReq.setAction("postMeet"); uploadDeviceReq.setAction("postMeet");
Rest<String> rest = messageFeign.downMsg(uploadDeviceReq); Rest<String> rest = messageFeign.downMsg(uploadDeviceReq);
log.info("会议结束提前通知 postMeet 返回结果:{}", JSON.toJSONString(rest)); log.info("会议结束提前通知 postMeet 返回结果:{}", JSON.toJSONString(uploadDeviceReq));
} }
} }
} }
......
...@@ -73,7 +73,7 @@ public class SyncMeetStatusTaskImpl implements ITaskExcuteService { ...@@ -73,7 +73,7 @@ public class SyncMeetStatusTaskImpl implements ITaskExcuteService {
recordEntity.setMeetStatus(MeetStatusEnum.进行中.getValue()); recordEntity.setMeetStatus(MeetStatusEnum.进行中.getValue());
recordEntity.setUpdateTime(new Date()); recordEntity.setUpdateTime(new Date());
recordEntity.setUpdateUserId(1L); recordEntity.setUpdateUserId(1L);
mettingRecordService.getDao().update(recordEntity); mettingRecordService.update(recordEntity);
} }
} }
......
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