Commit 97f88b4a by 陈浩建

修改受理单批量导入权限

parent 7c0e6fb9
......@@ -1112,7 +1112,7 @@ public class OrderController extends BaseController {
}
ShiroUser user = getShiroUser();
// 当前是否有数据权限
boolean hasDataPermission = user.getRoleNames().stream().anyMatch(data -> StringUtils.equalsAny(data, "活动上单员", "数据管理员", "超级管理员"));
boolean hasDataPermission = user.getRoleNames().stream().anyMatch(data -> StringUtils.equalsAny(data, "营业员", "县分管理员(订单)", "超级管理员"));
if (!hasDataPermission) {
return ResponseData.error("无数据权限!");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment