package com.ssj.service.sys.assessment.service;

import java.util.List;

import com.ssj.bean.sys.assessment.domain.TeacherAssess;
import com.ssj.framework.core.common.service.BaseService;
import com.ssj.framework.core.util.ResponseEntity;

/**
 * @author Mount Liu
 * @date 2019/2/26
 */
public interface TeacherAssessService extends BaseService<TeacherAssess, String> {

    /**
     * 根据老师id和作业id查询家长对老师的评价
     */
    TeacherAssess findByTeacherIdAndHomeworkId(String teacherId, String homeworkId);

    /**
     * 评价批改老师
     */
    ResponseEntity assessCorrectTeacher(String parentId, String teacherId, String homeworkId, Integer level, List<String> labelList);
}
