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