From 58e344a0c14692fce547d64ea9295f866754fe63 Mon Sep 17 00:00:00 2001
From: luofl <1442745593@qq.com>
Date: 星期四, 03 四月 2025 18:19:26 +0800
Subject: [PATCH] 1
---
cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 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 58b8146..ae47290 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
@@ -4,8 +4,15 @@
import com.dsh.other.entity.Banner;
import com.dsh.other.feignclient.model.AdvertisementChangeStateDTO;
import com.dsh.other.feignclient.model.AdvertisementQuery;
+import com.dsh.other.model.BannerVo;
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;
import java.util.List;
@@ -14,7 +21,15 @@
* @date 2023/7/11 17:46
*/
public interface BannerMapper extends BaseMapper<Banner> {
- int changeState(@Param("ids") List<Integer> ids,@Param("state") Integer state);
+ 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);
+
+ String getFirst();
+
+ List<BannerVo> list1(Integer position);
}
--
Gitblit v1.7.1