Documentation ¶
Index ¶
- type DraftPaperService
- func (draftPaperService *DraftPaperService) ConvertDraftCheck(info request.ConvertDraft) (IsOk bool, err error)
- func (draftPaperService *DraftPaperService) ConvertDraftToPaper(info request.ConvertDraft, userId uint) (PaperID uint, err error)
- func (draftPaperService *DraftPaperService) CreateExamPaperDraft(examPaper examManage.ExamPaperDraft) (examPaper1 examManage.ExamPaperDraft, err error)
- func (draftPaperService *DraftPaperService) DeleteExamPaperDraft(ids request.IdsReq) (err error)
- func (draftPaperService *DraftPaperService) GetExamPaperDraft(id uint) (examPaper response.ExamPaperResponse1, err error)
- func (draftPaperService *DraftPaperService) GetPaperDraftInfoList(info request.DraftPaperSearch, userId uint, authorityID uint) (list []examManage.ExamPaperDraft1, total int64, err error)
- func (draftPaperService *DraftPaperService) UpdateExamPaperDraft(examPaper examManage.ExamPaperDraft) (err error)
- type ExamPaperService
- func (examPaperService *ExamPaperService) CheckPaperIsUsed(id uint) (count int64)
- func (examPaperService *ExamPaperService) CreateExamPaper(examPaper examManage.ExamPaper) (err error)
- func (examPaperService *ExamPaperService) DeleteExamPaper(examPaper examManage.ExamPaper) (err error)
- func (examPaperService *ExamPaperService) DeleteExamPaperByIds(ids request.IdsReq) (err error)
- func (examPaperService *ExamPaperService) DeletePaperMerge(examPaper examManage.ExamPaper) error
- func (examPaperService *ExamPaperService) FindLateJoinStd(pid uint) (diffArray []int64, err error)
- func (examPaperService *ExamPaperService) FindTemplateId(examPaper examManage.ExamPaper) (tId int64, err error)
- func (examPaperService *ExamPaperService) GetExamPaper(id uint) (examPaper response.ExamPaperResponse, PaperTitle examManage.ExamPaper, ...)
- func (examPaperService *ExamPaperService) GetExamPaper1(id uint) (examPaper response.ExamPaperResponse2, PaperTitle examManage.ExamPaper, ...)
- func (examPaperService *ExamPaperService) GetExamPaperInfoList(info examManageReq.ExamPaperSearch, userId uint, authorityID uint) (list []examManage.ExamPaper, total int64, err error)
- func (examPaperService *ExamPaperService) GetPaperNum(PlanId uint) (number []int64, err error)
- func (examPaperService *ExamPaperService) GetPlanStatus(PlanId uint) (status bool, err error)
- func (examPaperService *ExamPaperService) GetTemplate(info examManage.ExamPaper) (list []examManage.PaperTemplateItem, err error)
- func (examPaperService *ExamPaperService) LateStdsDistribution(PlanId uint, studentList []int64, number []int64) (err error)
- func (examPaperService *ExamPaperService) PaperDistribution(PlanId uint, number []int64) (err error)
- func (examPaperService *ExamPaperService) SetPaperBlankQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
- func (examPaperService *ExamPaperService) SetPaperChoiceQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
- func (examPaperService *ExamPaperService) SetPaperJudgeQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
- func (examPaperService *ExamPaperService) SetPaperProgramQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
- func (examPaperService *ExamPaperService) SetPaperQuestion(info []examManage.PaperTemplateItem, Id uint) (err error)
- func (examPaperService *ExamPaperService) SetPaperTargetQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
- func (examPaperService *ExamPaperService) UpdateExamPaper(examPaper examManage.ExamPaper) (Bool bool, err error)
- type ExamService
- func (ExamService *ExamService) CheckIsDistributed(pid uint) (isDistributed bool, err error)
- func (ExamService *ExamService) CheckIsReady(pid uint) (isReady bool, err error)
- func (ExamService *ExamService) CommitExamPapers(examPaperCommit examManage.CommitExamPaper) (err error)
- func (ExamService *ExamService) CommitExamPapers1(examPaperCommit examManage.CommitExamPaper) (err error)
- func (ExamService *ExamService) CommitProgram(program examManage.CommitProgram) (err error)
- func (ExamService *ExamService) CreateStatus(examComing request.ExamComing, IP string) (status examManage.StudentPaperStatus, err error)
- func (ExamService *ExamService) CreateStatusRecord(examComing request.ExamComing, IP string) (status examManage.ExamRecord, err error)
- func (ExamService *ExamService) ExportMultiPaperScore(studentList []int, planList []uint, filePath string) (err error)
- func (ExamService *ExamService) ExportPaperScore(pid uint, studentList []uint, infoList []examManage.ExamScore, filePath string, ...) (err error)
- func (ExamService *ExamService) ExportPaperScore1(infoList []teachplan.Score) (content io.ReadSeeker, err error)
- func (ExamService *ExamService) ExportPaperToHtml(pid uint, dirName string) (content io.ReadSeeker, err error)
- func (ExamService *ExamService) ExportPaperToHtml1(pid uint, dirName string) (content io.ReadSeeker, err error)
- func (ExamService *ExamService) ExportPaperToHtmlToCheck(pid uint, dirName string, examPaper response.ExamPaperResponse2, ...) (content io.ReadSeeker, err error)
- func (ExamService *ExamService) ExportPaperToHtmlToCheck1(pid uint, dirName string, examPaper response.ExamPaperResponse2, ...) (content io.ReadSeeker, err error)
- func (ExamService *ExamService) ExportScore(infoList []teachplan.Score, filePath string) (err error)
- func (ExamService *ExamService) FindExamPlan(planId uint) teachplan.ExamPlan
- func (ExamService *ExamService) FindExamPlans(teachClassId uint, sid uint) (examPlans []response2.PlanRp, err error)
- func (ExamService *ExamService) FindTargetExamPlans(teachClassId uint, sId uint) (planAndStatus []response2.ExamPlanRp1, err error)
- func (ExamService *ExamService) GetAllQues(id uint, sId uint) (infoList []uint, err error)
- func (ExamService *ExamService) GetAllQuesAnswer(pId uint, sId uint) (examPaperCommit examManage.CommitExamPaper2, IsNull bool, err error)
- func (ExamService *ExamService) GetBlankAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
- func (ExamService *ExamService) GetBlankNum(pid uint) (num int64, err error)
- func (ExamService *ExamService) GetBlankScore(pid uint, sid uint) (ScoreList []int, err error)
- func (ExamService *ExamService) GetChoiceAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
- func (ExamService *ExamService) GetChoiceNum(pid uint) (num int64, err error)
- func (ExamService *ExamService) GetChoiceScore(pid uint, sid uint) (ScoreList []float64, err error)
- func (ExamService *ExamService) GetExamPapers(examComing request.ExamComing, IP string) (PaperId int64, sChoice []*response.ChoiceComponent, ...)
- func (ExamService *ExamService) GetExamPapersAndScores(examComing request.ExamComing, IP string) (examPaper response.ExamPaperResponse2, status examManage.StudentPaperStatus, ...)
- func (ExamService *ExamService) GetExamPapersBySql(examComing request.ExamComing, IP string) (examPaper response.ExamPaperResponse, status examManage.StudentPaperStatus, ...)
- func (ExamService *ExamService) GetExamScore(info request.ExamStudentScore, studentId uint) (studentScore []response.ExamScoreResponse, total int64, err error)
- func (ExamService *ExamService) GetExamScoreToExcel(id uint) (infoList []examManage.ExamScore, err error)
- func (ExamService *ExamService) GetExamScoreToHtml(id uint) (infoList []examManage.ExamScore, err error)
- func (ExamService *ExamService) GetJudgeAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
- func (ExamService *ExamService) GetJudgeNum(pid uint) (num int64, err error)
- func (ExamService *ExamService) GetJudgeScore(pid uint, sid uint) (ScoreList []float64, err error)
- func (ExamService *ExamService) GetMultiExamScoreToExcel(id uint) (infoList []examManage.ExamScore, err error)
- func (ExamService *ExamService) GetMultiPaperScore(ctx context.Context, studentList []basicdata.Student, planList []uint) (infoList [][]interface{}, err error)
- func (ExamService *ExamService) GetPaperQuesNum(pid uint) (num []examManage.QuesNum, err error)
- func (ExamService *ExamService) GetPlanDetail(pid uint) (plan teachplan.ExamPlan, err error)
- func (ExamService *ExamService) GetPlanList(id uint) (infoList []uint, err error)
- func (ExamService *ExamService) GetPlanListDetail(id uint) (infoList []teachplan.ExamPlan, err error)
- func (ExamService *ExamService) GetPlanStatus(planId uint, sId uint) (isCommit bool, err error)
- func (ExamService *ExamService) GetProgramAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
- func (ExamService *ExamService) GetProgramNum(pid uint) (num int64, err error)
- func (ExamService *ExamService) GetProgramScore(pid uint, sid uint) (ScoreList []float64, err error)
- func (ExamService *ExamService) GetStudentList(id uint) (infoList []uint, err error)
- func (ExamService *ExamService) GetStudentListByTeachPlan(id uint) (infoList []int, err error)
- func (ExamService *ExamService) GetStudentListDetailByTeachPlan(id uint) (infoList []basicdata.Student, err error)
- func (ExamService *ExamService) GetStudentPaperId(examComing request.ExamComing) (Id int64, err error)
- func (ExamService *ExamService) GetTargetAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
- func (ExamService *ExamService) GetTargetNum(pid uint) (num int64, err error)
- func (ExamService *ExamService) GetTargetScore(pid uint, sid uint) (ScoreList []float64, err error)
- func (ExamService *ExamService) GetTeachScore(id uint) (infoList []teachplan.Score, err error)
- func (ExamService *ExamService) IsFinishPreExam(planId uint, studentId uint) (result bool, err error, preExamIds []string)
- func (ExamService *ExamService) QueryExamPapers(studentId uint, planId uint, mergeId uint) (string, bool)
- func (ExamService *ExamService) QuerySaveExamPapers(studentId uint, planId uint, mergeId uint) (string, bool)
- func (ExamService *ExamService) SaveAnswer(ans string, isCommit bool, v uint) (list response.SaveExamPaper)
- func (ExamService *ExamService) SaveExamPapers(examPaperCommit examManage.CommitExamPaper2) (err error)
- func (ExamService *ExamService) SetExamPre(pid uint) (err error)
- func (ExamService *ExamService) UpdateExamPapers(examPaperCommit examManage.CommitExamPaper) (err error)
- func (ExamService *ExamService) UpdateTargetExamPapers(examPaperCommit request.CommitTargetExamPaper) (err error)
- func (ExamService *ExamService) UploadExamPicture(planId uint, fullPath string, studentId uint, studentName string, ...) error
- type ExamStatusService
- func (examStatusServices *ExamStatusService) GaSStudentsOfExam() (students []uint, err error)
- func (student_paper_status *ExamStatusService) GetScore(StudentId uint, PlanId uint) (status examManage.ExamScore, err error)
- func (student_paper_status *ExamStatusService) GetStatus(StudentId uint, PlanId uint) (status examManage.StudentPaperStatus, err error)
- type ExamStudentPaperService
- func (examstudentPaperService *ExamStudentPaperService) CheckIsCommit(st teachplan.CoverRq) (bool bool, err error)
- func (examstudentPaperService *ExamStudentPaperService) CreateExamStudentPaper(examStudentPaper examManageReq.ExamComing) (studentPaper examManage.ExamStudentPaper, err error)
- func (examstudentPaperService *ExamStudentPaperService) DeleteAnswer(pid uint, sid uint) (err error)
- func (examstudentPaperService *ExamStudentPaperService) DeleteExamStudentPaper(examstudentPaper examManage.ExamStudentPaper) (err error)
- func (examstudentPaperService *ExamStudentPaperService) DeleteExamStudentPaperByIds(ids request.IdsReq) (err error)
- func (examstudentPaperService *ExamStudentPaperService) ForceCommitStudent(pid, sid uint) (err error)
- func (examstudentPaperService *ExamStudentPaperService) GetCommitRecord(info examManageReq.RecordRq) (recordList []response.RecordRp, err error)
- func (examstudentPaperService *ExamStudentPaperService) GetDistribution(pid uint) (count int64, err error)
- func (examstudentPaperService *ExamStudentPaperService) GetExamStudentPaper(id uint) (examstudentPaper examManage.ExamStudentPaper, err error)
- func (examstudentPaperService *ExamStudentPaperService) GetExamStudentPaperInfoList(info examManageReq.ExamStudentPaperSearch) (list []examManage.ExamStudentPaper, total int64, err error)
- func (examstudentPaperService *ExamStudentPaperService) PaperCheating(info examManageReq.PaperCheating) (err error)
- func (examstudentPaperService *ExamStudentPaperService) RecoverByRecord(pid, sid, rid uint) (err error)
- func (examstudentPaperService *ExamStudentPaperService) RecoverStudentPower(sid uint, pid uint) (err error)
- func (examstudentPaperService *ExamStudentPaperService) ReportScore(st teachplan.CoverRqs) (err error)
- func (examstudentPaperService *ExamStudentPaperService) ReportStudentScore(pid uint, sid uint) (err error)
- func (examstudentPaperService *ExamStudentPaperService) ReviewScore(info examManageReq.PaperReview) (score []response.ExamScoreResponse1, total int64, err error)
- func (examstudentPaperService *ExamStudentPaperService) StudentPaperStatus(info examManageReq.StatusMonitor) (scores []response.PaperStatus, total int64, err error)
- func (examstudentPaperService *ExamStudentPaperService) UpdateExamStudentPaper(examstudentPaper examManage.ExamStudentPaper) (err error)
- type PaperQuestionMergeService
- func (paperQuestionMergeService *PaperQuestionMergeService) CreatePaperQuestionMerge(paperQuestionMerge examManage.PaperQuestionMerge) (err error)
- func (paperQuestionMergeService *PaperQuestionMergeService) DeletePaperQuestionMerge(paperQuestionMerge examManage.PaperQuestionMerge) (err error)
- func (paperQuestionMergeService *PaperQuestionMergeService) DeletePaperQuestionMergeByIds(ids request.IdsReq) (err error)
- func (paperQuestionMergeService *PaperQuestionMergeService) GetPaperQuestionMerge(id uint) (paperQuestionMerge examManage.PaperQuestionMerge, err error)
- func (paperQuestionMergeService *PaperQuestionMergeService) GetPaperQuestionMergeInfoList(info examManageReq.PaperQuestionMergeSearch) (list []examManage.PaperQuestionMerge, total int64, err error)
- func (paperQuestionMergeService *PaperQuestionMergeService) UpdatePaperQuestionMerge(paperQuestionMerge examManage.PaperQuestionMerge) (err error)
- type PaperTemplateItemService
- func (paperTemplateItemService *PaperTemplateItemService) CreatePaperTemplateItem(paperTemplateItem examManage.PaperTemplateItem) (err error)
- func (paperTemplateItemService *PaperTemplateItemService) DeletePaperTemplateItem(paperTemplateItem examManage.PaperTemplateItem) (err error)
- func (paperTemplateItemService *PaperTemplateItemService) DeletePaperTemplateItemByIds(ids request.IdsReq) (err error)
- func (paperTemplateItemService *PaperTemplateItemService) GetPaperId(info examManage.PaperTemplateItem) (paperId uint)
- func (paperTemplateItemService *PaperTemplateItemService) GetPaperTemplateItem(id uint) (paperTemplateItem examManage.PaperTemplateItem, err error)
- func (paperTemplateItemService *PaperTemplateItemService) GetPaperTemplateItemInfoList(info examManageReq.PaperTemplateItemSearch) (list []examManage.PaperTemplateItem, total int64, err error)
- func (paperTemplateItemService *PaperTemplateItemService) UpdatePaperTemplateItem(paperTemplateItem []examManage.PaperTemplateItem) (err error)
- type PaperTemplateService
- func (PapertemplateService *PaperTemplateService) CheckPaperBlankTemplate(info examManage.PaperTemplateItem) (IsOk bool, err error)
- func (PapertemplateService *PaperTemplateService) CheckPaperChoiceTemplate(info examManage.PaperTemplateItem) (IsOk bool, err error)
- func (PapertemplateService *PaperTemplateService) CheckPaperJudgeTemplate(info examManage.PaperTemplateItem) (IsOk bool, err error)
- func (PapertemplateService *PaperTemplateService) CheckPaperProgramTemplate(info examManage.PaperTemplateItem) (IsOk bool, err error)
- func (PapertemplateService *PaperTemplateService) CheckPaperTemplate(info []examManage.PaperTemplateItem) (IsOk bool, err error)
- func (PapertemplateService *PaperTemplateService) CreatePaperTemplate(Papertemplate examManage.PaperTemplate) (err error)
- func (PapertemplateService *PaperTemplateService) DeletePaperTemplate(Id uint) (err error)
- func (PapertemplateService *PaperTemplateService) DeletePaperTemplateByIds(ids request.IdsReq) (err error)
- func (PapertemplateService *PaperTemplateService) GetDetails(lessonId uint) (templates response.Template, err error)
- func (PapertemplateService *PaperTemplateService) GetPaperTemplate(id uint) (Papertemplate examManage.PaperTemplate, err error)
- func (PapertemplateService *PaperTemplateService) GetPaperTemplateInfoList(info examManageReq.PaperTemplateSearch, userId int, authorityId uint) (list []examManage.PaperTemplate, total int64, err error)
- func (PapertemplateService *PaperTemplateService) UpdatePaperTemplate(Papertemplate examManage.PaperTemplate) (err error)
- type ServiceGroup
- type TargetExamPaperService
- func (targetExamService *TargetExamPaperService) CommitTargetExamPapers(examPaperCommit request.CommitTargetExamPaper) (err error)
- func (targetExamService *TargetExamPaperService) CreateStatus(examComing request.ExamComing, IP string) (status examManage.StudentPaperStatus, err error)
- func (targetExamService *TargetExamPaperService) CreateStatusRecord(examComing request.ExamComing, IP string) (status examManage.ExamRecord, err error)
- func (targetExamService *TargetExamPaperService) GetTargetExamPapers(examComing request.ExamComing, ip string) (examPaper response.TargetExamPaperResponse, ...)
- func (targetExamService *TargetExamPaperService) GetTargetExamPapersByRedis(examComing request.ExamComing, ip string) (examPaper response.TargetExamPaperResponse, ...)
- func (targetExamService *TargetExamPaperService) GetTargetExamScore(info request.ExamStudentScore, studentId uint) (studentScore []response.ExamScoreResponse, total int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DraftPaperService ¶
type DraftPaperService struct { }
func (*DraftPaperService) ConvertDraftCheck ¶
func (draftPaperService *DraftPaperService) ConvertDraftCheck(info request.ConvertDraft) (IsOk bool, err error)
func (*DraftPaperService) ConvertDraftToPaper ¶
func (draftPaperService *DraftPaperService) ConvertDraftToPaper(info request.ConvertDraft, userId uint) (PaperID uint, err error)
func (*DraftPaperService) CreateExamPaperDraft ¶
func (draftPaperService *DraftPaperService) CreateExamPaperDraft(examPaper examManage.ExamPaperDraft) (examPaper1 examManage.ExamPaperDraft, err error)
func (*DraftPaperService) DeleteExamPaperDraft ¶
func (draftPaperService *DraftPaperService) DeleteExamPaperDraft(ids request.IdsReq) (err error)
func (*DraftPaperService) GetExamPaperDraft ¶
func (draftPaperService *DraftPaperService) GetExamPaperDraft(id uint) (examPaper response.ExamPaperResponse1, err error)
func (*DraftPaperService) GetPaperDraftInfoList ¶
func (draftPaperService *DraftPaperService) GetPaperDraftInfoList(info request.DraftPaperSearch, userId uint, authorityID uint) (list []examManage.ExamPaperDraft1, total int64, err error)
func (*DraftPaperService) UpdateExamPaperDraft ¶
func (draftPaperService *DraftPaperService) UpdateExamPaperDraft(examPaper examManage.ExamPaperDraft) (err error)
type ExamPaperService ¶
type ExamPaperService struct { }
func (*ExamPaperService) CheckPaperIsUsed ¶
func (examPaperService *ExamPaperService) CheckPaperIsUsed(id uint) (count int64)
func (*ExamPaperService) CreateExamPaper ¶
func (examPaperService *ExamPaperService) CreateExamPaper(examPaper examManage.ExamPaper) (err error)
CreateExamPaper 创建ExamPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamPaperService) DeleteExamPaper ¶
func (examPaperService *ExamPaperService) DeleteExamPaper(examPaper examManage.ExamPaper) (err error)
DeleteExamPaper 删除ExamPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamPaperService) DeleteExamPaperByIds ¶
func (examPaperService *ExamPaperService) DeleteExamPaperByIds(ids request.IdsReq) (err error)
DeleteExamPaperByIds 批量删除ExamPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamPaperService) DeletePaperMerge ¶
func (examPaperService *ExamPaperService) DeletePaperMerge(examPaper examManage.ExamPaper) error
func (*ExamPaperService) FindLateJoinStd ¶
func (examPaperService *ExamPaperService) FindLateJoinStd(pid uint) (diffArray []int64, err error)
func (*ExamPaperService) FindTemplateId ¶
func (examPaperService *ExamPaperService) FindTemplateId(examPaper examManage.ExamPaper) (tId int64, err error)
func (*ExamPaperService) GetExamPaper ¶
func (examPaperService *ExamPaperService) GetExamPaper(id uint) (examPaper response.ExamPaperResponse, PaperTitle examManage.ExamPaper, err error)
GetExamPaper 根据id获取ExamPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamPaperService) GetExamPaper1 ¶
func (examPaperService *ExamPaperService) GetExamPaper1(id uint) (examPaper response.ExamPaperResponse2, PaperTitle examManage.ExamPaper, err error)
func (*ExamPaperService) GetExamPaperInfoList ¶
func (examPaperService *ExamPaperService) GetExamPaperInfoList(info examManageReq.ExamPaperSearch, userId uint, authorityID uint) (list []examManage.ExamPaper, total int64, err error)
GetExamPaperInfoList 分页获取ExamPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamPaperService) GetPaperNum ¶
func (examPaperService *ExamPaperService) GetPaperNum(PlanId uint) (number []int64, err error)
func (*ExamPaperService) GetPlanStatus ¶
func (examPaperService *ExamPaperService) GetPlanStatus(PlanId uint) (status bool, err error)
该考试计划是否已经分发试卷
func (*ExamPaperService) GetTemplate ¶
func (examPaperService *ExamPaperService) GetTemplate(info examManage.ExamPaper) (list []examManage.PaperTemplateItem, err error)
func (*ExamPaperService) LateStdsDistribution ¶
func (examPaperService *ExamPaperService) LateStdsDistribution(PlanId uint, studentList []int64, number []int64) (err error)
func (*ExamPaperService) PaperDistribution ¶
func (examPaperService *ExamPaperService) PaperDistribution(PlanId uint, number []int64) (err error)
func (*ExamPaperService) SetPaperBlankQuestion ¶
func (examPaperService *ExamPaperService) SetPaperBlankQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
func (*ExamPaperService) SetPaperChoiceQuestion ¶
func (examPaperService *ExamPaperService) SetPaperChoiceQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
func (*ExamPaperService) SetPaperJudgeQuestion ¶
func (examPaperService *ExamPaperService) SetPaperJudgeQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
func (*ExamPaperService) SetPaperProgramQuestion ¶
func (examPaperService *ExamPaperService) SetPaperProgramQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
func (*ExamPaperService) SetPaperQuestion ¶
func (examPaperService *ExamPaperService) SetPaperQuestion(info []examManage.PaperTemplateItem, Id uint) (err error)
func (*ExamPaperService) SetPaperTargetQuestion ¶
func (examPaperService *ExamPaperService) SetPaperTargetQuestion(info examManage.PaperTemplateItem, Id uint) (err error)
func (*ExamPaperService) UpdateExamPaper ¶
func (examPaperService *ExamPaperService) UpdateExamPaper(examPaper examManage.ExamPaper) (Bool bool, err error)
UpdateExamPaper 更新ExamPaper记录 Author [piexlmax](https://github.com/piexlmax)
type ExamService ¶
type ExamService struct { }
func (*ExamService) CheckIsDistributed ¶
func (ExamService *ExamService) CheckIsDistributed(pid uint) (isDistributed bool, err error)
func (*ExamService) CheckIsReady ¶
func (ExamService *ExamService) CheckIsReady(pid uint) (isReady bool, err error)
func (*ExamService) CommitExamPapers ¶
func (ExamService *ExamService) CommitExamPapers(examPaperCommit examManage.CommitExamPaper) (err error)
提交试卷
func (*ExamService) CommitExamPapers1 ¶
func (ExamService *ExamService) CommitExamPapers1(examPaperCommit examManage.CommitExamPaper) (err error)
已废弃
func (*ExamService) CommitProgram ¶
func (ExamService *ExamService) CommitProgram(program examManage.CommitProgram) (err error)
func (*ExamService) CreateStatus ¶
func (ExamService *ExamService) CreateStatus(examComing request.ExamComing, IP string) (status examManage.StudentPaperStatus, err error)
func (*ExamService) CreateStatusRecord ¶
func (ExamService *ExamService) CreateStatusRecord(examComing request.ExamComing, IP string) (status examManage.ExamRecord, err error)
func (*ExamService) ExportMultiPaperScore ¶
func (ExamService *ExamService) ExportMultiPaperScore(studentList []int, planList []uint, filePath string) (err error)
func (*ExamService) ExportPaperScore ¶
func (ExamService *ExamService) ExportPaperScore(pid uint, studentList []uint, infoList []examManage.ExamScore, filePath string, quesNum uint) (err error)
func (*ExamService) ExportPaperScore1 ¶
func (ExamService *ExamService) ExportPaperScore1(infoList []teachplan.Score) (content io.ReadSeeker, err error)
func (*ExamService) ExportPaperToHtml ¶
func (ExamService *ExamService) ExportPaperToHtml(pid uint, dirName string) (content io.ReadSeeker, err error)
func (*ExamService) ExportPaperToHtml1 ¶
func (ExamService *ExamService) ExportPaperToHtml1(pid uint, dirName string) (content io.ReadSeeker, err error)
func (*ExamService) ExportPaperToHtmlToCheck ¶
func (ExamService *ExamService) ExportPaperToHtmlToCheck(pid uint, dirName string, examPaper response.ExamPaperResponse2, PaperTitle examManage.ExamPaper) (content io.ReadSeeker, err error)
func (*ExamService) ExportPaperToHtmlToCheck1 ¶
func (ExamService *ExamService) ExportPaperToHtmlToCheck1(pid uint, dirName string, examPaper response.ExamPaperResponse2, PaperTitle examManage.ExamPaper) (content io.ReadSeeker, err error)
func (*ExamService) ExportScore ¶
func (ExamService *ExamService) ExportScore(infoList []teachplan.Score, filePath string) (err error)
func (*ExamService) FindExamPlan ¶
func (ExamService *ExamService) FindExamPlan(planId uint) teachplan.ExamPlan
func (*ExamService) FindExamPlans ¶
func (*ExamService) FindTargetExamPlans ¶
func (ExamService *ExamService) FindTargetExamPlans(teachClassId uint, sId uint) (planAndStatus []response2.ExamPlanRp1, err error)
func (*ExamService) GetAllQues ¶
func (ExamService *ExamService) GetAllQues(id uint, sId uint) (infoList []uint, err error)
func (*ExamService) GetAllQuesAnswer ¶
func (ExamService *ExamService) GetAllQuesAnswer(pId uint, sId uint) (examPaperCommit examManage.CommitExamPaper2, IsNull bool, err error)
func (*ExamService) GetBlankAllScore ¶
func (ExamService *ExamService) GetBlankAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
func (*ExamService) GetBlankNum ¶
func (ExamService *ExamService) GetBlankNum(pid uint) (num int64, err error)
func (*ExamService) GetBlankScore ¶
func (ExamService *ExamService) GetBlankScore(pid uint, sid uint) (ScoreList []int, err error)
func (*ExamService) GetChoiceAllScore ¶
func (ExamService *ExamService) GetChoiceAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
func (*ExamService) GetChoiceNum ¶
func (ExamService *ExamService) GetChoiceNum(pid uint) (num int64, err error)
func (*ExamService) GetChoiceScore ¶
func (ExamService *ExamService) GetChoiceScore(pid uint, sid uint) (ScoreList []float64, err error)
func (*ExamService) GetExamPapers ¶
func (ExamService *ExamService) GetExamPapers(examComing request.ExamComing, IP string) (PaperId int64, sChoice []*response.ChoiceComponent, mChoice []*response.ChoiceComponent, judge []*response.JudgeComponent, blank []*response.BlankComponent, program []*response.ProgramComponent, status examManage.StudentPaperStatus, examScore examManage.ExamScore, err error)
func (*ExamService) GetExamPapersAndScores ¶
func (ExamService *ExamService) GetExamPapersAndScores(examComing request.ExamComing, IP string) (examPaper response.ExamPaperResponse2, status examManage.StudentPaperStatus, err error)
func (*ExamService) GetExamPapersBySql ¶
func (ExamService *ExamService) GetExamPapersBySql(examComing request.ExamComing, IP string) (examPaper response.ExamPaperResponse, status examManage.StudentPaperStatus, examScore examManage.ExamScore, err error)
func (*ExamService) GetExamScore ¶
func (ExamService *ExamService) GetExamScore(info request.ExamStudentScore, studentId uint) (studentScore []response.ExamScoreResponse, total int64, err error)
func (*ExamService) GetExamScoreToExcel ¶
func (ExamService *ExamService) GetExamScoreToExcel(id uint) (infoList []examManage.ExamScore, err error)
func (*ExamService) GetExamScoreToHtml ¶
func (ExamService *ExamService) GetExamScoreToHtml(id uint) (infoList []examManage.ExamScore, err error)
func (*ExamService) GetJudgeAllScore ¶
func (ExamService *ExamService) GetJudgeAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
func (*ExamService) GetJudgeNum ¶
func (ExamService *ExamService) GetJudgeNum(pid uint) (num int64, err error)
func (*ExamService) GetJudgeScore ¶
func (ExamService *ExamService) GetJudgeScore(pid uint, sid uint) (ScoreList []float64, err error)
func (*ExamService) GetMultiExamScoreToExcel ¶
func (ExamService *ExamService) GetMultiExamScoreToExcel(id uint) (infoList []examManage.ExamScore, err error)
func (*ExamService) GetMultiPaperScore ¶
func (*ExamService) GetPaperQuesNum ¶
func (ExamService *ExamService) GetPaperQuesNum(pid uint) (num []examManage.QuesNum, err error)
func (*ExamService) GetPlanDetail ¶
func (ExamService *ExamService) GetPlanDetail(pid uint) (plan teachplan.ExamPlan, err error)
func (*ExamService) GetPlanList ¶
func (ExamService *ExamService) GetPlanList(id uint) (infoList []uint, err error)
func (*ExamService) GetPlanListDetail ¶
func (ExamService *ExamService) GetPlanListDetail(id uint) (infoList []teachplan.ExamPlan, err error)
func (*ExamService) GetPlanStatus ¶
func (ExamService *ExamService) GetPlanStatus(planId uint, sId uint) (isCommit bool, err error)
func (*ExamService) GetProgramAllScore ¶
func (ExamService *ExamService) GetProgramAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
func (*ExamService) GetProgramNum ¶
func (ExamService *ExamService) GetProgramNum(pid uint) (num int64, err error)
func (*ExamService) GetProgramScore ¶
func (ExamService *ExamService) GetProgramScore(pid uint, sid uint) (ScoreList []float64, err error)
func (*ExamService) GetStudentList ¶
func (ExamService *ExamService) GetStudentList(id uint) (infoList []uint, err error)
func (*ExamService) GetStudentListByTeachPlan ¶
func (ExamService *ExamService) GetStudentListByTeachPlan(id uint) (infoList []int, err error)
func (*ExamService) GetStudentListDetailByTeachPlan ¶
func (ExamService *ExamService) GetStudentListDetailByTeachPlan(id uint) (infoList []basicdata.Student, err error)
func (*ExamService) GetStudentPaperId ¶
func (ExamService *ExamService) GetStudentPaperId(examComing request.ExamComing) (Id int64, err error)
func (*ExamService) GetTargetAllScore ¶
func (ExamService *ExamService) GetTargetAllScore(pid uint, sid uint) (sum examManage.AllScore, err error)
func (*ExamService) GetTargetNum ¶
func (ExamService *ExamService) GetTargetNum(pid uint) (num int64, err error)
func (*ExamService) GetTargetScore ¶
func (ExamService *ExamService) GetTargetScore(pid uint, sid uint) (ScoreList []float64, err error)
func (*ExamService) GetTeachScore ¶
func (ExamService *ExamService) GetTeachScore(id uint) (infoList []teachplan.Score, err error)
func (*ExamService) IsFinishPreExam ¶
func (*ExamService) QueryExamPapers ¶
func (*ExamService) QuerySaveExamPapers ¶
func (*ExamService) SaveAnswer ¶
func (ExamService *ExamService) SaveAnswer(ans string, isCommit bool, v uint) (list response.SaveExamPaper)
func (*ExamService) SaveExamPapers ¶
func (ExamService *ExamService) SaveExamPapers(examPaperCommit examManage.CommitExamPaper2) (err error)
func (*ExamService) SetExamPre ¶
func (ExamService *ExamService) SetExamPre(pid uint) (err error)
进入考试准备阶段
func (*ExamService) UpdateExamPapers ¶
func (ExamService *ExamService) UpdateExamPapers(examPaperCommit examManage.CommitExamPaper) (err error)
func (*ExamService) UpdateTargetExamPapers ¶
func (ExamService *ExamService) UpdateTargetExamPapers(examPaperCommit request.CommitTargetExamPaper) (err error)
func (*ExamService) UploadExamPicture ¶
type ExamStatusService ¶
type ExamStatusService struct { }
func (*ExamStatusService) GaSStudentsOfExam ¶
func (examStatusServices *ExamStatusService) GaSStudentsOfExam() (students []uint, err error)
查找那些教学班即将进行考试,并将对应教学班的学生拉入redis黑名单中
func (*ExamStatusService) GetScore ¶
func (student_paper_status *ExamStatusService) GetScore(StudentId uint, PlanId uint) (status examManage.ExamScore, err error)
func (*ExamStatusService) GetStatus ¶
func (student_paper_status *ExamStatusService) GetStatus(StudentId uint, PlanId uint) (status examManage.StudentPaperStatus, err error)
type ExamStudentPaperService ¶
type ExamStudentPaperService struct { }
func (*ExamStudentPaperService) CheckIsCommit ¶
func (examstudentPaperService *ExamStudentPaperService) CheckIsCommit(st teachplan.CoverRq) (bool bool, err error)
func (*ExamStudentPaperService) CreateExamStudentPaper ¶
func (examstudentPaperService *ExamStudentPaperService) CreateExamStudentPaper(examStudentPaper examManageReq.ExamComing) (studentPaper examManage.ExamStudentPaper, err error)
CreateExamStudentPaper 创建ExamStudentPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamStudentPaperService) DeleteAnswer ¶
func (examstudentPaperService *ExamStudentPaperService) DeleteAnswer(pid uint, sid uint) (err error)
删除学生考卷
func (*ExamStudentPaperService) DeleteExamStudentPaper ¶
func (examstudentPaperService *ExamStudentPaperService) DeleteExamStudentPaper(examstudentPaper examManage.ExamStudentPaper) (err error)
DeleteExamStudentPaper 删除ExamStudentPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamStudentPaperService) DeleteExamStudentPaperByIds ¶
func (examstudentPaperService *ExamStudentPaperService) DeleteExamStudentPaperByIds(ids request.IdsReq) (err error)
DeleteExamStudentPaperByIds 批量删除ExamStudentPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamStudentPaperService) ForceCommitStudent ¶
func (examstudentPaperService *ExamStudentPaperService) ForceCommitStudent(pid, sid uint) (err error)
func (*ExamStudentPaperService) GetCommitRecord ¶
func (examstudentPaperService *ExamStudentPaperService) GetCommitRecord(info examManageReq.RecordRq) (recordList []response.RecordRp, err error)
func (*ExamStudentPaperService) GetDistribution ¶
func (examstudentPaperService *ExamStudentPaperService) GetDistribution(pid uint) (count int64, err error)
func (*ExamStudentPaperService) GetExamStudentPaper ¶
func (examstudentPaperService *ExamStudentPaperService) GetExamStudentPaper(id uint) (examstudentPaper examManage.ExamStudentPaper, err error)
GetExamStudentPaper 根据id获取ExamStudentPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamStudentPaperService) GetExamStudentPaperInfoList ¶
func (examstudentPaperService *ExamStudentPaperService) GetExamStudentPaperInfoList(info examManageReq.ExamStudentPaperSearch) (list []examManage.ExamStudentPaper, total int64, err error)
GetExamStudentPaperInfoList 分页获取ExamStudentPaper记录 Author [piexlmax](https://github.com/piexlmax)
func (*ExamStudentPaperService) PaperCheating ¶
func (examstudentPaperService *ExamStudentPaperService) PaperCheating(info examManageReq.PaperCheating) (err error)
func (*ExamStudentPaperService) RecoverByRecord ¶
func (examstudentPaperService *ExamStudentPaperService) RecoverByRecord(pid, sid, rid uint) (err error)
func (*ExamStudentPaperService) RecoverStudentPower ¶
func (examstudentPaperService *ExamStudentPaperService) RecoverStudentPower(sid uint, pid uint) (err error)
恢复学生考试资格
func (*ExamStudentPaperService) ReportScore ¶
func (examstudentPaperService *ExamStudentPaperService) ReportScore(st teachplan.CoverRqs) (err error)
上报分数
func (*ExamStudentPaperService) ReportStudentScore ¶
func (examstudentPaperService *ExamStudentPaperService) ReportStudentScore(pid uint, sid uint) (err error)
func (*ExamStudentPaperService) ReviewScore ¶
func (examstudentPaperService *ExamStudentPaperService) ReviewScore(info examManageReq.PaperReview) (score []response.ExamScoreResponse1, total int64, err error)
查看成绩
func (*ExamStudentPaperService) StudentPaperStatus ¶
func (examstudentPaperService *ExamStudentPaperService) StudentPaperStatus(info examManageReq.StatusMonitor) (scores []response.PaperStatus, total int64, err error)
func (*ExamStudentPaperService) UpdateExamStudentPaper ¶
func (examstudentPaperService *ExamStudentPaperService) UpdateExamStudentPaper(examstudentPaper examManage.ExamStudentPaper) (err error)
UpdateExamStudentPaper 更新ExamStudentPaper记录 Author [piexlmax](https://github.com/piexlmax)
type PaperQuestionMergeService ¶
type PaperQuestionMergeService struct { }
func (*PaperQuestionMergeService) CreatePaperQuestionMerge ¶
func (paperQuestionMergeService *PaperQuestionMergeService) CreatePaperQuestionMerge(paperQuestionMerge examManage.PaperQuestionMerge) (err error)
CreatePaperQuestionMerge 创建PaperQuestionMerge记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperQuestionMergeService) DeletePaperQuestionMerge ¶
func (paperQuestionMergeService *PaperQuestionMergeService) DeletePaperQuestionMerge(paperQuestionMerge examManage.PaperQuestionMerge) (err error)
DeletePaperQuestionMerge 删除PaperQuestionMerge记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperQuestionMergeService) DeletePaperQuestionMergeByIds ¶
func (paperQuestionMergeService *PaperQuestionMergeService) DeletePaperQuestionMergeByIds(ids request.IdsReq) (err error)
DeletePaperQuestionMergeByIds 批量删除PaperQuestionMerge记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperQuestionMergeService) GetPaperQuestionMerge ¶
func (paperQuestionMergeService *PaperQuestionMergeService) GetPaperQuestionMerge(id uint) (paperQuestionMerge examManage.PaperQuestionMerge, err error)
GetPaperQuestionMerge 根据id获取PaperQuestionMerge记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperQuestionMergeService) GetPaperQuestionMergeInfoList ¶
func (paperQuestionMergeService *PaperQuestionMergeService) GetPaperQuestionMergeInfoList(info examManageReq.PaperQuestionMergeSearch) (list []examManage.PaperQuestionMerge, total int64, err error)
GetPaperQuestionMergeInfoList 分页获取PaperQuestionMerge记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperQuestionMergeService) UpdatePaperQuestionMerge ¶
func (paperQuestionMergeService *PaperQuestionMergeService) UpdatePaperQuestionMerge(paperQuestionMerge examManage.PaperQuestionMerge) (err error)
UpdatePaperQuestionMerge 更新PaperQuestionMerge记录 Author [piexlmax](https://github.com/piexlmax)
type PaperTemplateItemService ¶
type PaperTemplateItemService struct { }
func (*PaperTemplateItemService) CreatePaperTemplateItem ¶
func (paperTemplateItemService *PaperTemplateItemService) CreatePaperTemplateItem(paperTemplateItem examManage.PaperTemplateItem) (err error)
CreatePaperTemplateItem 创建PaperTemplateItem记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateItemService) DeletePaperTemplateItem ¶
func (paperTemplateItemService *PaperTemplateItemService) DeletePaperTemplateItem(paperTemplateItem examManage.PaperTemplateItem) (err error)
DeletePaperTemplateItem 删除PaperTemplateItem记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateItemService) DeletePaperTemplateItemByIds ¶
func (paperTemplateItemService *PaperTemplateItemService) DeletePaperTemplateItemByIds(ids request.IdsReq) (err error)
DeletePaperTemplateItemByIds 批量删除PaperTemplateItem记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateItemService) GetPaperId ¶
func (paperTemplateItemService *PaperTemplateItemService) GetPaperId(info examManage.PaperTemplateItem) (paperId uint)
func (*PaperTemplateItemService) GetPaperTemplateItem ¶
func (paperTemplateItemService *PaperTemplateItemService) GetPaperTemplateItem(id uint) (paperTemplateItem examManage.PaperTemplateItem, err error)
GetPaperTemplateItem 根据id获取PaperTemplateItem记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateItemService) GetPaperTemplateItemInfoList ¶
func (paperTemplateItemService *PaperTemplateItemService) GetPaperTemplateItemInfoList(info examManageReq.PaperTemplateItemSearch) (list []examManage.PaperTemplateItem, total int64, err error)
GetPaperTemplateItemInfoList 分页获取PaperTemplateItem记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateItemService) UpdatePaperTemplateItem ¶
func (paperTemplateItemService *PaperTemplateItemService) UpdatePaperTemplateItem(paperTemplateItem []examManage.PaperTemplateItem) (err error)
UpdatePaperTemplateItem 更新PaperTemplateItem记录 Author [piexlmax](https://github.com/piexlmax)
type PaperTemplateService ¶
type PaperTemplateService struct { }
func (*PaperTemplateService) CheckPaperBlankTemplate ¶
func (PapertemplateService *PaperTemplateService) CheckPaperBlankTemplate(info examManage.PaperTemplateItem) (IsOk bool, err error)
func (*PaperTemplateService) CheckPaperChoiceTemplate ¶
func (PapertemplateService *PaperTemplateService) CheckPaperChoiceTemplate(info examManage.PaperTemplateItem) (IsOk bool, err error)
func (*PaperTemplateService) CheckPaperJudgeTemplate ¶
func (PapertemplateService *PaperTemplateService) CheckPaperJudgeTemplate(info examManage.PaperTemplateItem) (IsOk bool, err error)
func (*PaperTemplateService) CheckPaperProgramTemplate ¶
func (PapertemplateService *PaperTemplateService) CheckPaperProgramTemplate(info examManage.PaperTemplateItem) (IsOk bool, err error)
func (*PaperTemplateService) CheckPaperTemplate ¶
func (PapertemplateService *PaperTemplateService) CheckPaperTemplate(info []examManage.PaperTemplateItem) (IsOk bool, err error)
func (*PaperTemplateService) CreatePaperTemplate ¶
func (PapertemplateService *PaperTemplateService) CreatePaperTemplate(Papertemplate examManage.PaperTemplate) (err error)
CreatePaperTemplate 创建PaperTemplate记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateService) DeletePaperTemplate ¶
func (PapertemplateService *PaperTemplateService) DeletePaperTemplate(Id uint) (err error)
DeletePaperTemplate 删除PaperTemplate记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateService) DeletePaperTemplateByIds ¶
func (PapertemplateService *PaperTemplateService) DeletePaperTemplateByIds(ids request.IdsReq) (err error)
DeletePaperTemplateByIds 批量删除PaperTemplate记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateService) GetDetails ¶
func (PapertemplateService *PaperTemplateService) GetDetails(lessonId uint) (templates response.Template, err error)
查找该课程下有哪些章节,章节下面各题目难度的题目数目
func (*PaperTemplateService) GetPaperTemplate ¶
func (PapertemplateService *PaperTemplateService) GetPaperTemplate(id uint) (Papertemplate examManage.PaperTemplate, err error)
GetPaperTemplate 根据id获取PaperTemplate记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateService) GetPaperTemplateInfoList ¶
func (PapertemplateService *PaperTemplateService) GetPaperTemplateInfoList(info examManageReq.PaperTemplateSearch, userId int, authorityId uint) (list []examManage.PaperTemplate, total int64, err error)
GetPaperTemplateInfoList 分页获取PaperTemplate记录 Author [piexlmax](https://github.com/piexlmax)
func (*PaperTemplateService) UpdatePaperTemplate ¶
func (PapertemplateService *PaperTemplateService) UpdatePaperTemplate(Papertemplate examManage.PaperTemplate) (err error)
UpdatePaperTemplate 更新PaperTemplate记录 Author [piexlmax](https://github.com/piexlmax)
type ServiceGroup ¶
type TargetExamPaperService ¶
type TargetExamPaperService struct { }
func (*TargetExamPaperService) CommitTargetExamPapers ¶
func (targetExamService *TargetExamPaperService) CommitTargetExamPapers(examPaperCommit request.CommitTargetExamPaper) (err error)
func (*TargetExamPaperService) CreateStatus ¶
func (targetExamService *TargetExamPaperService) CreateStatus(examComing request.ExamComing, IP string) (status examManage.StudentPaperStatus, err error)
func (*TargetExamPaperService) CreateStatusRecord ¶
func (targetExamService *TargetExamPaperService) CreateStatusRecord(examComing request.ExamComing, IP string) (status examManage.ExamRecord, err error)
func (*TargetExamPaperService) GetTargetExamPapers ¶
func (targetExamService *TargetExamPaperService) GetTargetExamPapers(examComing request.ExamComing, ip string) (examPaper response.TargetExamPaperResponse, status examManage.StudentPaperStatus, examScore examManage.ExamScore, err error)
func (*TargetExamPaperService) GetTargetExamPapersByRedis ¶
func (targetExamService *TargetExamPaperService) GetTargetExamPapersByRedis(examComing request.ExamComing, ip string) (examPaper response.TargetExamPaperResponse, status examManage.StudentPaperStatus, examScore examManage.ExamScore, err error)
func (*TargetExamPaperService) GetTargetExamScore ¶
func (targetExamService *TargetExamPaperService) GetTargetExamScore(info request.ExamStudentScore, studentId uint) (studentScore []response.ExamScoreResponse, total int64, err error)