...
This commit is contained in:
parent
03dee6f380
commit
ef1cbe93fc
|
@ -165,10 +165,12 @@ public class HistoryController {
|
|||
}
|
||||
List<TAbilityApplicationDTO> abilityApplicationDTOS =
|
||||
abilityApplicationService.getByInstanceId(activityDTO.getProcessInstanceId());
|
||||
// TAbilityApplicationDTO abilityApplicationDTO =
|
||||
// abilityApplicationService.get(Long.valueOf(activityDTO.getBusinessKey()));
|
||||
TResourceMountApplyDTO tResourceMountApplyDTO = tResourceMountApplyService.get(Long.valueOf(activityDTO.getBusinessKey()));
|
||||
TDemandDataDTO tDemandDataDTO = tDemandDataService.get(Long.valueOf(activityDTO.getBusinessKey()));
|
||||
TResourceMountApplyDTO tResourceMountApplyDTO = null;
|
||||
TDemandDataDTO tDemandDataDTO = null;
|
||||
if (!activityDTO.getBusinessKey().startsWith("[") && !activityDTO.getBusinessKey().startsWith("{")) { // json 内容(批量申请)
|
||||
tResourceMountApplyDTO = tResourceMountApplyService.get(Long.valueOf(activityDTO.getBusinessKey()));
|
||||
tDemandDataDTO = tDemandDataService.get(Long.valueOf(activityDTO.getBusinessKey()));
|
||||
}
|
||||
if (abilityApplicationDTOS != null && !abilityApplicationDTOS.isEmpty()) {
|
||||
StringBuffer stringBuffer = new StringBuffer();
|
||||
abilityApplicationDTOS.stream().map(TAbilityApplicationDTO::getSystem).filter(index -> StringUtils.isNotEmpty(index)).forEach(index -> {
|
||||
|
|
Loading…
Reference in New Issue