| | |
| | | package com.ycl.platform.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ycl.platform.domain.dto.CheckResultExportDTO; |
| | | import com.ycl.platform.domain.dto.CheckScoreDTO; |
| | | import com.ycl.platform.domain.dto.CheckScoreIndexDTO; |
| | | import com.ycl.platform.domain.entity.CheckScore; |
| | | import com.ycl.platform.domain.query.DashboardQuery; |
| | | import com.ycl.platform.domain.vo.CheckScoreDetailVO; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 考核积分明细Service接口 |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-22 |
| | | */ |
| | | public interface ICheckScoreService |
| | | public interface ICheckScoreService extends IService<CheckScore> |
| | | { |
| | | /** |
| | | * 查询考核积分明细 |
| | | * |
| | | * @param id 考核积分明细主键 |
| | | * |
| | | * @param |
| | | * @return 考核积分明细 |
| | | */ |
| | | public CheckScoreDetailVO selectCheckScoreById(Long id); |
| | | public CheckScoreDetailVO selectCheckScoreById(CheckScoreIndexDTO checkScoreIndexDTO); |
| | | |
| | | /** |
| | | * 查询考核积分明细列表 |
| | | * |
| | | * |
| | | * @param checkScore 考核积分明细 |
| | | * @return 考核积分明细集合 |
| | | */ |
| | | public Map<Long, List<CheckScore>> selectCheckScoreList(CheckScore checkScore); |
| | | |
| | | /** |
| | | * 新增考核积分明细 |
| | | * |
| | | * @param checkScore 考核积分明细 |
| | | * @return 结果 |
| | | * 查询考核积分折线图数据 |
| | | * |
| | | * @param checkScore 考核积分参数 |
| | | * @return 考核积分折线图 |
| | | */ |
| | | public int insertCheckScore(CheckScore checkScore); |
| | | Map<Long, List<CheckScore>> selectCheckScoreChart(CheckScore checkScore); |
| | | |
| | | /** |
| | | * 修改考核积分明细 |
| | | * |
| | | * @param checkScore 考核积分明细 |
| | | * @return 结果 |
| | | */ |
| | | public int updateCheckScore(CheckScore checkScore); |
| | | |
| | | /** |
| | | * 批量删除考核积分明细 |
| | | * |
| | | * @param ids 需要删除的考核积分明细主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteCheckScoreByIds(Long[] ids); |
| | | |
| | | /** |
| | | * 删除考核积分明细信息 |
| | | * |
| | | * @param id 考核积分明细主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteCheckScoreById(Long id); |
| | | |
| | | int publishCheckScore(CheckScoreDTO checkScoreDTO); |
| | | |
| | | List<CheckScore> page(CheckScore checkScore); |
| | | |
| | | void exportIndex(HttpServletResponse response, CheckResultExportDTO exportDTO) throws IOException; |
| | | |
| | | /** |
| | | * 首页考核预警 |
| | | * @return 数据 |
| | | */ |
| | | List<Map<String, Object>> home(); |
| | | |
| | | |
| | | /** |
| | | * 首页核算 |
| | | * @return 核算 |
| | | */ |
| | | List<Map<String, Object>> calculate(String category); |
| | | |
| | | Map<String, Map<String, Object>> dashboard(DashboardQuery dashboardQuery); |
| | | // /** |
| | | // * 新增考核积分明细 |
| | | // * |
| | | // * @param checkScore 考核积分明细 |
| | | // * @return 结果 |
| | | // */ |
| | | // public int insertCheckScore(CheckScore checkScore); |
| | | // |
| | | // /** |
| | | // * 修改考核积分明细 |
| | | // * |
| | | // * @param checkScore 考核积分明细 |
| | | // * @return 结果 |
| | | // */ |
| | | // public int updateCheckScore(CheckScore checkScore); |
| | | // |
| | | // /** |
| | | // * 批量删除考核积分明细 |
| | | // * |
| | | // * @param ids 需要删除的考核积分明细主键集合 |
| | | // * @return 结果 |
| | | // */ |
| | | // public int deleteCheckScoreByIds(Long[] ids); |
| | | // |
| | | // /** |
| | | // * 删除考核积分明细信息 |
| | | // * |
| | | // * @param id 考核积分明细主键 |
| | | // * @return 结果 |
| | | // */ |
| | | // public int deleteCheckScoreById(Long id); |
| | | } |