From d00fe4cb1bdcab3175cac3e266f077bce9f29ce1 Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Sun, 9 Oct 2022 16:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=B1=95=E7=A4=BA=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E7=AB=99=E7=82=B9=E6=9C=80=E6=96=B0=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E7=9A=84=E6=96=87=E7=AB=A0+1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/huoran/iasf/service/impl/SysContentServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java b/src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java index 20b48f4..12f94e2 100644 --- a/src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java +++ b/src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java @@ -58,7 +58,7 @@ public class SysContentServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("site_id", reqVO.getSiteId()); - queryWrapper.eq("is_release", 1).orderByDesc("create_time"); + queryWrapper.eq("is_release", Constant.ARTICLE_PUBLISHED).orderByDesc("create_time"); Page page = new Page(reqVO.getPageNum(), reqVO.getPageSize()); IPage pageList = baseMapper.selectPage(page, queryWrapper); return R.success(pageList);