|
|
@ -177,7 +177,12 @@ public class PdaApiController {
|
|
|
|
//返修提交质检信息
|
|
|
|
//返修提交质检信息
|
|
|
|
@PostMapping("/submitRepair")
|
|
|
|
@PostMapping("/submitRepair")
|
|
|
|
public AjaxResult submitRepair(@RequestBody RepairSubmitInfoDto info) {
|
|
|
|
public AjaxResult submitRepair(@RequestBody RepairSubmitInfoDto info) {
|
|
|
|
return toAjax(service.submitRepair(info));
|
|
|
|
int i = service.submitRepair(info);
|
|
|
|
|
|
|
|
if(i > 0){
|
|
|
|
|
|
|
|
return success("操作成功!");
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
return error("该箱体已完成返修!");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|