package com.mzl.flower.mapper.flower; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.mzl.flower.dto.request.flower.FlowerCategoryQueryDTO; import com.mzl.flower.dto.response.flower.FlowerCategoryDailyDTO; import com.mzl.flower.dto.response.flower.FlowerCategoryTreeDTO; import com.mzl.flower.entity.flower.FlowerCategory; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.time.LocalDate; import java.util.List; @Repository public interface FlowerCategoryMapper extends BaseMapper { List selectCategoryList(@Param("condition") FlowerCategoryQueryDTO dto); List selectTreeList(@Param("condition") FlowerCategoryQueryDTO dto); void clearParamByParamId(@Param("paramId") Long paramId); void setParamById(@Param("paramId") Long paramId, @Param("categoryIds") List categoryIds); List selectHomeCategoryDaily(Page page , @Param("partnerId") Long partnerId, @Param("day") LocalDate day); }