| package com.doumee.service.business; | 
|   | 
| import com.doumee.core.model.PageData; | 
| import com.doumee.core.model.PageWrap; | 
| import com.doumee.dao.business.model.Carousel; | 
| import com.doumee.dao.dto.FootDataDTO; | 
| import com.doumee.dao.vo.FootDataVO; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * 轮播图Service定义 | 
|  * @author 江蹄蹄 | 
|  * @since 2025/06/18 09:30 | 
|  */ | 
| public interface CarouselService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param carousel 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(Carousel carousel); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param carousel 实体对象 | 
|      */ | 
|     void delete(Carousel carousel); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param carousel 实体对象 | 
|      */ | 
|     void updateById(Carousel carousel); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param carousels 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<Carousel> carousels); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return Carousel | 
|      */ | 
|     Carousel findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param carousel 实体对象 | 
|      * @return Carousel | 
|      */ | 
|     Carousel findOne(Carousel carousel); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @return List<Carousel> | 
|      */ | 
|     List<Carousel> findList(); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<Carousel> | 
|      */ | 
|     PageData<Carousel> findPage(PageWrap<Carousel> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param carousel 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(Carousel carousel); | 
|   | 
|     /** | 
|      * 修改状态 | 
|      * @param carousel | 
|      */ | 
|     void updateStatus(Carousel carousel); | 
|   | 
|     /** | 
|      * 修改排序码 | 
|      * @param carousel | 
|      */ | 
|     void updateSortnum(Carousel carousel); | 
|   | 
|     FootDataVO getFoodDataVO(); | 
|   | 
|     void updFoodDataVO(FootDataDTO footDataDTO); | 
|   | 
| } |