From 248f0106cb099a5d6c21b9b7bd648cd0b61a3db0 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 28 六月 2023 10:13:09 +0800 Subject: [PATCH] #订单出库批量出库优化 --- src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 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 778daaf..babb339 100644 --- a/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java @@ -43,19 +43,19 @@ } @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 (pakin) { 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) { + if(station.getWrkNo()!=null && station.getWrkNo()>0 && station.getWrkNo() < 9990) { throw new CoolException(devpNo+"绔欑偣宸叉湁宸ヤ綔鍙�"); } // if(!station.getInEnable().equals("Y")) { -- Gitblit v1.9.1