提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.bpm.dal.mysql.definition; |
H |
2 |
|
|
3 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
|
4 |
import com.iailab.module.bpm.dal.dataobject.definition.BpmProcessDefinitionInfoDO; |
|
5 |
import org.apache.ibatis.annotations.Mapper; |
|
6 |
|
|
7 |
import java.util.Collection; |
|
8 |
import java.util.List; |
|
9 |
|
|
10 |
@Mapper |
|
11 |
public interface BpmProcessDefinitionInfoMapper extends BaseMapperX<BpmProcessDefinitionInfoDO> { |
|
12 |
|
|
13 |
default List<BpmProcessDefinitionInfoDO> selectListByProcessDefinitionIds(Collection<String> processDefinitionIds) { |
|
14 |
return selectList(BpmProcessDefinitionInfoDO::getProcessDefinitionId, processDefinitionIds); |
|
15 |
} |
|
16 |
|
|
17 |
default BpmProcessDefinitionInfoDO selectByProcessDefinitionId(String processDefinitionId) { |
|
18 |
return selectOne(BpmProcessDefinitionInfoDO::getProcessDefinitionId, processDefinitionId); |
|
19 |
} |
|
20 |
|
|
21 |
} |