Joburgess 5 years ago
parent
commit
195c2e8df0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

+ 2 - 0
mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

@@ -521,6 +521,7 @@
             sys_user su
         WHERE
             1=1
+			AND FIND_IN_SET('STUDENT',su.user_type_)
             <if test="organIdList!=null">
                 AND su.organ_id_ IN
                 <foreach collection="organIdList" item="organId" open="(" close=")" separator=",">
@@ -545,6 +546,7 @@
             sys_user su
         WHERE
             1=1
+			AND FIND_IN_SET('STUDENT',su.user_type_)
             <if test="organIdList!=null">
             AND su.organ_id_ IN
                 <foreach collection="organIdList" item="organId" open="(" close=")" separator=",">