|
@@ -28,6 +28,8 @@ import com.fs.crm.domain.CrmCustomer;
|
|
|
import com.fs.crm.mapper.CrmCustomerMapper;
|
|
import com.fs.crm.mapper.CrmCustomerMapper;
|
|
|
import com.fs.crm.param.SmsSendBatchParam;
|
|
import com.fs.crm.param.SmsSendBatchParam;
|
|
|
import com.fs.crm.service.impl.CrmCustomerServiceImpl;
|
|
import com.fs.crm.service.impl.CrmCustomerServiceImpl;
|
|
|
|
|
+import com.fs.enums.ExecutionStatusEnum;
|
|
|
|
|
+import com.fs.enums.NodeTypeEnum;
|
|
|
import com.fs.qw.domain.QwUser;
|
|
import com.fs.qw.domain.QwUser;
|
|
|
import com.fs.qw.mapper.QwUserMapper;
|
|
import com.fs.qw.mapper.QwUserMapper;
|
|
|
import com.fs.qw.service.impl.QwExternalContactServiceImpl;
|
|
import com.fs.qw.service.impl.QwExternalContactServiceImpl;
|
|
@@ -1241,11 +1243,13 @@ public class CompanyVoiceRoboticServiceImpl extends ServiceImpl<CompanyVoiceRobo
|
|
|
for (WorkflowExecRecordVo record : records) {
|
|
for (WorkflowExecRecordVo record : records) {
|
|
|
// 设置工作流状态名称
|
|
// 设置工作流状态名称
|
|
|
if (record.getWorkflowStatus() != null) {
|
|
if (record.getWorkflowStatus() != null) {
|
|
|
- record.setWorkflowStatusName(getStatusName(record.getWorkflowStatus()));
|
|
|
|
|
|
|
+ ExecutionStatusEnum executionStatusEnum = ExecutionStatusEnum.fromValue(record.getWorkflowStatus());
|
|
|
|
|
+ record.setWorkflowStatusName( executionStatusEnum.getDescription());
|
|
|
}
|
|
}
|
|
|
// 设置节点类型名称
|
|
// 设置节点类型名称
|
|
|
if (record.getCurrentNodeType() != null) {
|
|
if (record.getCurrentNodeType() != null) {
|
|
|
- record.setCurrentNodeTypeName(getNodeTypeName(record.getCurrentNodeType()));
|
|
|
|
|
|
|
+ NodeTypeEnum nodeTypeEnum = NodeTypeEnum.fromValue(record.getCurrentNodeType());
|
|
|
|
|
+ record.setCurrentNodeTypeName(nodeTypeEnum.getDescription());
|
|
|
}
|
|
}
|
|
|
// 查询节点执行日志
|
|
// 查询节点执行日志
|
|
|
if (record.getWorkflowInstanceId() != null) {
|
|
if (record.getWorkflowInstanceId() != null) {
|