소스 검색

修改學時審核

change 3 년 전
부모
커밋
afa3e4be49
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      zhongzheng-system/src/main/resources/mapper/modules/user/UserMapper.xml

+ 2 - 2
zhongzheng-system/src/main/resources/mapper/modules/user/UserMapper.xml

@@ -161,10 +161,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="userId != null and userId != ''" >
             AND u.user_id = #{userId}
         </if>
-        <if test="gradePoint != null and gradePoint =1" >
+        <if test="gradePoint != null and gradePoint == 1" >
             AND (SELECT COUNT(u.user_id) FROM class_grade_user cgu where 1=1 AND u.status in (1) and cgu.user_id= u.user_id) > 0
         </if>
-        <if test="gradePoint != null and gradePoint =2" >
+        <if test="gradePoint != null and gradePoint == 2" >
             AND (SELECT COUNT(u.user_id) FROM class_grade_user cgu where 1=1 AND u.status in (1) and cgu.user_id= u.user_id) = 0
         </if>
     </select>