Commit 45b6ef7b by zhengxj

finish 修正订单渠道信息 on 20190318 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18604 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 0df43459
...@@ -423,11 +423,13 @@ public class OrderServiceImpl implements IOrderService { ...@@ -423,11 +423,13 @@ public class OrderServiceImpl implements IOrderService {
// 订单地址信息 // 订单地址信息
order.setArea(areaService.getAllChargeItems(order.getDistrict())); order.setArea(areaService.getAllChargeItems(order.getDistrict()));
// 渠道名称 // 渠道名称
if (order.getShopId() != null) { if (order.getMerchantId() != null) {
SysMerchantExample sysMerchantExample = new SysMerchantExample(); // 经产品再次确认 为公司名称 而非门店名称
sysMerchantExample.createCriteria().andUserIdEqualTo(order.getShopId()); // sysUserDao.selectByPrimaryKey(order.getMerchantId());
// SysMerchantExample sysMerchantExample = new SysMerchantExample();
// sysMerchantExample.createCriteria().andUserIdEqualTo(order.getShopId());
// sysMerchantDao.selectByExample(sysMerchantExample); // sysMerchantDao.selectByExample(sysMerchantExample);
order.setOrderChannel(sysMerchantDao.selectByExample(sysMerchantExample).get(0).getShopName()); order.setOrderChannel(sysUserDao.selectByPrimaryKey(order.getMerchantId()).getUsername());
} }
// 技工信息 // 技工信息
if (order.getMechanicId() != null) { if (order.getMechanicId() != null) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!