UserFollowMapper.java 749 B

123456789101112131415161718192021222324252627282930
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.UserFollow;
  3. import org.apache.ibatis.annotations.Param;
  4. import java.util.List;
  5. public interface UserFollowMapper {
  6. int deleteByPrimaryKey(Long id);
  7. int insert(UserFollow record);
  8. int insertSelective(UserFollow record);
  9. UserFollow selectByPrimaryKey(Long id);
  10. int updateByPrimaryKeySelective(UserFollow record);
  11. int updateByPrimaryKey(UserFollow record);
  12. int pushUserGuidance(@Param("id")String id, @Param("guidance")Integer guidance);
  13. List<UserFollow> selectbyUid(@Param("uid")String uid, @Param("aid")String aid);
  14. int selectByaidAndDate(@Param("aid") String aid, @Param("startTime") String startTime, @Param("endTime") String endTime);
  15. }