Pārlūkot izejas kodu

统计添加分部数据筛选,过滤没有声部老师的学生

yuanliang 1 gadu atpakaļ
vecāks
revīzija
1d21c5f360

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

@@ -34,7 +34,7 @@
         <where>
             s.membership_end_time_ >= now()
             <if test="statQuery.organizationId != null and statQuery.organizationId.trim() !=''">
-                and find_in_set(o.id_,statQuery.organizationId)
+                and find_in_set(o.id_,#{statQuery.organizationId})
             </if>
         </where>
         group by o.id_