Browse Source

202508122 考试交卷逻辑 错写 少写判断

贾小兵 2 weeks ago
parent
commit
b3ae6df3a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/admin/controller/student/Collection.php

+ 2 - 2
application/admin/controller/student/Collection.php

@@ -347,7 +347,7 @@ class Collection extends Backend
                                 }
 
 
-                                if($v['bw_id']!=$buwei_id){
+                                if($v['bw_id']!=$buwei_id && $v['xx_id']!='000100010000' && $v['pc_id']!='0001GZBW000A'){
                                     if($v['xx_id']==$xx_id){
                                         $buwei_score = 1+$buwei_score;
                                     }
@@ -375,7 +375,7 @@ class Collection extends Backend
                                 }
                             
                                 //排除方法  错写
-                                if($v['pc_id']!=$paichu_id){
+                                if($v['pc_id']!=$paichu_id && $v['xx_id']!='000100010000' && $v['pc_id']!='0001PCFF0031'){
                                     $buwei_score = 1+$buwei_score;
                                     $kscore = 1+$kscore;
                                     $content[] = [