From 0bedfead3ffe6d2251d7428d772de0a4df6b5201 Mon Sep 17 00:00:00 2001 From: zwl <1051256694@qq.com> Date: 星期一, 21 七月 2025 15:52:49 +0800 Subject: [PATCH] 1.向mes查询物料 2.入库上报mes --- src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java | 22 +--------------------- 1 files changed, 1 insertions(+), 21 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java index c677e5c..5e4f002 100644 --- a/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java @@ -43,28 +43,8 @@ } @Override - public BasDevp checkSiteStatus(Integer devpNo, boolean put) { + public BasDevp checkSiteStatus(Integer devpNo, boolean pakin) { BasDevp station = selectById(devpNo); - if (station == null){ - throw new CoolException(devpNo+"绔欑偣涓嶅瓨鍦�"); - } - if (put) { - if(station.getAutoing()==null || !station.getAutoing().equals("Y")) { - throw new CoolException(devpNo+"绔欑偣涓嶆槸鑷姩鐘舵��"); - } - if(station.getLoading()==null || !station.getLoading().equals("Y")) { - throw new CoolException(devpNo+"绔欑偣鏃犵墿"); - } - if(station.getWrkNo()!=null && station.getWrkNo()>0 && station.getWrkNo() < 9990) { - throw new CoolException(devpNo+"绔欑偣宸叉湁宸ヤ綔鍙�"); - } -// if(!station.getInEnable().equals("Y")) { -// throw new CoolException(devpNo+"绔欑偣涓嶆槸鍙叆鐘舵��"); -// } - if(wrkMastService.getWorkingMast(devpNo)>0){ - throw new CoolException(devpNo+"绔欑偣涓嶈兘鍚屾椂鐢熸垚涓ょ瑪鍏ュ簱宸ヤ綔妗�"); - } - } return station; } } -- Gitblit v1.9.1