From 7c926c1e3ade5158e6b1b0b805cd1b9c142e4b6c Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期六, 21 十二月 2024 09:45:33 +0800 Subject: [PATCH] 更新代码以使用SqlSugarScope替代SqlSugarClient,并添加生产产线属性 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/MCSService.cs | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/MCSService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/MCSService.cs index 6f67fa0..daf0677 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/MCSService.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/MCSService.cs @@ -1,4 +1,5 @@ -锘縰sing System; +锘縰sing LogLibrary.Log; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -7,6 +8,7 @@ using WIDESEA_IStorageBasicRepository; using WIDESEA_IStorageTaskRepository; using WIDESEA_IStoragIntegrationServices; +using WIDESEAWCS_BasicInfoRepository; namespace WIDESEA_StoragIntegrationServices { @@ -16,15 +18,16 @@ private readonly IDt_TaskRepository _taskRepository; private readonly IStockInfoRepository _stockInfoRepository; private readonly ISys_ConfigService _configService; + private readonly IDt_StationManagerRepository _stationManagerRepository; + private readonly LogFactory LogFactory = new LogFactory(); - - public MCSService(ILocationInfoRepository locationRepository,IDt_TaskRepository taskRepository,IStockInfoRepository stockInfoRepository, ISys_ConfigService configService) + public MCSService(ILocationInfoRepository locationRepository,IDt_TaskRepository taskRepository,IStockInfoRepository stockInfoRepository, ISys_ConfigService configService, IDt_StationManagerRepository stationManagerRepository) { _locationRepository = locationRepository; _taskRepository = taskRepository; _stockInfoRepository = stockInfoRepository; _configService = configService; - + _stationManagerRepository = stationManagerRepository; } } } -- Gitblit v1.9.3