Browse Source

小小训练营

zouxuan 2 years ago
parent
commit
d27e43dcee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

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

@@ -1265,7 +1265,7 @@
     </select>
     <select id="getStudentCloudStudySequenceDays" resultType="java.util.Map">
         select user_id_ 'key',cloud_study_sequence_days_ 'value' from student where user_id_ IN
-        <foreach collection="studentIds" open="(" close=")" item="userId">
+        <foreach collection="studentIds" open="(" close=")" item="userId" separator=",">
             #{userId}
         </foreach>
     </select>