diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java index ed76ab91b..5debe9193 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java @@ -13,7 +13,9 @@ import org.springblade.core.cloud.feign.EnableBladeFeign; * * @author lmy */ +@EnableBladeFeign @SeataCloudApplication + public class BasicDataApplication { public static void main(String[] args) { diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java index 9e6dd9fd9..98611fe75 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java @@ -169,12 +169,19 @@ public class BasicdataWarehouseServiceImpl extends BaseServiceImpl>>>>>> 当前登录的人 {} 角色信息 {}",user.getAccount(),user.getRoleId()); // 最大的管理员 if (ObjectUtil.isEmpty(user.getRoleId())) { return null; } + log.info(">>>>1 {}",user.getRoleId()); + log.info(">>>>2 {}",defaultRoleId); if (user.getRoleId().contains(defaultRoleId)) { // 当前这登录的用户为商场用户 @@ -265,6 +272,7 @@ public class BasicdataWarehouseServiceImpl extends BaseServiceImpl myWarehouseList = getMyWarehouseList(); diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/TrunkLineApplication.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/TrunkLineApplication.java index 3fe5da099..d4ce0a6b7 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/TrunkLineApplication.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/TrunkLineApplication.java @@ -17,14 +17,17 @@ package com.logpm.trunkline; import org.springblade.common.constant.ModuleNameConstant; +import org.springblade.core.cloud.feign.EnableBladeFeign; import org.springblade.core.launch.BladeApplication; import org.springblade.core.transaction.annotation.SeataCloudApplication; +import org.springframework.cloud.openfeign.EnableFeignClients; /** * Demo启动器 * * @author Chill */ +@EnableBladeFeign @SeataCloudApplication public class TrunkLineApplication {