刘俊驰 3 ماه پیش
والد
کامیت
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
         WHERE  sr.user_id_ IN
         <foreach collection="studentIds" item="userId" open="(" close=")" separator=",">
         <foreach collection="studentIds" item="userId" open="(" close=")" separator=",">
             #{userId}
             #{userId}
-        </foreach>
+        </foreach> and sr.subject_id_list_ is not null
     </select>
     </select>
     <select id="getSubjectListByIdAndCoopId" resultType="com.ym.mec.biz.dal.entity.Subject">
     <select id="getSubjectListByIdAndCoopId" resultType="com.ym.mec.biz.dal.entity.Subject">
         SELECT
         SELECT