From 937524f19e63298a2ade69d663dfd1b37fd6accd Mon Sep 17 00:00:00 2001 From: SUCH HAVE YOU <2207141659@qq.com> Date: Sun, 3 Nov 2024 20:01:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E4=BD=8D=E6=8E=A5=E5=8F=A3=E3=80=90=E8=8E=B7=E5=8F=96=E5=B7=B2?= =?UTF-8?q?=E5=90=AF=E7=94=A8=E7=9A=84=E5=B9=BF=E5=91=8A=E4=BD=8D=E3=80=91?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=87=BA=E5=85=A8=E9=83=A8=E3=80=90=E5=8C=85?= =?UTF-8?q?=E6=8B=AC=E6=9C=AA=E5=90=AF=E7=94=A8=E3=80=91=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/skyeye/adsense/service/Impl/AdsenseServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/skyeye-shop/shop-store/src/main/java/com/skyeye/adsense/service/Impl/AdsenseServiceImpl.java b/skyeye-shop/shop-store/src/main/java/com/skyeye/adsense/service/Impl/AdsenseServiceImpl.java index 6b140715..3d4473ac 100644 --- a/skyeye-shop/shop-store/src/main/java/com/skyeye/adsense/service/Impl/AdsenseServiceImpl.java +++ b/skyeye-shop/shop-store/src/main/java/com/skyeye/adsense/service/Impl/AdsenseServiceImpl.java @@ -12,8 +12,10 @@ import com.skyeye.adsense.service.AdsenseService; import com.skyeye.annotation.service.SkyeyeService; import com.skyeye.base.business.service.impl.SkyeyeBusinessServiceImpl; import com.skyeye.common.constans.CommonCharConstants; +import com.skyeye.common.enumeration.EnableEnum; import com.skyeye.common.object.InputObject; import com.skyeye.common.object.OutputObject; +import com.skyeye.common.util.mybatisplus.MybatisPlusUtil; import org.springframework.stereotype.Service; import java.util.Arrays; @@ -41,6 +43,7 @@ public class AdsenseServiceImpl extends SkyeyeBusinessServiceImpl> queryDataList(InputObject inputObject) { QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.eq(MybatisPlusUtil.toColumns(Adsense::getEnabled), EnableEnum.ENABLE_USING.getKey()); List beans = list(queryWrapper); return JSONUtil.toList(JSONUtil.toJsonStr(beans), null); }