Selaa lähdekoodia

小小训练营bug修复

zouxuan 2 vuotta sitten
vanhempi
commit
a5cdcb3777

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/TempLittleArtistTrainingCampMapper.xml

@@ -236,6 +236,9 @@
         <if test="musicGroupIds != null and musicGroupIds != ''">
           (INTE_ARRAY(tlatc.music_group_ids_,#{musicGroupIds}) OR tlatc.music_group_ids_ IS NULL) AND
         </if>
+        <if test="musicGroupIds == null or musicGroupIds == ''">
+          tlatc.music_group_ids_ IS NULL AND
+        </if>
         (FIND_IN_SET(#{organId},tlatc.organ_ids_) OR tlatc.organ_ids_ IS NULL)
         and tlatc.del_flag_ = 0 and tlatc.enable_flag_ = 1 order by id_ DESC
     </select>