IDataAssessmentItemService.java 1.8 KB
package com.skua.modules.assessment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.assessment.entity.DataAssessmentItem;
import com.skua.modules.assessment.model.DataAssessmentItemTreeModel;
import com.skua.modules.assessment.vo.DataAssessmentItemSubmitVO;

import java.util.List;
import java.util.Map;

/**
 * 专家考核评价标准评分项表
 */
public interface IDataAssessmentItemService extends IService<DataAssessmentItem> {
    /**
     * 查询数据 查出评分项部门,并以树结构数据格式响应给前端
     *
     * @param type
     * @return
     */
    List<DataAssessmentItemTreeModel> queryTreeList(String type, String dataMonth, String factoryId, String userId);


    /**
     * @return void
     * @Description 提交打分
     * @Date 2021-04-22 16:12
     * @Param [dataAssessmentItemSubmitVO]
     **/
    void submitScore(DataAssessmentItemSubmitVO dataAssessmentItemSubmitVO);

    /**
     *
     * @Description 获取打分详情
     * @Date 2021-04-22 17:48
     * @Param [dataAssessmentItemSubmitVO]
     * @return com.skua.modules.assessmentnew.vo.DataAssessmentItemSubmitVO
     **/
    DataAssessmentItemSubmitVO queryScore(DataAssessmentItemSubmitVO dataAssessmentItemSubmitVO);

    /**
     *
     * @Description 专家考核评价获取对应年份的考核结果列表
     * @Date 2021-04-23 10:37
     * @Param [year]
     * @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
     **/
    List<Map<String, Object>> queryResultList(String year);

    /**
     *
     * @Description 专家考核评价获取考核结果对应月份的厂站列表
     * @Date 2021-04-23 13:42
     * @Param [month]
     * @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
     **/
    List<Map<String, Object>> queryFacListByMonth(String month);
}