Helius
2021-06-16 5728be2af515b2200e782aa201ca5d4d67d9ea47
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
44
45
package com.ibeetl.admin.core.dao;
 
import java.util.List;
import java.util.Map;
 
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.annotatoin.SqlStatement;
import org.beetl.sql.core.mapper.BaseMapper;
 
import com.ibeetl.admin.core.entity.CoreDict;
 
/**
 * 字典DAO接口
 */
@SqlResource("core.coreDict")
public interface CoreDictDao extends BaseMapper<CoreDict> {
 
    /**
     * 查询某个类型下的字典集合
     * @param type 字典类型
     * @return
     */
    List<CoreDict> findAllList(String type);
 
    /**
     * 查询字段类型列表
     * @param delFlag 删除标记
     * @return
     */
    @SqlStatement(returnType = Map.class)
    List<Map<String, String>> findTypeList(int delFlag);
 
  
 
    /**
     * 根据父节点Id查询子节点数据
     * @param id 父节点id
     * @return
     */
    List<CoreDict> findChildByParent(Long id);
 
    int bathDelByValue(List<String> values);
 
    String findNameByType(String value);
}