1、spring 中 Constructor、@Autowired、@PostConstruct 的顺序
Constructor >> @Autowired >> @PostConstruct
2、@NotEmpty 用在集合类上面
@NotBlank 用在 String 上面
@NotNull 用在基本类型上
正文完
1、spring 中 Constructor、@Autowired、@PostConstruct 的顺序
Constructor >> @Autowired >> @PostConstruct
2、@NotEmpty 用在集合类上面
@NotBlank 用在 String 上面
@NotNull 用在基本类型上