From f4af5b89cf61b3c4d7e1d49f23d7c0e617f3aabe Mon Sep 17 00:00:00 2001 From: tzsk <Administrator@qq.com> Date: 星期三, 07 二月 2024 09:28:04 +0800 Subject: [PATCH] Changes --- src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java index 2fcb2b6..2f10937 100644 --- a/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java @@ -252,6 +252,13 @@ Date now = new Date(); taskDtos.forEach(taskDto -> { + + //鍒ゆ柇鏄惁鏈夐噸澶嶆枡鎯崇殑宸ヤ綔褰� + List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectByContainerCode(taskDto.getLocDtos().get(0).getContainerCode()); + if(!Cools.isEmpty(agvWrkMastList)){ + return; + } + //鐢熸垚宸ヤ綔妗� AgvWrkMast wrkMast = createWrkMast(107, 21L,taskDto.getLocNo(),taskDto.getAgvStaNo(),taskDto.getLocDtos().get(0).getContainerCode(),now,userId,false); //鐢熸垚宸ヤ綔妗f槑缁� -- Gitblit v1.9.1