自动化立体仓库 - WMS系统
1
zhangc
2025-04-18 c02ff401df349f9e82fd378ab1f76f0b7fa9ebe4
src/main/java/com/zy/asrs/controller/WorkController.java
@@ -15,7 +15,6 @@
import com.zy.asrs.service.WorkService;
import com.zy.asrs.utils.Utils;
import com.zy.common.model.StartupDto;
import com.zy.common.utils.RoleUtils;
import com.zy.common.web.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
@@ -24,7 +23,6 @@
import org.springframework.web.bind.annotation.RestController;
import java.util.*;
import java.util.stream.Collectors;
/**
 * 工作流接口控制器
@@ -74,6 +72,7 @@
        // 不同继承角色显示不同库信息
        //RoleUtils.addRoleWrapperByCrn(getUserId(),wrapper);
        wrapper.eq("type_no",101);
        wrapper.orderBy("stn_no", false);
        List<StaDesc> staDescs = staDescService.selectList(wrapper);
      //  List<Integer> outSite = staDescs.stream().map(StaDesc::getStnNo).distinct().collect(Collectors.toList());
//        List<Integer> outSite = basDevpService.getAvailableOutSite(101);
@@ -98,6 +97,7 @@
        }
        return R.ok().add(result);
    }
    @RequestMapping("/crn/available/take/site")
    @ManagerAuth()
    public R crnAvailableTakeSite(){