Joburgess hace 5 años
padre
commit
4ca386fbb8

+ 2 - 2
edu-user/edu-user-server/src/main/java/com/keao/edu/user/service/impl/ExamSubjectSongServiceImpl.java

@@ -100,9 +100,9 @@ public class ExamSubjectSongServiceImpl extends BaseServiceImpl<Long, ExamSubjec
 				throw new BizException("参数错误");
 			}
 
-			if(!praNull){
+			if(!praNull&&perNull){
 				examSubjectSong.setPerformNum(0);
-			}else if(!perNull){
+			}else if(!perNull&&praNull){
 				examSubjectSong.setPracticeNum(0);
 			}
 

+ 1 - 1
edu-user/edu-user-server/src/main/resources/config/mybatis/ExamRegistrationPaymentMapper.xml

@@ -147,7 +147,7 @@
                 </foreach>
             </if>
             <if test="search!=null">
-                AND (erp.student_id_=#{serch} OR ec.card_no_ LIKE CONCAT('%', #{serch}, '%') OR su.real_name_ LIKE CONCAT('%', #{serch}, '%'))
+                AND (erp.student_id_=#{serch} OR eb.name_ LIKE CONCAT('%', #{serch}, '%') OR ec.card_no_ LIKE CONCAT('%', #{serch}, '%') OR su.real_name_ LIKE CONCAT('%', #{serch}, '%'))
             </if>
         </where>
     </sql>