puzhibing
2023-11-25 53e7558400dcacecdce70e39ebfe1727740f9296
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
30
31
32
33
34
35
36
37
38
39
package com.dsh.other.service.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dsh.other.entity.HonorRules;
import com.dsh.other.mapper.HonorRulesMapper;
import com.dsh.other.service.HonorRulesService;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * <p>
 * 荣誉规则 服务实现类
 * </p>
 *
 * @author jqs
 * @since 2023-07-04
 */
@Service
public class HonorRulesServiceImpl extends ServiceImpl<HonorRulesMapper, HonorRules> implements HonorRulesService {
 
    @Override
    public List<HonorRules> querylistOfIds(List<Integer> honorIds) {
        return this.baseMapper.querylistOfIds(honorIds);
    }
 
    @Override
    public List<HonorRules> getList() {
        return this.baseMapper.getList();
    }
 
    @Override
    public List<HonorRules> selectByType(Integer type1) {
        QueryWrapper<HonorRules> wrapper = new QueryWrapper<>();
 
        return this.baseMapper.selectList(wrapper.eq("type", type1));
    }
}