DemandInterestMapper.java 854 B

12345678910111213141516171819202122232425262728293031
  1. package com.goafanti.common.dao;
  2. import org.apache.ibatis.annotations.Param;
  3. import com.goafanti.common.model.DemandInterest;
  4. public interface DemandInterestMapper {
  5. int deleteByPrimaryKey(@Param("id")String id,@Param("uid")String uid);
  6. int insert(DemandInterest record);
  7. int insertSelective(DemandInterest record);
  8. DemandInterest selectByPrimaryKey(String id);
  9. int updateByPrimaryKeySelective(DemandInterest record);
  10. int updateByPrimaryKey(DemandInterest record);
  11. DemandInterest selectDemandInterestByUidAndDemandId(String uid, String id);
  12. int countInterestById(@Param("id")String id);
  13. int checkUidAndDid(@Param("uid")String uid, @Param("id")String id);
  14. int deleteInterest(@Param("uid")String uid, @Param("objectId")String objectId);
  15. int checkCount(@Param("uid")String uid);
  16. }