更新MybatisPlusSaasConfig中的租户ID默认值为1002;在ShiroConfig中添加MES密炼物料管理和系统分类字典的免密接口;在MesMixerMaterialController中实现密炼物料信息的免密增删改查接口,并添加相应的事件广播功能;在SysCategoryController中新增分类字典的免密查询接口;更新前端导航和菜单数据以支持密炼物料信息模块。

This commit is contained in:
geht
2026-05-07 09:47:39 +08:00
parent 25629f2df1
commit ce9dc8efd8
31 changed files with 1967 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ public class MybatisPlusSaasConfig {
}
}
if (oConvertUtils.isEmpty(tenantId)) {
tenantId = "0";
tenantId = "1002";
}
return new LongValue(tenantId);
}

View File

@@ -203,6 +203,10 @@ public class ShiroConfig {
filterChainDefinitionMap.put("/xslmes/mesXslSupplier/anon/**", "anon");
// MES磅单管理免密接口供桌面端调用
filterChainDefinitionMap.put("/xslmes/mesXslWeightRecord/anon/**", "anon");
// MES密炼物料管理免密接口供桌面端调用
filterChainDefinitionMap.put("/mes/material/mixerMaterial/anon/**", "anon");
// 系统分类字典免密接口(供桌面端调用)
filterChainDefinitionMap.put("/sys/category/anon/**", "anon");
// 桌面端用户反同步批量上报Outbox -> /sys/sync/batch
filterChainDefinitionMap.put("/sys/sync/batch", "anon");