ting.yin преди 5 години
родител
ревизия
2f68fc562b

+ 2 - 2
stmms-web/src/main/java/cn/com/qmth/stmms/admin/thread/ScoreCalculateThread.java

@@ -118,8 +118,8 @@ public class ScoreCalculateThread implements Runnable {
     }
 
     private void calculate(ExamStudent student) {
-        // 未上传或缺考考生不统分
-        if (!student.isUpload() || student.isAbsent()) {
+        // 未上传、缺考、违纪的考生不统分
+        if (!student.isUpload() || student.isAbsent() || student.isBreach()) {
             return;
         }
         try {

+ 2 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/exam/libraryList.jsp

@@ -54,9 +54,9 @@
             <input type="text" name="studentId" id="studentId" value="${query.studentId}" maxlength="10" class="input-medium"onkeyup="this.value=this.value.replace(/\D/g,'')"/>
             &nbsp;
             <label>总分:从</label>
-			<input  type="text" number="true" id="startScroe"  name="startScroe"value="${query.startScroe}" class="input-medium"onkeyup="this.value=this.value.replace(/\D/g,'')"/>
+			<input  type="number" id="startScroe"  name="startScroe"value="${query.startScroe}" class="input-medium"/>
 			<label> 到&nbsp;&nbsp;&nbsp;</label>
-			<input type="text"  number="true" id="endScroe" name="endScroe"  value="${query.endScroe}"  class="input-medium"onkeyup="this.value=this.value.replace(/\D/g,'')"/>
+			<input type="number"  id="endScroe" name="endScroe"  value="${query.endScroe}"  class="input-medium"/>
 			
 			<input id="btnSubmit" class="btn btn-primary" type="button" value="查询" onclick="goSearch()"/>
 		</div>