Authored by unknown

代码优化

@@ -94,8 +94,8 @@ public class UserOrdersServiceImpl implements IUserOrdersService,IBusinessExport @@ -94,8 +94,8 @@ public class UserOrdersServiceImpl implements IUserOrdersService,IBusinessExport
94 //根据查询出来的uid,ordercode,查询ERP_ORDERS.Orders 94 //根据查询出来的uid,ordercode,查询ERP_ORDERS.Orders
95 // Orders orders = ordersMapper.selectByUidAndOrderCode(userOrders.getuId(),Long.valueOf(userOrders.getOrderCode())); 95 // Orders orders = ordersMapper.selectByUidAndOrderCode(userOrders.getuId(),Long.valueOf(userOrders.getOrderCode()));
96 List<Orders> order = ordersMapper.selectByOrderCode(Long.valueOf(userOrders.getOrderCode())); 96 List<Orders> order = ordersMapper.selectByOrderCode(Long.valueOf(userOrders.getOrderCode()));
97 - OrdersDetailBO ordersDetailBO = new OrdersDetailBO();  
98 for(Orders orders:order){ 97 for(Orders orders:order){
  98 + OrdersDetailBO ordersDetailBO = new OrdersDetailBO();
99 ordersDetailBO.setOrders(orders); 99 ordersDetailBO.setOrders(orders);
100 ordersDetailBO.setUnionId(userOrders.getUid()); 100 ordersDetailBO.setUnionId(userOrders.getUid());
101 MktMarketingUrl mktMarketingUrl = redisValueCache.get("yh:union:uniontype:"+userOrders.getUid(),MktMarketingUrl.class); 101 MktMarketingUrl mktMarketingUrl = redisValueCache.get("yh:union:uniontype:"+userOrders.getUid(),MktMarketingUrl.class);