get请求校验
@Validated
public class SystemController
@GetMapping("disable")
public Response disable(@NotNull Integer id) {
post请求校验
@PostMapping("save")
public Response save(@Validated @RequestBody VaSystemAccess req) {
public class VaSystemAccess implements Serializable {
private Integer id;
@NotBlank
private String sysCode;