田源
2023-05-09 d2570148ec3884de3af721bd99c4b7acbbdee075
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
package com.vci.ubcs.omd.mapper;
 
import com.vci.ubcs.omd.entity.Attribute;
import org.springblade.core.mp.mapper.BladeMapper;
 
import java.util.Collection;
import java.util.List;
 
/**
 * Description:元数据数据层
 *
 * @author LiHang
 * @date 2023/4/3
 */
public interface AttributeMapper extends BladeMapper<Attribute> {
 
    /**
     * 查询全部
     * @return 查询结果
     */
    List<Attribute> selectAll();
 
    /**
     * 主键查询
     * @param primaryKey 主键
     * @return 查询结果
     */
    Attribute selectByPrimaryKey(Long primaryKey);
 
    /**
     * 主键批量查询
     * @param primaryKeyCollection 主键集合
     * @return 查询结果
     */
    List<Attribute> selectByPrimaryKeyCollection(Collection<String> primaryKeyCollection);
}