From a21e7c0c99e35481c0b352763e0f7987eef742bf Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期一, 23 十月 2023 09:45:10 +0800 Subject: [PATCH] 10.23bug2 --- cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java | 12 ++++++++++++ 1 files changed, 12 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 58b8146..b96cda8 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 @@ -8,13 +8,25 @@ 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; /** * @author zhibing.pu * @date 2023/7/11 17:46 */ public interface BannerMapper extends BaseMapper<Banner> { + 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<Banner> list1(Integer position); } -- Gitblit v1.7.1