Commit 96009ee8ed58ee88ff56889c211ce3f6f971fe0d
1 parent
c5f1ae25
修改报表中显示的数据
Showing
2 changed files
with
7 additions
and
7 deletions
WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_report_test.jsp
... | ... | @@ -58,12 +58,12 @@ |
58 | 58 | style="margin-top:0px;margin-bottom:0;"> |
59 | 59 | <thead> |
60 | 60 | <tr> |
61 | - <th class="center"><div style="width:109px;">键盘</div></th> | |
62 | - <th class="center"><div style="width:80px;">学号</div></th> | |
63 | 61 | <th class="center"><div style="width:80px;">姓名</div></th> |
62 | + <th class="center"><div style="width:80px;">排名</div></th> | |
64 | 63 | <th class="center"><div style="width:80px;">得分</div></th> |
64 | + <th class="center"><div style="width:80px;">学号</div></th> | |
65 | + <th class="center"><div style="width:109px;">键盘</div></th> | |
65 | 66 | <!-- <th class="center"><div style="width:80px;">正确率</div></th> --> |
66 | - <th class="center"><div style="width:80px;">排名</div></th> | |
67 | 67 | <c:forEach items="${questionInfo}" var="var" varStatus="vs"> |
68 | 68 | <th class="center"><div style="width:80px;margin:0 auto;">题目${vs.index+1}</div></th> |
69 | 69 | </c:forEach> |
... | ... | @@ -92,12 +92,12 @@ |
92 | 92 | <c:when test="${not empty studentInfo}"> |
93 | 93 | <c:forEach items="${studentInfo}" var="var" varStatus="vs"> |
94 | 94 | <tr> |
95 | - <td class="center"><div style="width:109px;">${var.KEYPAD_ID}</div></td> | |
96 | - <td class="center"><div style="width:80px;">${var.NUMBER}</div></td> | |
97 | 95 | <td class="center"><div style="width:80px;">${var.NAME}</div></td> |
96 | + <td class="center"><div style="width:80px;">${var.RANK_NUM}</div></td> | |
98 | 97 | <td class="center"><div style="width:80px;">${var.GETSCORE}</div></td> |
98 | + <td class="center"><div style="width:80px;">${var.NUMBER}</div></td> | |
99 | + <td class="center"><div style="width:109px;">${var.KEYPAD_ID}</div></td> | |
99 | 100 | <%-- <td class="center">${var.RIGHT}</td> --%> |
100 | - <td class="center"><div style="width:80px;">${var.RANK_NUM}</div></td> | |
101 | 101 | <c:forEach items="${questionInfo}" var="var1" varStatus="vs1"> |
102 | 102 | <td class="center" <c:if test="${var.detail[vs1.index].RIGHT== '1'}">style="background:#0bb8b9"</c:if>div style="width:80px;margin:0 auto;">${var.detail[vs1.index].ANSWER}</div></td> |
103 | 103 | </c:forEach> | ... | ... |
resources/dbconfig.properties
1 | 1 | #数据源 1 |
2 | -url:jdbc:mysql://47.107.98.47:3306/education2?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 | |
2 | +url:jdbc:mysql://47.107.98.47:3306/education?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 | |
3 | 3 | #url:jdbc:mysql://120.78.57.84:3306/education3?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 |
4 | 4 | #url:jdbc:mysql://192.168.0.3:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 |
5 | 5 | driverClassName:com.mysql.jdbc.Driver | ... | ... |