pjb
2025-06-22 af082a3f27b88bb7afbe73ffe38c7fa5091ee841
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/timer/TaskLogTimer.java
@@ -172,7 +172,7 @@
     * @description: 出库任务完成
     * @version 1.0
     */
    @Scheduled(cron = "0/10 * * * * ? ")
    @Scheduled(cron = "0/35 * * * * ? ")
    @Transactional(rollbackFor = Exception.class)
    public void outExecute() {
        InterceptorIgnoreHelper.handle(IgnoreStrategy.builder().tenantLine(true).build());
@@ -185,16 +185,7 @@
                return;
            }
//            Dict dict = dictService.getOne(new LambdaQueryWrapper<Dict>().eq(Dict::getFlag, "taskLogDiffDays").eq(Dict::getStatus, 1));
//            if (dict == null) {
//                return;
//            }
            for (Task task : list) {
//                int diff = DateUtils.diff(task.getCreateTime(), new Date());
//                int taskLogDiffDays = Integer.parseInt(dict.getValue());
//                if (diff < taskLogDiffDays) {
//                    continue;
//                }
                Long hostId = task.getHostId();
                //保存任务明细历史档
                List<TaskDetl> taskDetls = taskDetlService.getTaskDetlByTaskId(task.getId());