Commit 52d13bc2 by 邓敏

按别名查询

1 parent 40ad9df5
......@@ -35,7 +35,8 @@ public class ContentVodMappingServiceImpl extends ServiceImpl<ContentVodMappingM
@Override
public List<GetContendVodsVO> getContendVods(GetContendVodsDTO getContendVodsDTO) {
return vodDictMapper.getContendVods( getContendVodsDTO.getVodName(), getContendVodsDTO.getContentId());
List<GetContendVodsVO> contendVods = vodDictMapper.getContendVods(getContendVodsDTO.getVodName(), getContendVodsDTO.getContentId());
return contendVods;
}
@Override
......
......@@ -50,7 +50,7 @@
AND t3.delete_date IS NULL
AND t3.content_id = #{contentId}
<if test="vodName != null and vodName !=''">
and vod_name like concat('%',#{vodName} ,'%')
and t3.vod_alias_name like concat('%',#{vodName} ,'%')
</if>
order by t3.order_no, t2.order_no, t.order_no
</select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!