浏览代码

老师端支持查看教材课件

zouxuan 1 年之前
父节点
当前提交
4d4684d6ee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cms/src/main/resources/config/mybatis/SysNewsInformationMapper.xml

+ 1 - 1
cms/src/main/resources/config/mybatis/SysNewsInformationMapper.xml

@@ -314,7 +314,7 @@
 			AND memo_ = #{memo}
 		</if>
 		<if test="organIds != null and organIds !=''">
-			AND INTE_ARRAY(#{organIds},organ_id_list_)
+			AND INTE_ARRAY(#{organIds},organ_id_list_) OR organ_id_list_ IS NULL OR organ_id_list_ = ''
 		</if>
 		ORDER BY order_ DESC
 	</select>