学生得分,和评语显示

beetlsql3-dev
Mlxa0324 2 years ago
parent ef64bfe9c6
commit 4bdb5e82b3

@ -20,6 +20,7 @@ import org.beetl.sql.fetch.annotation.FetchSql;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
import java.util.Map;
/*
* --
@ -115,6 +116,14 @@ public class TeacherOpenCourseQuestionSetting extends BaseEntity {
/**======================================= 扩展数据 =====================================*/
// 附件题目的得分和评语
@FetchSql("select t.student_score, t.teacher_open_course_question_log_reply from teacher_open_course_question_log t " +
"where t.teacher_open_course_question_log_status = 1 " +
"and t.teacher_open_course_question_setting_id = #teacherOpenCourseQuestionSettingId# ")
@UpdateIgnore
@InsertIgnore
private Map fileQuestionInfo;
// 题目总数量
@FetchSql("select count(1) from resources_question_snapshot t " +
"where t.question_status = 1 " +

Loading…
Cancel
Save