From e343e508ce5f2d355ad82c05a319981c66d1324b Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 02 Mar 2022 01:36:27 +0800 Subject: [PATCH] 评论页追加完成 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/controller/BlogArticleTypeOutsideController.java | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/controller/BlogArticleTypeOutsideController.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/controller/BlogArticleTypeOutsideController.java index c5e4286..52cf827 100644 --- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/controller/BlogArticleTypeOutsideController.java +++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticletype/controller/BlogArticleTypeOutsideController.java @@ -31,7 +31,7 @@ import vip.xiaonuo.core.enums.LogAnnotionOpTypeEnum; import vip.xiaonuo.core.pojo.response.ResponseData; import vip.xiaonuo.core.pojo.response.SuccessResponseData; -import vip.xiaonuo.modular.blogarticletype.param.BlogArticleTypeVo; +import vip.xiaonuo.modular.blogarticletype.entity.BlogArticleTypeVo; import vip.xiaonuo.modular.blogarticletype.service.BlogArticleTypeService; import javax.annotation.Resource; @@ -62,16 +62,6 @@ public ResponseData queryBlogArticleType() { List<BlogArticleTypeVo> list= blogArticleTypeService.listCount(); -// List<BlogArticleTypeVo> list = blogArticleTypeService.lambdaQuery() -// .eq(BlogArticleType::getIsEnable, MyConstant.Yes) -// .orderByAsc(BlogArticleType::getTopValue) -// .orderByDesc(BlogArticleType::getCreateDate) -// .list().stream().map(e -> { -// BlogArticleTypeVo vo = new BlogArticleTypeVo(); -// BeanUtil.copyProperties(e, vo); -// return vo; -// }).collect(Collectors.toList()); - return new SuccessResponseData(list); } -- Gitblit v1.9.1