huangzhen
2023-09-25 1614615fc9319b8626eb028598b894311992c033
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
29
package com.gkhy.exam.noncoalmine.service.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gkhy.exam.noncoalmine.entity.NcStaffResume;
import com.gkhy.exam.noncoalmine.mapper.NcStaffResumeMapper;
import com.gkhy.exam.noncoalmine.service.NcStaffResumeService;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * (NcStaffResume)表服务实现类
 *
 * @author makejava
 * @since 2023-09-18 14:06:43
 */
@Service("ncStaffResumeService")
public class NcStaffResumeServiceImpl extends ServiceImpl<NcStaffResumeMapper, NcStaffResume> implements NcStaffResumeService {
 
    @Override
    public List<NcStaffResume> getByStaffId(Long stuffId) {
        List<NcStaffResume> resumeList = baseMapper.selectList(new LambdaQueryWrapper<NcStaffResume>()
                .eq(NcStaffResume::getDelFlag, (byte)0)
                .eq(NcStaffResume::getStaffId, stuffId));
 
        return resumeList;
    }
}