package com.cpop.jambox.business.mapper;

import com.mybatisflex.core.BaseMapper;
import com.cpop.jambox.business.entity.website.Development;

import java.util.List;

/**
 * 果酱模块化官网 发展历程表 映射层。
 *
 * @author Yxz
 * @since 2024-01-19
 */
public interface DevelopmentMapper extends BaseMapper<Development> {

    /**
     * 去重查找发布时间点
     *
     * @author: Yxz
     * @date: 2024/1/21 12:21
     * @param: []
     * @return: java.util.List<java.lang.String>
     **/
    List<String> selectDistinctPublishTime();

    /**
     * 根据发布时间点查找文章
     *
     * @author: Yxz
     * @date: 2024/1/21 14:32
     * @param: []
     * @return: java.util.List<com.cpop.jambox.business.entity.website.Development>
     **/
    List<Development> selectDevelopmentByPublishTime(String publishTime);
}
