|
@@ -224,10 +224,10 @@
|
|
|
<!-- 根据乐团id获取乐团下所有班级 -->
|
|
|
<select id="findClassGroupByMusicGroupId" resultMap="ClassGroupTeachers">
|
|
|
SELECT * FROM class_group WHERE music_group_id_ = #{musicGroupId}
|
|
|
- <if test="type !=null and type !=''">
|
|
|
+ <if test="type !=null">
|
|
|
AND FIND_IN_SET(type_,#{type})
|
|
|
</if>
|
|
|
- <if test="classGroupId !=null and classGroupId !=''">
|
|
|
+ <if test="classGroupId !=null">
|
|
|
AND id_ = #{classGroupId}
|
|
|
</if>
|
|
|
AND del_flag_ = 0
|