pang.jiabao
2025-05-25 be61c90200910a3e48c72596f3bbd459a2a73f25
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();
    }