无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
cloud-server-other/src/main/java/com/dsh/other/service/impl/HonorRulesServiceImpl.java
@@ -1,5 +1,6 @@
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;
@@ -23,4 +24,16 @@
    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));
    }
}