Explorar el Código

Merge branch 'saas' of http://git.dayaedu.com/yonge/mec into master_saas

zouxuan hace 2 años
padre
commit
887a64a8c2

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

@@ -306,6 +306,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>