打印了JENKINS节点日志
This commit is contained in:
parent
c6558ee00d
commit
69a41c8aaf
@ -11,6 +11,7 @@ import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
@ -32,23 +33,23 @@ public class FormCategoryApiController extends BaseController<FormCategory, Form
|
||||
private IFormCategoryService formCategoryService;
|
||||
|
||||
@Override
|
||||
public Response<FormCategoryDTO> create(FormCategoryDTO dto) {
|
||||
public Response<FormCategoryDTO> create(@Validated @RequestBody FormCategoryDTO dto) {
|
||||
return super.create(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Response<FormCategoryDTO> update(Long aLong, FormCategoryDTO dto) {
|
||||
return super.update(aLong, dto);
|
||||
public Response<FormCategoryDTO> update(@PathVariable Long id, @Validated @RequestBody FormCategoryDTO dto) {
|
||||
return super.update(id, dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Response<Void> delete(Long aLong) {
|
||||
return super.delete(aLong);
|
||||
public Response<Void> delete(@PathVariable Long id) {
|
||||
return super.delete(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Response<FormCategoryDTO> findById(Long aLong) {
|
||||
return super.findById(aLong);
|
||||
public Response<FormCategoryDTO> findById(@PathVariable Long id) {
|
||||
return super.findById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user