diff --git a/src/main/java/com/subsidy/service/impl/ContentVodMappingServiceImpl.java b/src/main/java/com/subsidy/service/impl/ContentVodMappingServiceImpl.java index fe3350f..e381d25 100644 --- a/src/main/java/com/subsidy/service/impl/ContentVodMappingServiceImpl.java +++ b/src/main/java/com/subsidy/service/impl/ContentVodMappingServiceImpl.java @@ -35,7 +35,8 @@ public class ContentVodMappingServiceImpl extends ServiceImpl getContendVods(GetContendVodsDTO getContendVodsDTO) { - return vodDictMapper.getContendVods( getContendVodsDTO.getVodName(), getContendVodsDTO.getContentId()); + List contendVods = vodDictMapper.getContendVods(getContendVodsDTO.getVodName(), getContendVodsDTO.getContentId()); + return contendVods; } @Override diff --git a/src/main/resources/mapper/VodDictMapper.xml b/src/main/resources/mapper/VodDictMapper.xml index 6c1bc0c..f0e9007 100644 --- a/src/main/resources/mapper/VodDictMapper.xml +++ b/src/main/resources/mapper/VodDictMapper.xml @@ -50,7 +50,7 @@ AND t3.delete_date IS NULL AND t3.content_id = #{contentId} - and vod_name like concat('%',#{vodName} ,'%') + and t3.vod_alias_name like concat('%',#{vodName} ,'%') order by t3.order_no, t2.order_no, t.order_no