|
|
|
@ -206,6 +206,22 @@ public class StudentHandsOnTaskReportController{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PostMapping(API + "/edit.do")
|
|
|
|
|
public JsonResult<String> editStudentHandsOnTaskReport(@RequestBody @Validated(ValidateConfig.UPDATE.class) StudentHandsOnTaskReportQuery studentHandsOnTaskReportQuery, BindingResult result) {
|
|
|
|
|
if(result.hasErrors()){
|
|
|
|
|
return JsonResult.failMessage(result);
|
|
|
|
|
}else {
|
|
|
|
|
studentHandsOnTaskReportQuery.setUserId(null);
|
|
|
|
|
studentHandsOnTaskReportQuery.setOrgId(null);
|
|
|
|
|
String msg = studentHandsOnTaskReportService.edit(studentHandsOnTaskReportQuery);
|
|
|
|
|
if (StringUtils.isBlank(msg)) {
|
|
|
|
|
return JsonResult.success();
|
|
|
|
|
} else {
|
|
|
|
|
return JsonResult.failMessage("更新失败,"+msg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//导出信息
|
|
|
|
|
@GetMapping(MODEL + "/excel/export.json")
|
|
|
|
|
@Function("studentHandsOnTaskReport.exportDocument")
|
|
|
|
|