From a1e4cfc3de4f3f3f3956b769bc7af40d097c8a4c Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期二, 17 十月 2023 15:12:57 +0800 Subject: [PATCH] 修改bug --- 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