Commit 2e76a3fa by zhengxj

finish 订单渠道搜索 on 20190319 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18655 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 6beaee50
...@@ -228,9 +228,9 @@ public class OrderServiceImpl implements IOrderService { ...@@ -228,9 +228,9 @@ public class OrderServiceImpl implements IOrderService {
// //
// } // }
// 订单渠道过滤 // 订单渠道过滤
if (userId == 0){ if (userId == BizConstants.USER_TYPE_AMIN){
// 超级管理员 // 超级管理员
criteria.andShopIdIn(orderChannelDao.getDataRight(null, null)); criteria.andShopIdIn(orderChannelDao.getDataRight(null, oueryOrderReq.getOrderChannel()));
}else{ }else{
criteria.andShopIdIn(orderChannelDao.getDataRight(userId, oueryOrderReq.getOrderChannel())); criteria.andShopIdIn(orderChannelDao.getDataRight(userId, oueryOrderReq.getOrderChannel()));
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!