| | |
| | | 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> |
| | |
| | | @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)); |
| | | } |
| | | } |