自动化立体仓库 - WMS系统
zhangc
2025-02-08 0379bbe120f509f8c330713958b59687d25b80b3
src/main/java/com/zy/asrs/task/AutoMoveScheduler.java
@@ -218,7 +218,9 @@
        // 查询 不为1楼的空货架
        List<AgvLocMast> agvLocMasts = agvLocMastService.selectList(new EntityWrapper<AgvLocMast>()
                // TODO 四期
                .eq("loc_sts", "D").eq("loc_type1", 3).ne("floor", 1).ne("lev1", 1));
                .eq("loc_sts", "D").eq("loc_type1", 3)
                .andNew()
                .ne("floor", 1).or().ne("lev1", 1));
        if (agvLocMasts.isEmpty()) {
            return;
        }
@@ -335,7 +337,7 @@
    }
    /**
     * 自动移库
     * 跨层自动移库
     */
    @Scheduled(cron = "0/2 * * * * ? ")
    private void autoEmptyBack7() throws ParseException {
@@ -382,7 +384,7 @@
    /**
     * 自动移库,四期
     * 打标记的库位进行自动移库,四期
     * 在库位不够的情况下,箱壳入库别的楼层库位的时候,晚上进行跨层移库
     */
    @Scheduled(cron = "0/2 * * * * ? ")
@@ -406,7 +408,7 @@
            long time3 = time - time1;
            if (time3 > 0 && time3 < (1000 * 60 * 10)) {
            if (time3 > 0) {
                List<AgvWrkMast> agvWrkMasts = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>().eq("io_type", 12));
                if (agvWrkMasts != null && maxTansk <= agvWrkMasts.size()) {