huliguo
2 天以前 d8143b9121bbe941f116230eaa5524ab2cc12a66
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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<ReferenceMapper, Reference>
    implements ReferenceService{
    @Resource
    private ReferenceMapper referenceMapper;
 
    @Override
    public Integer getMaxNumByKeywordId(Integer keywordId) {
        return referenceMapper.getMaxNumByKeywordId(keywordId);
 
    }
}