DataAssessmentItemMapper.java 1.1 KB
package com.skua.modules.assessment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skua.modules.assessment.entity.DataAssessmentItem;
import com.skua.modules.assessment.vo.DataAssessmentItemVO;
import org.apache.ibatis.annotations.Param;

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

/**
 * 专家考核评价标准评分项表
 */
public interface DataAssessmentItemMapper extends BaseMapper<DataAssessmentItem> {
    /**
     * 查询所有评分项
     *
     * @param type
     * @return
     */
    List<DataAssessmentItemVO> getAllList(String type);

    String queryTotalScore();

    List<Map> queryBaseList();

    List<Map> queryMessageTypeList();

    Map queryBaseAvg(@Param("time") String time);

    List<Map<String, Object>> queryResultList(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<String> queryFactoryIdList();

    Map<String, Object> queryExist(@Param("month") String month, @Param("fac") String fac);

    List<DataAssessmentItemVO> getHistory(@Param("type") String type, @Param("dataMonth") String dataMonth, @Param("userId") String userId);
}