|
@@ -231,7 +231,7 @@
|
|
</select>
|
|
</select>
|
|
<select id="findTrainingByStudent" resultType="com.ym.mec.biz.dal.entity.TempLittleArtistTrainingCamp">
|
|
<select id="findTrainingByStudent" resultType="com.ym.mec.biz.dal.entity.TempLittleArtistTrainingCamp">
|
|
select * from temp_little_artist_training_camp tlatc
|
|
select * from temp_little_artist_training_camp tlatc
|
|
- where (INTE_ARRAY(tlatc.music_group_ids_,#{musicGroupIds) OR tlatc.music_group_ids_ IS NULL) AND
|
|
|
|
|
|
+ where (INTE_ARRAY(tlatc.music_group_ids_,#{musicGroupIds}) OR tlatc.music_group_ids_ IS NULL) AND
|
|
(FIND_IN_SET(#{organId},tlatc.organ_ids_) OR tlatc.organ_ids_ IS NULL)
|
|
(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
|
|
and tlatc.del_flag_ = 0 and tlatc.enable_flag_ = 1 order by id_ DESC
|
|
</select>
|
|
</select>
|