刘俊驰 4 месяцев назад
Родитель
Сommit
eafd23ca73
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/SubjectMapper.xml

+ 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