出库单据

This commit is contained in:
张怡蓉
2025-09-28 16:34:36 +08:00
parent 48353a2ab4
commit a1e3180f77
4 changed files with 12 additions and 11 deletions

View File

@@ -344,7 +344,6 @@ public class MydoJobServiceImpl implements IMydoJobService {
}
TrayCodeMakeSure trayCodeMakeSure = new TrayCodeMakeSure();
trayCodeMakeSure.setTrayCode(job.getTrayCode());
iToWcsService.cancelTaskByTaskNo(job.getTaskNo());
pdaService.outMakeSure(trayCodeMakeSure);
}
return AjaxResult.success();
@@ -392,12 +391,12 @@ public class MydoJobServiceImpl implements IMydoJobService {
updateMydoJob(job);
insertHistory(jobId);
//通知wcs
// AjaxResult ajaxResult = iToWcsService.cancelTaskByTaskNo(job.getTaskNo());
// if (ajaxResult.isSuccess()){
// return AjaxResult.success();
// }else {
// throw new RuntimeException(Convert.toStr(ajaxResult.get("msg")));
// }
AjaxResult ajaxResult = iToWcsService.cancelTaskByTaskNo(job.getTaskNo());
if (ajaxResult.isSuccess()){
return AjaxResult.success();
}else {
throw new RuntimeException(Convert.toStr(ajaxResult.get("msg")));
}
}
} catch (Exception e) {