guyue
2 天以前 d3b6555513c6c0e283bd6e891d4e080aefa6003a
src/main/java/com/linghu/service/impl/ReferenceServiceImpl.java
@@ -4,7 +4,10 @@
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
@@ -14,7 +17,14 @@
@Service
public class ReferenceServiceImpl extends ServiceImpl<ReferenceMapper, Reference>
    implements ReferenceService{
    @Resource
    private ReferenceMapper referenceMapper;
    @Override
    public Integer getMaxNumByKeywordId(Integer keywordId) {
        return referenceMapper.getMaxNumByKeywordId(keywordId);
    }
}