DataDictionaryDao.java
1.07 KB
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
40
41
42
43
package com.diligrp.website.dao;
import java.util.List;
import com.diligrp.website.domain.DataDictionary;
import com.diligrp.website.domain.DataDictionaryValue;
import com.diligrp.website.domain.SysConfig;
import com.diligrp.website.util.dao.BaseQuery;
public interface DataDictionaryDao {
DataDictionary getDataDictionaryByCode(String code);
List<DataDictionaryValue> getDataDictionaryValue(Long id);
Integer getDataDicListCount(BaseQuery query);
List<SysConfig> getDataDicList(BaseQuery query);
boolean deleteValue(Long id);
boolean delete(Long id);
boolean save(DataDictionary dic);
boolean update(DataDictionary dic);
DataDictionary getDataDictionaryById(Long id);
boolean saveValue(DataDictionaryValue dicv);
DataDictionaryValue getDataDicValById(Long id);
boolean editValue(DataDictionaryValue dicv);
DataDictionaryValue getDataDicValByCode(String code, Integer ddId);
DataDictionaryValue getDataDicValByName(String name, Integer ddId);
DataDictionaryValue getDataDicValBySort(Integer sort, Integer ddId);
}