fuliqi
2025-02-21 64efb660b2c119c00432434c0f651f8996483f18
ycl-server/src/main/java/com/ycl/platform/mapper/CheckScoreMapper.java
@@ -5,14 +5,16 @@
import com.ycl.platform.domain.dto.CheckScoreDTO;
import com.ycl.platform.domain.dto.ScoreIndexDTO;
import com.ycl.platform.domain.entity.CheckScore;
import com.ycl.platform.domain.query.DashboardQuery;
import enumeration.OperationType;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
 * 考核积分明细Mapper接口
 *
 *
 * @author ruoyi
 * @date 2024-04-22
 */
@@ -20,7 +22,7 @@
{
    /**
     * 查询考核积分明细
     *
     *
     * @param id 考核积分明细主键
     * @return 考核积分明细
     */
@@ -28,7 +30,7 @@
    /**
     * 查询考核积分明细列表
     *
     *
     * @param checkScore 考核积分明细
     * @return 考核积分明细集合
     */
@@ -36,7 +38,7 @@
    /**
     * 新增考核积分明细
     *
     *
     * @param checkScore 考核积分明细
     * @return 结果
     */
@@ -44,7 +46,7 @@
    /**
     * 修改考核积分明细
     *
     *
     * @param checkScore 考核积分明细
     * @return 结果
     */
@@ -52,7 +54,7 @@
    /**
     * 删除考核积分明细
     *
     *
     * @param id 考核积分明细主键
     * @return 结果
     */
@@ -60,7 +62,7 @@
    /**
     * 批量删除考核积分明细
     *
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
@@ -73,4 +75,27 @@
    void saveBatch(List<CheckScore> scoreList);
    List<CheckScore> selectCheckScoreMap(CheckScore checkScore);
    /**
     * 首页考核预警
     * @return 数据
     */
    List<Map<String, Object>> home(Date startTime,Date endTime);
    /**
     * 首页核算
     * @param startDate 本月第一天
     * @param endDate 当前时间
     * @param category 分类
     * @return 数据
     */
    List<Map<String, Object>> calculate(Date startDate, Date endDate, String category);
    CheckScore getLast(CheckScore checkScore);
    List<CheckScore> dashboard(DashboardQuery dashboardQuery);
    List<CheckScore> selectToday(String day);
}