hutongqing
2025-01-13 565c3a3d0e7fb13effb526d2d6014f70a4d23f3b
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/WarehouseService.cs
@@ -11,13 +11,19 @@
using WIDESEA_Model.Models;
using WIDESEA_Core.Helper;
using WIDESEA_Common.CommonEnum;
using WIDESEA_Core.Caches;
namespace WIDESEA_BasicService
{
    public partial class WarehouseService : ServiceBase<Dt_Warehouse, IWarehouseRepository>, IWarehouseService
    {
        public WarehouseService(IWarehouseRepository BaseDal) : base(BaseDal)
        private readonly ICacheService _cacheService;
        private readonly IPalletTypeInfoRepository _palletTypeInfoRepository;
        public WarehouseService(IWarehouseRepository BaseDal,ICacheService cacheService, IPalletTypeInfoRepository palletTypeInfoRepository) : base(BaseDal)
        {
            _cacheService = cacheService;
            _palletTypeInfoRepository = palletTypeInfoRepository;
        }
        public IWarehouseRepository Repository => BaseDal;
@@ -75,5 +81,7 @@
        {
            return WarehouseDisableStatus(new int[] { key });
        }
    }
}