|
@@ -740,7 +740,10 @@
|
|
AND mg.educational_teacher_id_ IS NOT NULL
|
|
AND mg.educational_teacher_id_ IS NOT NULL
|
|
</select>
|
|
</select>
|
|
<select id="findByCooperationId" resultMap="MusicGroup">
|
|
<select id="findByCooperationId" resultMap="MusicGroup">
|
|
- SELECT * FROM music_group WHERE status_ = 'PROGRESS' AND cooperation_organ_id_ = #{cooperationId}
|
|
|
|
|
|
+ SELECT * FROM music_group WHERE cooperation_organ_id_ = #{cooperationId}
|
|
|
|
+ <if test="musicStatus != null">
|
|
|
|
+ AND status_ = #{musicStatus}
|
|
|
|
+ </if>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="getStudentLastMusicGroup" resultMap="MusicGroup">
|
|
<select id="getStudentLastMusicGroup" resultMap="MusicGroup">
|