修改children的返回值来消除前端element组件的警告

This commit is contained in:
hupeng
2020-07-09 18:52:49 +08:00
parent e49f5eac96
commit 65d3b6583e
3 changed files with 2 additions and 7 deletions

View File

@ -36,11 +36,6 @@ public class YxStoreCategoryDto implements Serializable {
/** 是否推荐 */
private Integer isShow;
/** 添加时间 */
private Integer addTime;
/** 删除状态 */
private Integer isDel;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<YxStoreCategoryDto> children;

View File

@ -91,8 +91,6 @@ public class YxStoreCategoryServiceImpl extends BaseServiceImpl<StoreCategoryMap
map.put("排序", yxStoreCategory.getSort());
map.put("图标", yxStoreCategory.getPic());
map.put("是否推荐", yxStoreCategory.getIsShow());
map.put("添加时间", yxStoreCategory.getAddTime());
map.put("删除状态", yxStoreCategory.getIsDel());
list.add(map);
}
FileUtil.downloadExcel(list, response);