Browse Source

1.修复超管报错的问题

single_db
pref_mail@163.com 1 year ago
parent
commit
1cd26c7445
  1. 7
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java

7
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java

@ -166,6 +166,13 @@ public class BasicdataWarehouseServiceImpl extends BaseServiceImpl<BasicdataWare
String defaultRoleId = DictBizCache.getValue(DictBizConstant.DEFAULT_MALL_ROLE_ID, DictBizConstant.DEFAULT_MALL_ROLE_ID);
// 最大的管理员
if(StringUtil.isBlank(user.getRoleId())){
return null;
}
if (user.getRoleId().contains(defaultRoleId)) {
// 当前这登录的用户为商场用户

Loading…
Cancel
Save