User user = new User();
List list = new ArrayList<>();
判断实体类列表是否为空,可以用
org.apache.commons.collections中的CollectionUtils.isNotEmpty(list)
判断实体类是否为空,可用
org.apache.commons.lang3中的StringUtils.isNoneEmpty(user)
判断Integer是否为空
Objects.isNull(sealApply.getId());