| | |
| | | |
| | | /** |
| | | * 添加日志 |
| | | * |
| | | * @param taskId 任务id |
| | | * @param taskId 任务id |
| | | * @param flowInsId 流程实例id |
| | | * @param eventType 事件类型 |
| | | * @param projectId 项目id |
| | | * @param eventDataJson json扩展内容 |
| | | */ |
| | | @Override |
| | | public void add(String taskId, String flowInsId, FlowLogEventTypeEnum eventType, Integer projectId, String eventDataJson) { |
| | | public void add(String taskId, String flowInsId, FlowLogEventTypeEnum eventType, Long projectId, String eventDataJson) { |
| | | FlowLog log = new FlowLog(); |
| | | log.setTaskId(taskId); |
| | | log.setFlowInsId(flowInsId); |
| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Result detail(Integer id) { |
| | | public Result detail(Long id) { |
| | | FlowLogVO vo = baseMapper.getById(id); |
| | | Assert.notNull(vo, "记录不存在"); |
| | | return Result.ok().data(vo); |