自动化立体仓库 - WMS系统
#
zjj
2023-11-10 cffbaec750882dd7f4d112d7c735d247e2a961a7
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+"站点不是自动状态");
            }