diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Chassis/ChassisAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Chassis/ChassisAppService.cs index b1ebad19e..2e5ed4908 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Chassis/ChassisAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Chassis/ChassisAppService.cs @@ -1,12 +1,14 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Threading; using System.Threading.Tasks; using Castle.Components.DictionaryAdapter; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Volo.Abp; +using Volo.Abp.Application.Dtos; using Volo.Abp.Domain.Entities; using Volo.Abp.Domain.Repositories; using Volo.Abp.ObjectMapping; @@ -29,6 +31,7 @@ public class ChassisAppService , IChassisAppService { + private new readonly IChassisRepository _repository; private readonly IChassisManager _manager; public ChassisAppService( @@ -39,8 +42,10 @@ public class ChassisAppService base.UpdatePolicyName = ChassisPermissions.Update; base.DeletePolicyName = ChassisPermissions.Delete; + _repository = repository; _manager = manager; } + #region 无用 [NonAction] public Task GetDetailAsync(Guid id, Guid detailId) @@ -77,4 +82,6 @@ public class ChassisAppService { throw new NotImplementedException(); } + + #endregion } diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Equipments/EquipmentRecordAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Equipments/EquipmentRecordAppService.cs index cee470b2b..e12099873 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Equipments/EquipmentRecordAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Equipments/EquipmentRecordAppService.cs @@ -32,32 +32,32 @@ public class EquipmentRecordAppService } #region 无用 - + [NonAction] public Task GetDetailAsync(Guid id, Guid detailId) { throw new NotImplementedException(); } - + [NonAction] public Task> GetDetailListAsync(Guid id, SfsStoreRequestInputBase requestInput) { throw new NotImplementedException(); } - + [NonAction] public Task AddDetailListAsync(Guid id, List list) { throw new NotImplementedException(); } - + [NonAction] public Task UpdateDetailAsync(Guid id, Guid detailId, EquipmentRecordDTO updateDTO) { throw new NotImplementedException(); } - + [NonAction] public Task CheckStatusAsync(string number) { throw new NotImplementedException(); } - + [NonAction] public Task UpsertAsync(EquipmentRecordEditInput input) { throw new NotImplementedException(); diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/StoreApplicationAutoMapperProfile.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/StoreApplicationAutoMapperProfile.cs index 6ee7bf61c..89d62533a 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/StoreApplicationAutoMapperProfile.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/StoreApplicationAutoMapperProfile.cs @@ -128,5 +128,7 @@ public partial class StoreApplicationAutoMapperProfile : Profile ExchangeDataAutoMapperProfile(); EquipmentRecordAutoMapperProfile(); + //底盘 + ChassisAutoMapperProfile(); } }