|
|
|
@ -135,9 +135,14 @@ public class EventController{
|
|
|
|
|
typeSmall = dictBizClient.getValue(detail.getTypeBig(),detail.getTypeSmall()).getData(); |
|
|
|
|
} |
|
|
|
|
String problemStatus = "待处理"; |
|
|
|
|
R<String> result = flowClient.queryProcessInstanceStatus(detail.getProcessInstanceId()); |
|
|
|
|
if(result.isSuccess()){ |
|
|
|
|
problemStatus = ProcessConstant.ProcessInstanceStatusEnum.over.name().equals(result.getData())?"已处理":"处理中"; |
|
|
|
|
if(StringUtil.isNotBlank(detail.getProcessInstanceId())) { |
|
|
|
|
R<String> result = flowClient.queryProcessInstanceStatus(detail.getProcessInstanceId()); |
|
|
|
|
if(result.isSuccess()){ |
|
|
|
|
problemStatus = ProcessConstant.ProcessInstanceStatusEnum.over.name().equals(result.getData())?"已处理":"处理中"; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
problemStatus = "-"; |
|
|
|
|
} |
|
|
|
|
v.setProblem(ProblemVO.builder().problemStatus(problemStatus).typeBig(typeBig).typeSmall(typeSmall).problemDetail(detail.getDescription()).build()); |
|
|
|
|
} |
|
|
|
|