|
|
@ -194,10 +194,11 @@ public class ProjectExtractServiceImpl implements ProjectExtractService { |
|
|
|
} |
|
|
|
} |
|
|
|
final List<FactOriginProjectMainDailyEntity> mainList = list; |
|
|
|
List<FactOriginProjectLogDailyEntity> logList = new ArrayList<>(); |
|
|
|
//节点发起人 部门流转退回结案
|
|
|
|
List<ProcessInfoDTO> processList = projectProcessService.getProcessListByCustomer(customerId, dateString); |
|
|
|
if (!CollectionUtils.isEmpty(processList)) { |
|
|
|
List<FactOriginProjectLogDailyEntity> logList = processList.stream().map(process -> { |
|
|
|
logList = processList.stream().map(process -> { |
|
|
|
//获取日期相关维度
|
|
|
|
DimIdGenerator.DimIdBean dimId = DimIdGenerator.getDimIdBean(process.getCreatedTime()); |
|
|
|
FactOriginProjectLogDailyEntity entity = new FactOriginProjectLogDailyEntity(); |
|
|
@ -243,7 +244,7 @@ public class ProjectExtractServiceImpl implements ProjectExtractService { |
|
|
|
|
|
|
|
return entity; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
|
|
|
|
} |
|
|
|
//节点发起人 响应
|
|
|
|
List<ProcessInfoDTO> responseList = projectProcessService.getResponseProcessList(customerId, dateString); |
|
|
|
if (!CollectionUtils.isEmpty(responseList)) { |
|
|
@ -377,7 +378,7 @@ public class ProjectExtractServiceImpl implements ProjectExtractService { |
|
|
|
factOriginProjectLogDailyService.deleteByDate(customerId, dateString); |
|
|
|
factOriginProjectLogDailyService.insertBatch(logList); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|