|
@@ -90,13 +90,12 @@ public class ProductManageAction implements IMINAction {
|
|
|
map.put("channel", user.getChannel());//渠道号
|
|
|
map.put("category", categoryId);//分类
|
|
|
//验证操作员权限
|
|
|
- if("00".equals(user.getIdentity())){
|
|
|
+ map.put("userId",user.getId());
|
|
|
+// map.put("roId","10000001");
|
|
|
+ //todo 待确认上货总权限
|
|
|
+ if("10000008".equals(user.getRoleId())){
|
|
|
map.put("userId",user.getId());
|
|
|
- map.put("roId","10000001");
|
|
|
}
|
|
|
-/* if("10000002".equals(user.getRoleId())){
|
|
|
- map.put("userId",user.getId());
|
|
|
- }*/
|
|
|
//分页
|
|
|
MINRowBounds rows = new MINRowBounds(page, limit);
|
|
|
//执行查询
|