| | |
| | | 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; |
| | |
| | | { |
| | | return WarehouseDisableStatus(new int[] { key }); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |