|
|
|
@ -145,7 +145,7 @@ public class RobotServiceImpl extends BaseServiceImpl<RobotMapper, RobotEntity>
|
|
|
|
|
Result<Map<String, Object>> deviceSoeDataResult = deviceDataClient.getDeviceSoeData(robot.getStationCode(), 1, robotCode, null, |
|
|
|
|
startTime, endTime, true, query.getCurrent(), query.getSize()); |
|
|
|
|
Assert.isTrue(deviceSoeDataResult.isSuccess(), () -> { |
|
|
|
|
throw new ServiceException("获取机器人告警信息失败!"); |
|
|
|
|
throw new ServiceException(deviceSoeDataResult.getMsg()); |
|
|
|
|
}); |
|
|
|
|
Map<String, Object> deviceSoeData = deviceSoeDataResult.getData(); |
|
|
|
|
IPage result = Condition.getPage(query); |
|
|
|
|