| | |
| | | package com.iailab.module.bpm.dal.mysql.definition; |
| | | |
| | | import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
| | | import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
| | | import com.iailab.module.bpm.dal.dataobject.definition.BpmProcessDefinitionInfoDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | |
| | | return selectOne(BpmProcessDefinitionInfoDO::getProcessDefinitionId, processDefinitionId); |
| | | } |
| | | |
| | | default void updateByModelId(String modelId, BpmProcessDefinitionInfoDO updateObj) { |
| | | update(updateObj, |
| | | new LambdaQueryWrapperX<BpmProcessDefinitionInfoDO>().eq(BpmProcessDefinitionInfoDO::getModelId, modelId)); |
| | | } |
| | | |
| | | } |