hgw před 3 roky
rodič
revize
92c0078966

+ 2 - 0
mec-biz/src/main/resources/config/mybatis/MusicGroupPerformanceMapper.xml

@@ -97,7 +97,9 @@
 		SELECT mgp.* FROM music_group_performance mgp
 		LEFT JOIN music_group mg ON mg.id_ = mgp.music_group_id_
 		WHERE DATEDIFF(DATE_FORMAT(start_time_, '%Y-%m-%d'),DATE_FORMAT(NOW(), '%Y-%m-%d')) >= 0
+        <if test="educationUserId != null">
 			AND mg.educational_teacher_id_ = #{educationUserId}
+		</if>
 		<if test="organIds != null and organIds != ''">
 			AND FIND_IN_SET(mg.organ_id_,#{organIds})
 		</if>