自动化立体仓库 - WMS系统
pjb
2024-12-31 c4e8e814d2c9e0d03f6449860b70e58657fd7dc2
src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java
@@ -43,12 +43,12 @@
    }
    @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+"站点不是自动状态");
            }