Merge remote-tracking branch 'origin/develop' into develop
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -572,8 +572,9 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | ... | @@ -572,8 +572,9 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | 
| 572 | if(CollectionUtils.isNotEmpty(pageList.getRecords())){ | 572 | if(CollectionUtils.isNotEmpty(pageList.getRecords())){ | 
| 573 | List<String> guids = pageList.getRecords().stream().map(MfDemand::getGuid).collect(Collectors.toList()); | 573 | List<String> guids = pageList.getRecords().stream().map(MfDemand::getGuid).collect(Collectors.toList()); | 
| 574 | List<DemandRSVO> results = new ArrayList<>(); | 574 | List<DemandRSVO> results = new ArrayList<>(); | 
| 575 | Map<String, DemandUpdateStateVO> stateMap = getStateMap(guids); | ||
| 575 | for (MfDemand item : pageList.getRecords()){ | 576 | for (MfDemand item : pageList.getRecords()){ | 
| 576 | DemandRSVO vo = convertToVO(item,getStateMap(guids)); | 577 | DemandRSVO vo = convertToVO(item, stateMap); | 
| 577 | results.add(vo); | 578 | results.add(vo); | 
| 578 | } | 579 | } | 
| 579 | rsPageList.setRecords(results); | 580 | rsPageList.setRecords(results); | ... | ... | 
- 
Please register or sign in to post a comment
