提交修改
This commit is contained in:
parent
5ddbd84421
commit
09ee844607
@ -57,9 +57,7 @@ public class AppPromoterTradeOrderAwardController {
|
|||||||
|
|
||||||
|
|
||||||
List<VvPromoterTradeOrderAwardEntity> vvPromoterTradeOrderAwardEntities = pageUtils.getRows();
|
List<VvPromoterTradeOrderAwardEntity> vvPromoterTradeOrderAwardEntities = pageUtils.getRows();
|
||||||
|
|
||||||
List<PromoterTradeOrderAwardDTO> promoterTradeOrderAwardDTOList = new ArrayList<>();
|
List<PromoterTradeOrderAwardDTO> promoterTradeOrderAwardDTOList = new ArrayList<>();
|
||||||
|
|
||||||
for (VvPromoterTradeOrderAwardEntity vvPromoterTradeOrderAwardEntity : vvPromoterTradeOrderAwardEntities) {
|
for (VvPromoterTradeOrderAwardEntity vvPromoterTradeOrderAwardEntity : vvPromoterTradeOrderAwardEntities) {
|
||||||
PromoterTradeOrderAwardDTO promoterTradeOrderAwardDTO = new PromoterTradeOrderAwardDTO();
|
PromoterTradeOrderAwardDTO promoterTradeOrderAwardDTO = new PromoterTradeOrderAwardDTO();
|
||||||
BeanUtils.copyProperties(vvPromoterTradeOrderAwardEntity, promoterTradeOrderAwardDTO);
|
BeanUtils.copyProperties(vvPromoterTradeOrderAwardEntity, promoterTradeOrderAwardDTO);
|
||||||
@ -67,9 +65,7 @@ public class AppPromoterTradeOrderAwardController {
|
|||||||
promoterTradeOrderAwardDTO.setActionDTOList(actionDTOS);
|
promoterTradeOrderAwardDTO.setActionDTOList(actionDTOS);
|
||||||
promoterTradeOrderAwardDTOList.add(promoterTradeOrderAwardDTO);
|
promoterTradeOrderAwardDTOList.add(promoterTradeOrderAwardDTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
pageUtils.setRows(promoterTradeOrderAwardDTOList);
|
pageUtils.setRows(promoterTradeOrderAwardDTOList);
|
||||||
|
|
||||||
return R.ok().setData(pageUtils);
|
return R.ok().setData(pageUtils);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user