出库单据
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user