Browse Source

Merge remote-tracking branch 'origin/master'

zhongwei
haungxing 7 months ago
parent
commit
0ad8791311
  1. 2
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/RobotServiceImpl.java

2
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/RobotServiceImpl.java

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

Loading…
Cancel
Save