| | |
| | | import com.ycl.domain.entity.ProjectProcess; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ycl.domain.vo.FlowableVarVO; |
| | | import com.ycl.domain.vo.ProjectEngineeringVO; |
| | | import com.ycl.domain.vo.ProjectProcessVO; |
| | | import com.ycl.domain.form.ProjectProcessForm; |
| | | import com.ycl.domain.query.ProjectProcessQuery; |
| | |
| | | IPage getPage(@Param("query") ProjectProcessQuery query, IPage page); |
| | | |
| | | /** |
| | | * 根据项目获取工程列表 |
| | | */ |
| | | List<ProjectEngineeringVO> getEngineeringList(@Param("projectId") Long projectId); |
| | | |
| | | /** |
| | | * 通过流程实例id获取项目id、名称 |
| | | * |
| | | * @param processInstanceId |
| | |
| | | * @return |
| | | */ |
| | | List<String> getNormalInsIds(); |
| | | |
| | | /** |
| | | * 查询flowable中的某个变量的数据存储id |
| | | * |
| | | * @param processInsId |
| | | * @param keyName |
| | | * @return |
| | | */ |
| | | FlowableVarVO getHisByteId(@Param("processInsId") String processInsId, @Param("keyName") String keyName); |
| | | FlowableVarVO getRuByteId(@Param("processInsId") String processInsId, @Param("keyName") String keyName); |
| | | |
| | | /** |
| | | * 保存flowable变量 |
| | | * |
| | | * @param v |
| | | */ |
| | | void insertHisFlowableVar(@Param("v") FlowableVarVO v); |
| | | void insertRunFlowableVar(@Param("v") FlowableVarVO v); |
| | | |
| | | /** |
| | | * 保存flowable变量值 |
| | | * |
| | | * @param bytearray_id_ |
| | | * @param rev_ |
| | | * @param name_ |
| | | * @param objectToBytes |
| | | */ |
| | | void insertByteArray(@Param("id_") String bytearray_id_, @Param("rev_") int rev_, @Param("name_") String name_, @Param("bytes_") Object objectToBytes); |
| | | |
| | | |
| | | /** |
| | | * 删除二进制变量 |
| | | * |
| | | * @param id |
| | | */ |
| | | void deleteByteArray(@Param("id") String id); |
| | | |
| | | /** |
| | | * 删除运行时的flowable变量 |
| | | * |
| | | * @param id |
| | | */ |
| | | void deleteRunFlowableVar(@Param("id") String id); |
| | | |
| | | /** |
| | | * 删除历史的flowable变量 |
| | | * |
| | | * @param id |
| | | */ |
| | | void deleteHisFlowableVar(@Param("id") String id); |
| | | } |