pang.jiabao
2025-05-22 b14cbe848a3c76cdbb4baa8f067f2a2c9ce1e07c
src/main/java/com/zy/asrs/controller/TaskWrkController.java
@@ -214,8 +214,9 @@
            locMast.setBarcode(taskWrk.getBarcode());
        }
        toWmsService.addReportLog(taskWrk);
//        toWmsService.addReportLog(taskWrk);
        locMastService.updateById(locMast);
        taskWrk.setCompleteTime(new Date());
        taskWrk.setStatus(7);//手动完成任务
        taskWrk.setModiTime(new Date());
        taskWrkService.updateById(taskWrk);
@@ -263,9 +264,9 @@
        } catch (Exception e) {
            taskWrk.setModiUser(9999L);//操作员
        }
        toWmsService.addReportLog(taskWrk);
//        toWmsService.addReportLog(taskWrk);
        taskWrk.setCompleteTime(now);//完结时间
        taskWrk.setCancelTime(now);//完结时间
        taskWrkService.updateById(taskWrk);
        return R.ok();
    }