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