更新MybatisPlusSaasConfig中的租户ID默认值为1002;在ShiroConfig中添加MES密炼物料管理和系统分类字典的免密接口;在MesMixerMaterialController中实现密炼物料信息的免密增删改查接口,并添加相应的事件广播功能;在SysCategoryController中新增分类字典的免密查询接口;更新前端导航和菜单数据以支持密炼物料信息模块。
This commit is contained in:
@@ -15,6 +15,7 @@ using YY.Admin.Infrastructure.Storage;
|
||||
using YY.Admin.Infrastructure.Sync;
|
||||
using YY.Admin.Services.Service.Customer;
|
||||
using YY.Admin.Services.Service.Supplier;
|
||||
using YY.Admin.Services.Service.MixerMaterial;
|
||||
using YY.Admin.Services.Service.Vehicle;
|
||||
using YY.Admin.Services.Service.WeightRecord;
|
||||
|
||||
@@ -46,6 +47,9 @@ public class SyncModule : IModule
|
||||
// 磅单管理:免密 API 直连 + STOMP 实时通知
|
||||
containerRegistry.RegisterSingleton<IWeightRecordService, WeightRecordService>();
|
||||
containerRegistry.RegisterSingleton<WeightRecordSyncCoordinator>();
|
||||
// 密炼物料信息:API直连 + STOMP实时通知
|
||||
containerRegistry.RegisterSingleton<IMixerMaterialService, MixerMaterialService>();
|
||||
containerRegistry.RegisterSingleton<MixerMaterialSyncCoordinator>();
|
||||
|
||||
var serviceCollection = new ServiceCollection();
|
||||
serviceCollection.AddTransient<DisconnectGuardHandler>();
|
||||
@@ -98,6 +102,8 @@ public class SyncModule : IModule
|
||||
_ = containerProvider.Resolve<SupplierSyncCoordinator>();
|
||||
// 强制实例化磅单同步协调器
|
||||
_ = containerProvider.Resolve<WeightRecordSyncCoordinator>();
|
||||
// 强制实例化密炼物料同步协调器
|
||||
_ = containerProvider.Resolve<MixerMaterialSyncCoordinator>();
|
||||
}
|
||||
|
||||
private static IAsyncPolicy<HttpResponseMessage> GetRetryPolicy()
|
||||
|
||||
Reference in New Issue
Block a user