Authored by mingdan.ge

update

1 package com.yoho.search.dal; 1 package com.yoho.search.dal;
2 2
3 import com.yoho.search.dal.model.Videos; 3 import com.yoho.search.dal.model.Videos;
  4 +import org.apache.ibatis.annotations.Param;
4 5
5 import java.util.List; 6 import java.util.List;
6 7
@@ -15,7 +16,7 @@ public interface VideosMapper { @@ -15,7 +16,7 @@ public interface VideosMapper {
15 16
16 int selectCountByPrimaryKey(Integer id); 17 int selectCountByPrimaryKey(Integer id);
17 18
18 - List<Videos> selectByIds(List<Integer> ids); 19 + List<Videos> selectByIds(@Param("ids") List<Integer> ids);
19 20
20 int updateByPrimaryKeySelective(Videos record); 21 int updateByPrimaryKeySelective(Videos record);
21 22