| | |
| | | import com.mzl.flower.dto.response.flower.FlowerCategoryTreeDTO; |
| | | import com.mzl.flower.entity.flower.FlowerCategory; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.time.LocalDate; |
| | |
| | | |
| | | @Repository |
| | | public interface FlowerCategoryMapper extends BaseMapper<FlowerCategory> { |
| | | List<FlowerCategoryTreeDTO> selectCategoryList(@Param("condition") FlowerCategoryQueryDTO dto); |
| | | |
| | | List<FlowerCategoryTreeDTO> selectTreeList(@Param("condition") FlowerCategoryQueryDTO dto); |
| | | |
| | | void clearParamByParamId(@Param("paramId") Long paramId); |
| | |
| | | |
| | | List<FlowerCategoryDailyDTO> selectHomeCategoryDaily(Page page |
| | | , @Param("partnerId") Long partnerId, @Param("day") LocalDate day); |
| | | |
| | | |
| | | @Select("select * from t_flower_category where id = #{id}") |
| | | FlowerCategory selectCategoryById(Long id); |
| | | } |