Browse Source

修改學時審核

change 3 years ago
parent
commit
bfaedf008f

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

@@ -161,7 +161,7 @@ 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 != ''" >
+        <if test="gradePoint != null" >
             AND (SELECT COUNT(u.user_id) FROM class_grade_user u where 1=1 AND u.status in (1) and u.user_id= u.user_id) > 0
         </if>
     </select>