refactor(出库任务): try
This commit is contained in:
parent
96792d32c0
commit
b33f19488d
@ -64,7 +64,11 @@ public class WmsOutTaskController extends BaseController {
|
|||||||
|
|
||||||
@PutMapping("/open/run/{wmsOutTaskIds}")
|
@PutMapping("/open/run/{wmsOutTaskIds}")
|
||||||
public AjaxResult openRun(@PathVariable Long[] wmsOutTaskIds) throws JAXBException {
|
public AjaxResult openRun(@PathVariable Long[] wmsOutTaskIds) throws JAXBException {
|
||||||
return toAjax(wmsOutTaskService.runWmsOutTask(wmsOutTaskIds));
|
try {
|
||||||
|
return toAjax(wmsOutTaskService.runWmsOutTask(wmsOutTaskIds));
|
||||||
|
} catch (JAXBException e) {
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user