no message

main
HUOJIN\92525 2024-11-22 17:32:05 +08:00
parent fff16759ea
commit 98ce06721a
1 changed files with 4 additions and 1 deletions

View File

@ -255,7 +255,7 @@ public class MesServiceImpl implements MesService {
private synchronized void moveCpOffUp(String pointCode) {
// 如果成品入库缓存区没有空车,则从入库区查询
// 从成品入库区查询空车
List<Stock> emptyStockList = stockService.findByKongStock(AreaNameDic.CPRKQ);
if (emptyStockList.isEmpty()) {
throw new BadRequestException("成品入库区没有空车,请稍后再试!");
@ -299,6 +299,9 @@ public class MesServiceImpl implements MesService {
//占用容器
stockService.usedStock(stock, srcPoint, BaseStatus.USED);
// 更新点位状态
pointService.usedPoint(endPoint);
//下发任务
kmReService.sendAgvTask(agvTask, kmReService.sendAgvTaskHjJson(agvTask));
}