瀏覽代碼

修复教师端伴奏旧接口代码丢失导致的查询bug

zouxuan 4 年之前
父節點
當前提交
46bb7c9c5e
共有 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>
 	<!-- 分页查询 -->