|
|
|
@ -3094,12 +3094,22 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
|
|
|
|
|
List<HighOrder> list = highOrderMapper.selectByExample(example); |
|
|
|
|
|
|
|
|
|
if (list.size() > 0) { |
|
|
|
|
for (HighOrder order : list) { |
|
|
|
|
HighUser user = highUserService.findByUserId(order.getIdentificationCode()); |
|
|
|
|
order.setTime(DateUtil.date2String(order.getCreateTime() , "MM月dd日 HH:mm")); |
|
|
|
|
List<HighChildOrder> childOrder = getChildOrderByOrder(order.getId()); |
|
|
|
|
order.setGoodsTypeName("购买:" + GoodsType.getNameByType(childOrder.get(0).getGoodsType())); |
|
|
|
|
if (user != null) { |
|
|
|
|
order.setAgentName(user.getName()); |
|
|
|
|
} else { |
|
|
|
|
if (order.getIdentificationCode() == 60) { |
|
|
|
|
order.setAgentName("贵州汇联通"); |
|
|
|
|
} else { |
|
|
|
|
order.setAgentName("暂无推广人"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return list; |
|
|
|
|