feiyu02
2022-07-04 c93ad66797e4830ccf4de81c1e8787ab90b22791
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
package cn.flightfeather.supervision.lightshare.service
 
import cn.flightfeather.supervision.domain.entity.Evaluation
import cn.flightfeather.supervision.lightshare.vo.AssessmentGradeVo
import cn.flightfeather.supervision.lightshare.vo.AssessmentSearchCondition
import cn.flightfeather.supervision.lightshare.vo.CreditInfoVo
import cn.flightfeather.supervision.lightshare.vo.GradeDetailVo
import javax.servlet.http.HttpServletResponse
 
 
interface EvaluationService {
    fun findOne(id:String): Evaluation
 
    fun findAll(): MutableList<Evaluation>
 
    fun save(evaluation: Evaluation): Int
 
    fun update(evaluation: Evaluation): Int
 
    fun delete(id:String): Int
 
    fun getTotalPoints(userId: String, evaluatorType: Int, startTime: String, endTime: String, sceneTypeId: Int? = null, erGuid: String? = null, eId: String? = null): List<Evaluation>
 
    fun getHistoryPoint(userId: String, page: Int, per_page: Int, response: HttpServletResponse): List<AssessmentGradeVo>
 
    fun getCreditInfo(userId: String): CreditInfoVo
 
    fun getAssessments(userId: String, condition: AssessmentSearchCondition, page: Int, perPage: Int, response: HttpServletResponse): List<AssessmentGradeVo>
 
    fun autoScore(year: Int, month: Int, sceneType: Int, response: HttpServletResponse): HttpServletResponse
 
    fun uploadScore(userId: String, period: String, ruleId: String?, itemList: List<Pair<String, String>>): Boolean
 
    fun getDetail(userId: String, period: String): GradeDetailVo
}