Commit eb902629 authored by 赵啸非's avatar 赵啸非

修改部分pom

parent 35051519
package com.mortals.flowable.service; package com.mortals.flowable.service;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.mortals.flowable.common.constant.ProcessConstants; import com.mortals.flowable.common.constant.ProcessConstants;
import com.mortals.flowable.common.enums.FlowComment; import com.mortals.flowable.common.enums.FlowComment;
import com.mortals.flowable.dao.flowable.IFlowableTaskDao; import com.mortals.flowable.dao.flowable.IFlowableTaskDao;
...@@ -455,13 +456,9 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT ...@@ -455,13 +456,9 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
} }
buildPerson(histIns.getTaskId(), flowTask); buildPerson(histIns.getTaskId(), flowTask);
flowTask.setDuration(histIns.getDurationInMillis() == null || histIns.getDurationInMillis() == 0 ? null : getDate(histIns.getDurationInMillis())); flowTask.setDuration(histIns.getDurationInMillis() == null || histIns.getDurationInMillis() == 0 ? null : getDate(histIns.getDurationInMillis()));
// 获取意见评论内容 // 获取意见评论内容
// flowTask.setTaskName(histIns.getn); // flowTask.setTaskName(histIns.getn);
List<Comment> commentList = taskService.getProcessInstanceComments(histIns.getProcessInstanceId()); List<Comment> commentList = taskService.getProcessInstanceComments(histIns.getProcessInstanceId());
Boolean bool1 = false; Boolean bool1 = false;
...@@ -515,7 +512,6 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT ...@@ -515,7 +512,6 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
if (!bool) { if (!bool) {
continue; continue;
} }
//获取附件信息 //获取附件信息
List<AttachmentEntity> attachmentEntities1 = buildAttachments(item.getId()); List<AttachmentEntity> attachmentEntities1 = buildAttachments(item.getId());
flowTaskPdu.setAttachmentList(attachmentEntities1); flowTaskPdu.setAttachmentList(attachmentEntities1);
...@@ -526,8 +522,8 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT ...@@ -526,8 +522,8 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IApiFlowT
} }
rsp.setData(hisFlowList); rsp.setData(hisFlowList);
} }
log.info("响应【流程历史流转记录】【响应体】--> " + JSONObject.toJSONString(rsp));
return rsp; return rsp;
} catch (Exception e) { } catch (Exception e) {
rsp.setCode(YesNoEnum.NO.getValue()); rsp.setCode(YesNoEnum.NO.getValue());
rsp.setMsg("流程记录异常:" + e.getMessage()); rsp.setMsg("流程记录异常:" + e.getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment