package com.linghu.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 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 * @description 针对表【reference】的数据库操作Service实现 * @createDate 2025-07-04 20:17:33 */ @Service public class ReferenceServiceImpl extends ServiceImpl implements ReferenceService{ @Resource private ReferenceMapper referenceMapper; @Override public Integer getMaxNumByKeywordId(Integer keywordId) { return referenceMapper.getMaxNumByKeywordId(keywordId); } }