[init]创建能辉erp 系统

master
NH-LHG 2 years ago
parent 168c2dde00
commit ca9ed9bc0e

@ -92,7 +92,10 @@ public class OrderController {
pageList.getRecords().forEach(e ->{
OrderExt orderExt = new OrderExt();
BeanUtils.copyProperties(e,orderExt);
orderExt.setOrderDetailList(orderDetailExtMap.get(e.getId()));
if(null != orderDetailExtMap
&& null != orderDetailExtMap.get(e.getId())){
orderExt.setOrderDetailList(orderDetailExtMap.get(e.getId()));
}
records.add(orderExt);
});
pageExt.setRecords(records);

Loading…
Cancel
Save