打印了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 jakarta.annotation.Resource;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.data.domain.Page;
|
import org.springframework.data.domain.Page;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -32,23 +33,23 @@ public class FormCategoryApiController extends BaseController<FormCategory, Form
|
|||||||
private IFormCategoryService formCategoryService;
|
private IFormCategoryService formCategoryService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Response<FormCategoryDTO> create(FormCategoryDTO dto) {
|
public Response<FormCategoryDTO> create(@Validated @RequestBody FormCategoryDTO dto) {
|
||||||
return super.create(dto);
|
return super.create(dto);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Response<FormCategoryDTO> update(Long aLong, FormCategoryDTO dto) {
|
public Response<FormCategoryDTO> update(@PathVariable Long id, @Validated @RequestBody FormCategoryDTO dto) {
|
||||||
return super.update(aLong, dto);
|
return super.update(id, dto);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Response<Void> delete(Long aLong) {
|
public Response<Void> delete(@PathVariable Long id) {
|
||||||
return super.delete(aLong);
|
return super.delete(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Response<FormCategoryDTO> findById(Long aLong) {
|
public Response<FormCategoryDTO> findById(@PathVariable Long id) {
|
||||||
return super.findById(aLong);
|
return super.findById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user