字段不为空才返回

实体类查询字段不为空时才返回的注解:@JsonInclude

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@TableField(exist = false)
private List<CategoryEntity> children;
posted @ 2022-11-28 16:04  sensen~||^_^|||&  阅读(28)  评论(0)    收藏  举报