spring-boot-demo
spring-boot-demo copied to clipboard
[BUG]
描述问题
在SpringBootDemoOrmJdbctemplate 中代码 : Stream<Field> fieldStream = CollUtil.toList(fields).stream().filter(field -> ObjectUtil.isNull(field.getAnnotation(Ignore.class)) || ObjectUtil.isNull(field.getAnnotation(Pk.class))); ObjectUtil.isNull(field.getAnnotation(Ignore.class)) 无法判断 是否为null