|
|
@@ -273,10 +273,12 @@
|
|
|
<select id="selectFilePageList" resultType="com.xunmei.common.core.domain.edu.vo.SysLearningMaterialsFileListVo">
|
|
|
select id,org_id as orgId,title as title,org_name as orgName,file_list as file
|
|
|
from sys_learning_materials m
|
|
|
- where m.deleted = 0 and m.org_id in
|
|
|
- <foreach collection="request.orgIdList" item="item" open="(" separator="," close=")">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
+ where m.deleted = 0 and ( m.org_id in
|
|
|
+ <foreach collection="request.orgIdList" item="item" open="(" separator="," close=")">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ or m.org_path like CONCAT(#{request.orgPath},'%')
|
|
|
+ )
|
|
|
<include refid="filePageList"/>
|
|
|
order by m.org_id, m.create_time desc
|
|
|
</select>
|