|
|
@ -127,8 +127,13 @@ public class MesReportWorkController extends BaseController {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("mes:reportWork:edit")
|
|
|
|
@RequiresPermissions("mes:reportWork:edit")
|
|
|
|
@PutMapping("/reportSap")
|
|
|
|
@PutMapping("/reportSap")
|
|
|
|
public R reportSap(@RequestBody MesReportWork mesReportWork) {
|
|
|
|
public AjaxResult reportSap(@RequestBody MesReportWork mesReportWork) {
|
|
|
|
return mesReportWorkService.reportSap(mesReportWork);
|
|
|
|
R r = mesReportWorkService.reportSap(mesReportWork);
|
|
|
|
|
|
|
|
if(r.getCode()==200){
|
|
|
|
|
|
|
|
return AjaxResult.success();
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
return AjaxResult.error("报工失败:"+r.getMsg());
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|