package cn.flightfeather.supervision.lightshare.service
|
|
import cn.flightfeather.supervision.domain.entity.Evaluation
|
import cn.flightfeather.supervision.lightshare.vo.*
|
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, platform: String?, period: String?, response: HttpServletResponse): List<AssessmentGradeVo>
|
|
fun getCreditInfo(userId: String, period: String?): CreditInfoVo
|
|
fun getCreditCount(userId: String, condition: UserSearchCondition): BaseResponse<CountVo>
|
|
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 updateScore(userId: String, period: String, ruleId: String?, itemList: List<Pair<String, String>>): Boolean
|
|
fun getDetail(userId: String, period: String): GradeDetailVo
|
|
fun searchGradeList(userId: String, condition: UserSearchCondition, page: Int, perPage: Int): BaseResponse<List<CreditInfoVo>>
|
}
|