lizijie
2020-12-03 a66d53c3cbfb0024804045f4d795be06089d4f9d
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();
    }
}