package com.goafanti.common.dao; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import com.goafanti.common.model.CopyrightInfo; import com.goafanti.copyright.bo.CopyrightContractListBo; import com.goafanti.copyright.bo.CopyrightInfoDetail; import com.goafanti.copyright.bo.CopyrightInfoSummary; public interface CopyrightInfoMapper { int deleteByPrimaryKey(String id); int insert(CopyrightInfo record); int insertSelective(CopyrightInfo record); CopyrightInfo selectByPrimaryKey(String id); CopyrightInfoDetail findByPrimaryKey(String id); int updateByPrimaryKeySelective(CopyrightInfo record); int updateByPrimaryKey(CopyrightInfo record); List findListByPage(Map params); int findListCount(Map params); int deleteByPrimaryKeys(List id); List selectByPrimaryKeys(List asList); Integer countCopyrightDone(@Param("uid")String uid, @Param("year")Integer year); List listContractCopyrightByContractId(String contractId); void batchInsert(List ci); int batchDeleteByContractId(List id); Integer findCopyrightInfoNumByUid(String uid); Integer countCopyrightUnDone(@Param("uid")String uid, @Param("year")Integer year); }