kaiyu
2020-11-24 1d7e1b771160dd8b7f25765e402ce25cac676641
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
package com.moral.service.impl;
 
import com.moral.entity.DictionaryData;
import com.moral.mapper.DictionaryDataMapper;
import com.moral.service.DictionaryDataService;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.List;
 
@Service
public class DictionaryDataServiceImpl implements DictionaryDataService{
    @Resource
    DictionaryDataMapper dataMapper;
    @Override
    public List<DictionaryData> queryByKey(String dictDataKey) {
        DictionaryData query = new DictionaryData();
        query.setDictDataKey(dictDataKey);
        return  dataMapper.select(query);
    }
    @Override
    public Integer querySupperOrgId() {
        return  dataMapper.selectSupperOrgId();
    }
 
    @Override
    public String getDefultAlarm() {
        return dataMapper.getDefultAlarm();
    }
}