| | |
| | | import com.linghu.model.entity.Reference; |
| | | import com.linghu.service.ReferenceService; |
| | | import com.linghu.mapper.ReferenceMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * @author xy |
| | |
| | | @Service |
| | | public class ReferenceServiceImpl extends ServiceImpl<ReferenceMapper, Reference> |
| | | implements ReferenceService{ |
| | | @Resource |
| | | private ReferenceMapper referenceMapper; |
| | | |
| | | @Override |
| | | public Integer getMaxNumByKeywordId(Integer keywordId) { |
| | | return referenceMapper.getMaxNumByKeywordId(keywordId); |
| | | |
| | | } |
| | | } |
| | | |
| | | |