From 61bbd595ee2bc3c67b40878894dcc07174c6eea6 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 24 九月 2024 10:15:30 +0800 Subject: [PATCH] 玩湃微信商户分账 --- cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 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 b96cda8..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,10 +4,12 @@ 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; @@ -22,11 +24,12 @@ void createHistory(@Param("createHistoryDto") CreateHistoryDto createHistoryDto); List<GetHistoryDto> getHistory(@Param("studentId") Integer studentId); - int changeState(@Param("ids") List<Integer> ids,@Param("state") Integer state); + + 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); + List<BannerVo> list1(Integer position); } -- Gitblit v1.7.1