sunyuchao 4 years ago
parent
commit
630ff1508f
  1. 1
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/MemoDifficultyController.java

1
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/MemoDifficultyController.java

@ -92,6 +92,7 @@ public class MemoDifficultyController {
@PostMapping("detail")
public Result<AddMemoDifficultyFromDTO> detail(@RequestBody MemoDifficultyDetailFromDTO fromDTO){
ValidatorUtils.validateEntity(fromDTO, MemoDifficultyDetailFromDTO.Detail.class);
return new Result<AddMemoDifficultyFromDTO>().ok(memoDifficultyService.detail(fromDTO));
}

Loading…
Cancel
Save