Commit df9b340c by zhengxj

finish 返回组织id on 20191102 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24574 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent c8e6057d
...@@ -3343,8 +3343,10 @@ public class OrderServiceImpl implements IOrderService { ...@@ -3343,8 +3343,10 @@ public class OrderServiceImpl implements IOrderService {
// 渠道名称 // 渠道名称
if (order.getShopId() != null) { if (order.getShopId() != null) {
SysUser sysuser = sysUserDao.selectByPrimaryKey(order.getShopId()); SysUser sysuser = sysUserDao.selectByPrimaryKey(order.getShopId());
if(sysuser!=null){ if (sysuser != null) {
order.setOrderChannel(orderChannelDao.selectByPrimaryKey(sysuser.getGroupId()).getName()); SysOrganization org = orderChannelDao.selectByPrimaryKey(sysuser.getGroupId());
order.setOrderChannel(org.getName());
order.setOrderChannelOrgId(org.getId());
} }
List<SysOrderStatus> list = orderStatusDao.getOrderProgress(order.getId()); List<SysOrderStatus> list = orderStatusDao.getOrderProgress(order.getId());
if (!list.isEmpty()) { if (!list.isEmpty()) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!