1ca861fc by xiaojie

【数据资产】

1、for循环查询
1 parent 7fb3a27c
...@@ -586,8 +586,9 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -586,8 +586,9 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
586 if(CollectionUtils.isNotEmpty(pageList.getRecords())){ 586 if(CollectionUtils.isNotEmpty(pageList.getRecords())){
587 List<String> guids = pageList.getRecords().stream().map(MfDemand::getProcessCompanyGuid).collect(Collectors.toList()); 587 List<String> guids = pageList.getRecords().stream().map(MfDemand::getProcessCompanyGuid).collect(Collectors.toList());
588 List<DemandRSVO> results = new ArrayList<>(); 588 List<DemandRSVO> results = new ArrayList<>();
589 Map<String, DemandUpdateStateVO> stateMap = getStateMap(guids);
589 for (MfDemand item : pageList.getRecords()){ 590 for (MfDemand item : pageList.getRecords()){
590 DemandRSVO vo = convertToVO(item,getStateMap(guids)); 591 DemandRSVO vo = convertToVO(item, stateMap);
591 results.add(vo); 592 results.add(vo);
592 } 593 }
593 rsPageList.setRecords(results); 594 rsPageList.setRecords(results);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!