From eeadaf600bf7a2a753f3d3cfd945e3c51b1817d5 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 06 十二月 2024 14:27:31 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java |   40 +++++++++++++++++++++++++++++++++++-----
 1 files changed, 35 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..821c707 100644
--- a/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java
@@ -33,8 +33,38 @@
     }
 
     @Override
+    public List<Integer> getCrnAvailableOutSite(Integer typeNo) {
+        return this.baseMapper.getCrnAvailableOutSite(typeNo);
+    }
+
+    @Override
+    public List<Integer> getShuttleAvailableOutSite(Integer typeNo) {
+        return this.baseMapper.getShuttleAvailableOutSite(typeNo);
+    }
+
+    @Override
+    public List<Integer> getCtuAvailableOutSite(Integer typeNo) {
+        return this.baseMapper.getCtuAvailableOutSite(typeNo);
+    }
+
+    @Override
     public List<Integer> getAvailableEmptyOutSite() {
         return this.baseMapper.getAvailableOutSite(110);
+    }
+
+    @Override
+    public List<Integer> getCrnAvailableEmptyOutSite() {
+        return this.baseMapper.getCrnAvailableOutSite(110);
+    }
+
+    @Override
+    public List<Integer> getShuttleAvailableEmptyOutSite() {
+        return this.baseMapper.getShuttleAvailableOutSite(110);
+    }
+
+    @Override
+    public List<Integer> getCtuAvailableEmptyOutSite() {
+        return this.baseMapper.getCtuAvailableOutSite(110);
     }
 
     @Override
@@ -43,21 +73,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