DataAssessmentItemMapper.java
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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);
}