#
Junjie
2024-08-01 fd5b35e658ac8cd3d9658c5cc5e1219c9d13915c
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/timer/TaskTimer.java
@@ -68,7 +68,7 @@
                        List<TaskDetl> taskDetls = taskDetlService.getTaskDetlByTaskId(task.getId());
                        if(taskDetls.isEmpty()) {
                            throw new CoolException("库存明细不存在");
                            throw new CoolException("任务明细不存在");
                        }
                        //添加库存明细
@@ -113,7 +113,7 @@
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
        }finally {
            InterceptorIgnoreHelper.clearIgnoreStrategy();
        }
@@ -122,7 +122,14 @@
    @Scheduled(cron = "0/3 * * * * ? ")
    @Transactional
    public void outExecute() {
        InterceptorIgnoreHelper.handle(IgnoreStrategy.builder().tenantLine(true).build());
        try {
        } catch (Exception e) {
            e.printStackTrace();
        }finally {
            InterceptorIgnoreHelper.clearIgnoreStrategy();
        }
    }
}