|
|
@ -199,7 +199,7 @@ public class AppletOrderTeamServiceImpl implements AppletOrderTeamService { |
|
|
|
|
|
|
|
//得到第三级集合数据 |
|
|
|
for (CommonOrder order1 : children) { |
|
|
|
if(StringUtils.isNotBlank(order1.getPinId())){ |
|
|
|
if(StringUtils.isNotBlank(order1.getPinId()) && StringUtils.isBlank(order1.getPinName())){ |
|
|
|
CommonVip vip = commonVipService.getById(order1.getPinId()); |
|
|
|
if (vip != null){ |
|
|
|
order1.setPinName(vip.getName()); |
|
|
@ -209,7 +209,7 @@ public class AppletOrderTeamServiceImpl implements AppletOrderTeamService { |
|
|
|
} |
|
|
|
|
|
|
|
// 设置款式名称 |
|
|
|
if (StringUtils.isNotBlank(order1.getStyleId())) { |
|
|
|
if (StringUtils.isNotBlank(order1.getStyleId()) && StringUtils.isBlank(order1.getStyleName())) { |
|
|
|
CommonBrandProduct brandProduct = commonBrandProductService.getById(order1.getStyleId()); |
|
|
|
if (brandProduct != null) { |
|
|
|
order1.setStyleName(brandProduct.getName()); |
|
|
@ -572,6 +572,7 @@ public class AppletOrderTeamServiceImpl implements AppletOrderTeamService { |
|
|
|
CommonBrandProduct brandProduct = commonBrandProductService.getById(orderReq.getStyleId()); |
|
|
|
if (brandProduct != null) { |
|
|
|
orderReq.setImage(brandProduct.getImage()); |
|
|
|
orderReq.setStyleName(brandProduct.getName()); |
|
|
|
} else { |
|
|
|
orderReq.setImage(shop.getImage()); |
|
|
|
} |
|
|
@ -579,6 +580,15 @@ public class AppletOrderTeamServiceImpl implements AppletOrderTeamService { |
|
|
|
orderReq.setImage(shop.getImage()); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(orderReq.getPinId())) { |
|
|
|
// 查询品牌信息 |
|
|
|
CommonVip vip = commonVipService.getById(orderReq.getPinId()); |
|
|
|
if (vip != null) { |
|
|
|
orderReq.setPinName(vip.getName()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
orderReq.setUnit(shop.getUnit()); |
|
|
|
//orderReq.setImage(shop.getImage()); |
|
|
|
orderReq.setTitle(shop.getName()); |
|
|
|