From 852681bc9257e9eaae64d027a9bc6d88f93f35b4 Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期六, 23 九月 2023 09:51:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java b/cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java
index 4327a96..929707c 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java
@@ -2,6 +2,12 @@
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.dsh.other.entity.Banner;
+import com.dsh.other.feignclient.model.AdvertisementChangeStateDTO;
+import com.dsh.other.feignclient.model.AdvertisementQuery;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.web.bind.annotation.PathVariable;
+
+import java.util.List;
 import com.dsh.other.entity.CreateHistoryDto;
 import com.dsh.other.entity.GetHistoryDto;
 import org.apache.ibatis.annotations.Param;
@@ -16,4 +22,7 @@
     void createHistory(@Param("createHistoryDto") CreateHistoryDto createHistoryDto);
 
     List<GetHistoryDto> getHistory(@Param("studentId") Integer studentId);
+    int changeState(@Param("ids") List<Integer> ids,@Param("state") Integer state);
+
+    List<Banner> listAll(@Param("query") AdvertisementQuery query);
 }

--
Gitblit v1.7.1