| | |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.activity.RecommendActivity; |
| | | |
| | | public interface RecommendActivityMapper { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | public interface RecommendActivityMapper extends BaseMapper<RecommendActivity> { |
| | | |
| | | int batchDeleteByPrimaryKey(long[] ids); |
| | | |
| | | int insert(RecommendActivity record); |
| | | |
| | | int insertSelective(RecommendActivity record); |
| | | |
| | | RecommendActivity selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(RecommendActivity record); |
| | | |
| | | int updateByPrimaryKey(RecommendActivity record); |
| | | |
| | | List<RecommendActivity> getRecommendActivityList(@Param("start") long start, @Param("count") int count); |
| | | |
| | | long getRecommendActivityCount(); |
| | | long getRecommendActivityCount(@Param("title") String title); |
| | | |
| | | long getRecommendActivityEffectiveCount(); |
| | | |
| | |
| | | @Param("count") int count); |
| | | |
| | | int addShareCount(@Param("id") Long id, @Param("count") int count); |
| | | |
| | | /** |
| | | * 查询待发布的动态 |
| | | * @return |
| | | */ |
| | | List<RecommendActivity> getNeedPublish(); |
| | | |
| | | } |