自动化立体仓库 - WMS系统
#1
dubin
2025-12-17 96c5a749f14c3dea75ff774e5eed2921ba0f2555
src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
@@ -19,6 +19,7 @@
import com.zy.common.web.WcsController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -74,6 +75,8 @@
    private SlaveProperties slaveProperties;
    @Autowired
    private WaitPakinService waitPakinService;
    @Value("${wcs-slave.cancel}")
    private String cancel;
    @Override
    @Transactional
@@ -1024,6 +1027,9 @@
        if (!wrkMastRes || !locMastRes) {
            throw new CoolException("保存数据失败");
        }
        //wms取消任务 同时调用wcs任务取消接口通知wcs todo
    }
    @Override