|
|
|
@ -606,6 +606,7 @@ public class RCSUtil { |
|
|
|
List<BusinPickup> businPickupList = businPickupMapper.selectList(pickupQueryWrapper); |
|
|
|
List<BusinPickup> businPickupList = businPickupMapper.selectList(pickupQueryWrapper); |
|
|
|
if (businPickupList.size() > 0) { |
|
|
|
if (businPickupList.size() > 0) { |
|
|
|
BusinPickup businPickup = businPickupList.get(0); |
|
|
|
BusinPickup businPickup = businPickupList.get(0); |
|
|
|
|
|
|
|
log.info("空治具回库时,释放码头点位信息:"+JsonUtil.toJSONString(businPickup)); |
|
|
|
BasePoint basePoint = iBasePointService.selectBasePointById(Long.valueOf(businPickup.getPointNo())); |
|
|
|
BasePoint basePoint = iBasePointService.selectBasePointById(Long.valueOf(businPickup.getPointNo())); |
|
|
|
basePoint.setIsActive("1"); |
|
|
|
basePoint.setIsActive("1"); |
|
|
|
basePoint.setIsOccupy("0"); |
|
|
|
basePoint.setIsOccupy("0"); |
|
|
|
@ -677,8 +678,6 @@ public class RCSUtil { |
|
|
|
|
|
|
|
|
|
|
|
//更新任务数据
|
|
|
|
//更新任务数据
|
|
|
|
List<String> collect = agvMap.entrySet().stream().sorted(Map.Entry.comparingByKey()).map(e -> e.getKey()).collect(Collectors.toList()); |
|
|
|
List<String> collect = agvMap.entrySet().stream().sorted(Map.Entry.comparingByKey()).map(e -> e.getKey()).collect(Collectors.toList()); |
|
|
|
//log.error(collect.get(collect.size() - 1));
|
|
|
|
|
|
|
|
log.error(bo.getSn()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
businDataTask.setAgvNo(bo.getRobotId()); |
|
|
|
businDataTask.setAgvNo(bo.getRobotId()); |
|
|
|
businDataTask.setUpdateTime(DateUtils.getNowDate()); |
|
|
|
businDataTask.setUpdateTime(DateUtils.getNowDate()); |
|
|
|
|