瀏覽代碼

Merge remote-tracking branch 'origin/master'

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