自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-04-01 8e504e7057ec0911547b9c935b2e5e5beef7842c
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+"站点不是自动状态");
            }