Commit 260ecb95 by 徐高华

超管逻辑

parent a3c43527
......@@ -60,7 +60,7 @@ public class GicDepartmentController extends WebBaseController{
String enterpriseId = loginUser.getEnterpriseId() ;
EnterpriseSettingDTO enterpriseSetting = enterpriseService.getEnterpriseSettingByEnterpriseId(enterpriseId) ;
List<StoreWidgetRightDataDTO> list = null ;
if (enterpriseSetting.getEnableAccessControl() != null && enterpriseSetting.getEnableAccessControl() == 1) {
if (enterpriseSetting.getEnableAccessControl() != null && enterpriseSetting.getEnableAccessControl() == 1 && !Integer.valueOf(1).equals(loginUser.getSuperAdmin())) {
String clerkId = loginUser.getClerkId() ;
ClerkDTO clerk = this.clerkService.getclerkById(clerkId) ;
String storeWidgetId = clerk.getStoreWidgetId() ;
......
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