From ff3f4ff4c8a6da4c1650611e11a4551680b10d77 Mon Sep 17 00:00:00 2001 From: luo <2855143437@qq.com> Date: 星期二, 26 九月 2023 21:26:22 +0800 Subject: [PATCH] 9.26。6 --- cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java | 8 ++++++++ 1 files changed, 8 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..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 @@ -8,12 +8,20 @@ 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); -- Gitblit v1.7.1