浏览代码

Merge branch 'online1' of http://git.dayaedu.com/yonge/mec into network_room

zouxuan 4 年之前
父节点
当前提交
201391dd2d
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mec-biz/src/main/resources/config/mybatis/SysExamSongMapper.xml

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/SysExamSongMapper.xml

@@ -98,6 +98,9 @@
 					AND ses.create_user_id_ = #{createUserId}
 				</if>
 			</if>
+			<if test="subjectId != null">
+				AND FIND_IN_SET(#{subjectId},ses.subject_ids_)
+			</if>
 		</where>
 	</sql>
 	<!-- 分页查询 -->