public Result>add(@Valid @RequestBody LaBidPreparationPlanDto dto, BindingResult bindingResult) {
Result> result =new Result>();
if(bindingResult.hasErrors()){
return result.error500(bindingResult.getFieldError().getDefaultMessage());
}
public Result>add(@Valid @RequestBody LaBidPreparationPlanDto dto, BindingResult bindingResult) {
Result> result =new Result>();
if(bindingResult.hasErrors()){
return result.error500(bindingResult.getFieldError().getDefaultMessage());
}