From a6508a543e3727eb527db5feec9ac7155e88f599 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期一, 03 六月 2024 21:17:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/PromotionBannerServiceImpl.java |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/PromotionBannerServiceImpl.java b/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/PromotionBannerServiceImpl.java
index a4af48f..393ea44 100644
--- a/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/PromotionBannerServiceImpl.java
+++ b/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/PromotionBannerServiceImpl.java
@@ -7,7 +7,6 @@
 import com.ruoyi.promotion.mapper.PromotionBannerMapper;
 import com.ruoyi.promotion.service.IPromotionBannerService;
 import java.util.List;
-import javax.annotation.Resource;
 import org.springframework.stereotype.Service;
 
 /**
@@ -21,14 +20,12 @@
 @Service
 public class PromotionBannerServiceImpl extends ServiceImpl<PromotionBannerMapper, PromotionBanner> implements IPromotionBannerService {
 
-    @Resource
-    private IPromotionBannerService iPromotionBannerService;
     @Override
     public List<PromotionBanner> getBaanerList(Integer bannerType) {
         LambdaQueryWrapper<PromotionBanner> wrapper= Wrappers.lambdaQuery();
         wrapper.eq(PromotionBanner::getBannerType,bannerType);
         wrapper.eq(PromotionBanner::getDelFlag,0);
         wrapper.orderByDesc(PromotionBanner::getSortNum);
-        return iPromotionBannerService.list(wrapper);
+        return this.list(wrapper);
     }
 }

--
Gitblit v1.7.1