自动化立体仓库 - WMS系统
zyx
2023-10-12 ed7af72bc1858a69f53533b852904ccf81d362f3
src/main/java/com/zy/asrs/controller/AgvMobileController.java
@@ -1,12 +1,12 @@
package com.zy.asrs.controller;
import com.core.common.R;
import com.core.exception.CoolException;
import com.zy.asrs.entity.AgvBasDevp;
import com.zy.asrs.entity.param.CombParam;
import com.zy.asrs.service.AgvBasDevpService;
import com.zy.asrs.service.AgvMobileService;
import com.zy.asrs.service.AgvWorkService;
import com.zy.asrs.service.OrderDetlService;
import com.zy.common.web.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
@@ -32,6 +32,8 @@
    private AgvBasDevpService agvBasDevpService;
    @Autowired
    private AgvWorkService workService;
    @Autowired
    private OrderDetlService orderDetlService;
    /*
@@ -74,11 +76,7 @@
        List<String> devNos = (List<String>) map.get("devNo");
        List<AgvBasDevp> agvBasDevpList = devNos.stream().map(devNo -> {
            AgvBasDevp agvBasDevp = agvBasDevpService.selectById(devNo);
            if (!"F".equals(agvBasDevp.getLocSts())) {
                throw new CoolException("当前站点货位状态不为F.在库,请重新选择");
            }
            return agvBasDevp;
            return agvBasDevpService.selectById(devNo);
        }).collect(Collectors.toList());
        workService.createWaitPainWrkMastStart(agvBasDevpList, getUserId());