From c20bd338ddf092a3d9be15d68652d20b9645437d Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期二, 22 十月 2024 15:08:00 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 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..e376c5d 100644 --- a/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java @@ -43,21 +43,21 @@ } @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 && station.getWrkNo() < 9990) { - 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+"绔欑偣涓嶆槸鍙叆鐘舵��"); // } -- Gitblit v1.9.1