UserInterestMapper.java 809 B

123456789101112131415161718192021222324252627282930313233
  1. package com.goafanti.common.dao;
  2. import org.apache.ibatis.annotations.Param;
  3. import com.goafanti.common.model.UserInterest;
  4. public interface UserInterestMapper {
  5. int deleteByPrimaryKey(String id);
  6. int insert(UserInterest record);
  7. int insertSelective(UserInterest record);
  8. UserInterest selectByPrimaryKey(String id);
  9. int updateByPrimaryKeySelective(UserInterest record);
  10. int updateByPrimaryKey(UserInterest record);
  11. UserInterest findByFromUidAndToUid(@Param("fromUid")String fromUid, @Param("toUid")String toUid);
  12. Integer countByToUid(String toUid);
  13. int deleteInterest(@Param("uid")String uid, @Param("objectId")String objectId);
  14. int checkUidAndDid(@Param("uid")String uid, @Param("id")String id);
  15. int countInterest(String uid);
  16. }