自动化立体仓库 - WMS系统
#
18516761980
2022-10-06 b55ec70223cb8af0d59f868cbd5e8c53a53e47a3
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+"站点不是自动状态");
            }