From 2e02ff4e6f780a2c2f8aab08e12e08627a243fc6 Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Tue, 16 Apr 2024 15:45:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E5=BA=95=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Chassis/ChassisAppService.cs | 7 +++++++ .../Equipments/EquipmentRecordAppService.cs | 12 ++++++------ .../StoreApplicationAutoMapperProfile.cs | 2 ++ 3 files changed, 15 insertions(+), 6 deletions(-) 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(); } }