自动化立体仓库 - WMS系统
zhangc
2025-01-07 ce43df438a4bbef5b9ffaed0a33a97db6e88fbf1
src/main/java/com/zy/asrs/task/AutoReplenishmentScheduler.java
@@ -37,7 +37,7 @@
    /*
    定时遍历库存,生成自动补货单据
     */
    @Scheduled(cron = "0 */1 * * * ? ")
//    @Scheduled(cron = "0 */1 * * * ? ")
    public void createOrder(){
        if(!"Y".equals(Parameter.get().getAutoReplenishment())){
@@ -67,7 +67,7 @@
                if(anfmeSum > mat.getStoreMin()){
                    continue;
                }
                //查询当前物料四项库是否存在,并且托盘不含有非料箱物料
                //查询当前物料四项库是否存在,并且货架不含有非货架物料
                if(Cools.isEmpty(locDetlService.selectOne(new EntityWrapper<LocDetl>().eq("matnr", mat.getMatnr())))){
                    continue;
                }