bed6e1fc
孙向锦
添加其他功能
|
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
36
37
38
|
package com.fh.service.api.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.fh.dao.DaoSupport;
import com.fh.service.api.V1Manager;
import com.fh.util.PageData;
@Service("v1Service")
public class V1Service implements V1Manager {
@Resource(name = "daoSupport")
private DaoSupport dao;
@Override
public List<PageData> getTeacherClassInfo(PageData pd) throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getTeacherClassInfo", pd);
}
@Override
public List<PageData> getTeacherSubjectInfo(PageData pd) throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getTeacherSubjectInfo", pd);
}
@Override
public List<PageData> getClassStudent(PageData pd) throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getClassStudent", pd);
}
@Override
public List<PageData> getTestPaperInfo(PageData pd) throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getTestPaperInfo", pd);
}
|
338594c8
孙向锦
添加教师端页面
|
39
40
41
42
43
44
|
@Override
public List<PageData> getQuestionsByPID(PageData pd) throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getQuestionsByPID", pd);
}
@Override
|
8246d00c
孙向锦
修复bug
|
45
46
47
48
49
50
51
|
public List<PageData> getTeacherInfoGrade(PageData pd) throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getTeacherInfoGrade", pd);
}
@Override
public PageData getTeacherInfo(PageData pd) throws Exception {
return (PageData)dao.findForObject("V1Mapper.getTeacherInfo", pd);
|
338594c8
孙向锦
添加教师端页面
|
52
|
}
|
757dfed6
孙向锦
样例报表
|
53
54
|
@Override
|
837ae11d
孙向锦
添加班長管理
|
55
56
|
public PageData getAdminInfo(PageData pd) throws Exception {
return (PageData)dao.findForObject("V1Mapper.getAdminInfo", pd);
|
6b3a5ad0
孙向锦
添加管理员界面
|
57
58
59
|
}
@Override
|
757dfed6
孙向锦
样例报表
|
60
61
62
|
public List<PageData> getQuestionWrongInfo(PageData pd) throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getQuestionWrongInfo", pd);
}
|
bda221f4
孙向锦
0830版本
|
63
64
65
66
67
|
@Override
public List<PageData> getLastWrongQuestionInfo(PageData pd) throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getLastWrongQuestionInfo", pd);
}
|
338594c8
孙向锦
添加教师端页面
|
68
|
|
6b3a5ad0
孙向锦
添加管理员界面
|
69
70
71
72
73
|
@Override
public List<PageData> getClassBySchoolAndGradle(PageData pd)
throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.getClassBySchoolAndGradle", pd);
}
|
3a163205
孙向锦
报表优化
|
74
75
76
77
78
79
|
@Override
public List<PageData> classReport(PageData pd)
throws Exception {
return (List<PageData>)dao.findForList("V1Mapper.classReport", pd);
}
|
6b3a5ad0
孙向锦
添加管理员界面
|
80
|
|
bed6e1fc
孙向锦
添加其他功能
|
81
|
}
|