mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
非系统组织查询菜单 套餐id配置化
This commit is contained in:
+4
@@ -18,4 +18,8 @@ public class ProductProperties {
|
|||||||
*/
|
*/
|
||||||
private Long imesProduct;
|
private Long imesProduct;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* imes生产系统组织套餐
|
||||||
|
*/
|
||||||
|
private Long imesTenantPackage;
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-1
@@ -58,6 +58,7 @@ import com.cf.imes.module.system.dal.mysql.systemconfig.*;
|
|||||||
import com.cf.imes.module.system.dal.mysql.tokenconfig.TokenConfigMapper;
|
import com.cf.imes.module.system.dal.mysql.tokenconfig.TokenConfigMapper;
|
||||||
import com.cf.imes.module.system.enums.config.SystemConfigTypeEnum;
|
import com.cf.imes.module.system.enums.config.SystemConfigTypeEnum;
|
||||||
import com.cf.imes.module.system.enums.permission.RoleCodeEnum;
|
import com.cf.imes.module.system.enums.permission.RoleCodeEnum;
|
||||||
|
import com.cf.imes.module.system.framework.product.ProductProperties;
|
||||||
import com.cf.imes.module.system.service.funds.purchase.PurchaseService;
|
import com.cf.imes.module.system.service.funds.purchase.PurchaseService;
|
||||||
import com.cf.imes.module.system.service.organ.handler.OrganInfoHandler;
|
import com.cf.imes.module.system.service.organ.handler.OrganInfoHandler;
|
||||||
import com.cf.imes.module.system.service.organ.handler.OrganMenuHandler;
|
import com.cf.imes.module.system.service.organ.handler.OrganMenuHandler;
|
||||||
@@ -172,6 +173,9 @@ public class OrganServiceImpl implements OrganService {
|
|||||||
@Resource
|
@Resource
|
||||||
private CustomPlateNoSeqMapper customPlateNoSeqMapper;
|
private CustomPlateNoSeqMapper customPlateNoSeqMapper;
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
private ProductProperties productProperties;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Long> getOrganIdList() {
|
public List<Long> getOrganIdList() {
|
||||||
List<OrganizationDO> organizationDOS = organMapper.selectList();
|
List<OrganizationDO> organizationDOS = organMapper.selectList();
|
||||||
@@ -545,7 +549,7 @@ public class OrganServiceImpl implements OrganService {
|
|||||||
if (isSystemTenant(tenant) || (SecurityFrameworkUtils.isCfOrg() && SecurityFrameworkUtils.isManageEndPoint())) { // 系统组织,菜单是全量的
|
if (isSystemTenant(tenant) || (SecurityFrameworkUtils.isCfOrg() && SecurityFrameworkUtils.isManageEndPoint())) { // 系统组织,菜单是全量的
|
||||||
menuIds = CollectionUtils.convertSet(menuService.getMenuList(), MenuDO::getId);
|
menuIds = CollectionUtils.convertSet(menuService.getMenuList(), MenuDO::getId);
|
||||||
} else {
|
} else {
|
||||||
menuIds = tenantPackageService.getTenantPackage(tenant.getPackageId()).getMenuIds();
|
menuIds = tenantPackageService.getTenantPackage(productProperties.getImesTenantPackage()).getMenuIds();
|
||||||
}
|
}
|
||||||
// 执行处理器
|
// 执行处理器
|
||||||
handler.handle(menuIds);
|
handler.handle(menuIds);
|
||||||
|
|||||||
@@ -323,6 +323,7 @@ chenfeng:
|
|||||||
notifyUrl: RIEeHCoPHaAryuVN6mEYskBSl+EPvhsxRpjIbuIE7f7jABVxm46bLc01WQUe4Fn9NPYyNTv0xCxM68iRrmFDjAUjQ/hkIVNG+yD/kNsjcYCWa2gtOQPrvWZzDA==
|
notifyUrl: RIEeHCoPHaAryuVN6mEYskBSl+EPvhsxRpjIbuIE7f7jABVxm46bLc01WQUe4Fn9NPYyNTv0xCxM68iRrmFDjAUjQ/hkIVNG+yD/kNsjcYCWa2gtOQPrvWZzDA==
|
||||||
product-id:
|
product-id:
|
||||||
imes-product: 4
|
imes-product: 4
|
||||||
|
imes-tenant-package: 514
|
||||||
|
|
||||||
justauth:
|
justauth:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user