CopyrightInfoMapper.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.goafanti.common.dao;
  2. import java.util.List;
  3. import java.util.Map;
  4. import org.apache.ibatis.annotations.Param;
  5. import com.goafanti.common.model.CopyrightInfo;
  6. import com.goafanti.copyright.bo.CopyrightContractListBo;
  7. import com.goafanti.copyright.bo.CopyrightInfoDetail;
  8. import com.goafanti.copyright.bo.CopyrightInfoSummary;
  9. public interface CopyrightInfoMapper {
  10. int deleteByPrimaryKey(String id);
  11. int insert(CopyrightInfo record);
  12. int insertSelective(CopyrightInfo record);
  13. CopyrightInfo selectByPrimaryKey(String id);
  14. CopyrightInfoDetail findByPrimaryKey(String id);
  15. int updateByPrimaryKeySelective(CopyrightInfo record);
  16. int updateByPrimaryKey(CopyrightInfo record);
  17. List<CopyrightInfoSummary> findListByPage(Map<String, Object> params);
  18. int findListCount(Map<String, Object> params);
  19. int deleteByPrimaryKeys(List<String> id);
  20. List<CopyrightInfo> selectByPrimaryKeys(List<String> asList);
  21. Integer countCopyrightDone(@Param("uid")String uid, @Param("year")Integer year);
  22. List<CopyrightContractListBo> listContractCopyrightByContractId(String contractId);
  23. void batchInsert(List<CopyrightInfo> ci);
  24. int batchDeleteByContractId(List<String> id);
  25. Integer findCopyrightInfoNumByUid(String uid);
  26. Integer countCopyrightUnDone(@Param("uid")String uid, @Param("year")Integer year);
  27. }