Commit 94a7ae5e9a10056ca1da60ebc8635272f239fe05
1 parent
579f3266
1.报表页面文案修改
2.修改答案人数统计bug
Showing
2 changed files
with
2 additions
and
2 deletions
WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_report_1.jsp
| ... | ... | @@ -78,7 +78,7 @@ |
| 78 | 78 | <thead> |
| 79 | 79 | <tr> |
| 80 | 80 | <th class="center th_name"><div style="width:150px;">姓名</div></th> |
| 81 | - <th class="center "><div style="width:150px;" title="个人平均正确率=个人总分/试卷总分">个人平均正确率<img src="static/images/tip.png" style="width:16px"></div></th> | |
| 81 | + <th class="center "><div style="width:150px;" title="个人平均得分率=个人总分/试卷总分">个人平均得分率<img src="static/images/tip.png" style="width:16px"></div></th> | |
| 82 | 82 | <th class="center"><div style="width:80px;" title="得分汇总=学生历史考试得分之和">得分汇总<img src="static/images/tip.png" style="width:16px"></div></th> |
| 83 | 83 | <c:forEach items="${testpaperList}" var="var" varStatus="vs"> |
| 84 | 84 | <th class="center kc"><a | ... | ... |
src/com/fh/controller/sunvote/paper/PaperController.java
| ... | ... | @@ -453,7 +453,7 @@ public class PaperController extends BaseController { |
| 453 | 453 | if(queInfo.get(j).get("ANSWER")!=null&&!queInfo.get(j).get("ANSWER").toString().isEmpty()){ |
| 454 | 454 | for(int o=0;o<option_num;o++ ){ |
| 455 | 455 | String s = String.valueOf((char)(65+o)) ; |
| 456 | - if(queInfo.get(j).get("ANSWER").toString().equals(s)){ | |
| 456 | + if(queInfo.get(j).get("ANSWER").toString().indexOf(s)>-1){ | |
| 457 | 457 | answer[o]++; |
| 458 | 458 | } |
| 459 | 459 | } | ... | ... |