记得上下班打卡 | git大法好,push需谨慎

Commit 2998972b authored by jiangxiulong's avatar jiangxiulong

artistsId

parent 10ccbb8e
...@@ -8,5 +8,5 @@ import org.apache.ibatis.annotations.Param; ...@@ -8,5 +8,5 @@ import org.apache.ibatis.annotations.Param;
import java.util.List; import java.util.List;
public interface SweetArtistsUrlMapper extends BaseMapper<SweetArtistsUrl> { public interface SweetArtistsUrlMapper extends BaseMapper<SweetArtistsUrl> {
List<SweetManualArtistResourceUrlArDto> selectListOfAid(@Param("artistId") String artistId); List<SweetManualArtistResourceUrlArDto> selectListOfAid(@Param("artistsId") String artistsId);
} }
...@@ -6,6 +6,6 @@ ...@@ -6,6 +6,6 @@
resultType="com.liquidnet.service.sweet.dto.SweetManualArtistResourceUrlArDto"> resultType="com.liquidnet.service.sweet.dto.SweetManualArtistResourceUrlArDto">
select url, type select url, type
from sweet_artists_url from sweet_artists_url
where artists_id = #{artistId} where artists_id = #{artistsId}
</select> </select>
</mapper> </mapper>
...@@ -51,7 +51,7 @@ public class RedisArDataUtils { ...@@ -51,7 +51,7 @@ public class RedisArDataUtils {
// 艺人 // 艺人
List<SweetManualArtistListArDto> artistList = sweetManualArtistsMapper.getManualListAr(performanceId); List<SweetManualArtistListArDto> artistList = sweetManualArtistsMapper.getManualListAr(performanceId);
for (SweetManualArtistListArDto artist : artistList) { for (SweetManualArtistListArDto artist : artistList) {
List<SweetManualArtistResourceUrlArDto> urlList = sweetArtistsUrlMapper.selectListOfAid(artist.getArtistId()); List<SweetManualArtistResourceUrlArDto> urlList = sweetArtistsUrlMapper.selectListOfAid(artist.getArtistsId());
artist.setResourceUrl(urlList); artist.setResourceUrl(urlList);
} }
for (SweetManualArtistStageListArDto stage : stageList) { for (SweetManualArtistStageListArDto stage : stageList) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment