1ca861fc by xiaojie

【数据资产】

1、for循环查询
1 parent 7fb3a27c
......@@ -586,8 +586,9 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
if(CollectionUtils.isNotEmpty(pageList.getRecords())){
List<String> guids = pageList.getRecords().stream().map(MfDemand::getProcessCompanyGuid).collect(Collectors.toList());
List<DemandRSVO> results = new ArrayList<>();
Map<String, DemandUpdateStateVO> stateMap = getStateMap(guids);
for (MfDemand item : pageList.getRecords()){
DemandRSVO vo = convertToVO(item,getStateMap(guids));
DemandRSVO vo = convertToVO(item, stateMap);
results.add(vo);
}
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!