From 8e1aafc0534a4a87e47ad3c09aa4762cbda76849 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期六, 21 十月 2023 16:53:50 +0800 Subject: [PATCH] 10.20.4 --- cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java | 21 +++++++++++++++++++++ 1 files changed, 21 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 0f3cbeb..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 @@ -2,10 +2,31 @@ 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; + +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