无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
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,7 +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<BannerVo> list1(Integer position);
}