| | |
| | | package cn.gistack.flow.business.service; |
| | | |
| | | import cn.gistack.flow.core.entity.BladeFlow; |
| | | import cn.gistack.flow.core.vo.BladeFlowVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 流程业务类 |
| | |
| | | * @return |
| | | */ |
| | | IPage<BladeFlow> selectTodoPage(IPage<BladeFlow> page, BladeFlow bladeFlow); |
| | | |
| | | List<BladeFlow> getMyToDoList(BladeFlow bladeFlow,String currentUserId); |
| | | |
| | | /** |
| | | * 流程待办列表 |
| | |
| | | */ |
| | | IPage<BladeFlow> selectDonePage(IPage<BladeFlow> page, BladeFlow bladeFlow); |
| | | |
| | | List<BladeFlow> getMyDoneList(BladeFlow bladeFlow, String currentUserId); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 流程办结列表 |
| | | * |
| | | * @param page 分页工具 |
| | | * @param bladeFlow 流程类 |
| | | * @return |
| | | */ |
| | | IPage<BladeFlowVO> selectDonePage(IPage<BladeFlowVO> page, BladeFlow bladeFlow, String currentUserId); |
| | | |
| | | /** |
| | | * 完成任务 |
| | | * |
| | |
| | | boolean completeTask(BladeFlow leave); |
| | | |
| | | BladeFlow getBladeFlowByBusinessId(String businessId,String currentUserId); |
| | | |
| | | |
| | | List<BladeFlow> getMyDonePage(BladeFlow bladeFlow, String currentUserId, Integer current, Integer size); |
| | | } |