刘俊驰 3 meses atrás
pai
commit
eafd23ca73

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/SubjectMapper.xml

@@ -291,7 +291,7 @@
         WHERE  sr.user_id_ IN
         <foreach collection="studentIds" item="userId" open="(" close=")" separator=",">
             #{userId}
-        </foreach>
+        </foreach> and sr.subject_id_list_ is not null
     </select>
     <select id="getSubjectListByIdAndCoopId" resultType="com.ym.mec.biz.dal.entity.Subject">
         SELECT