Browse Source

新增 底盘

dev_DY_CC
郑勃旭 1 year ago
parent
commit
2e02ff4e6f
  1. 7
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Chassis/ChassisAppService.cs
  2. 12
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Equipments/EquipmentRecordAppService.cs
  3. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/StoreApplicationAutoMapperProfile.cs

7
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Chassis/ChassisAppService.cs

@ -1,12 +1,14 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Castle.Components.DictionaryAdapter; using Castle.Components.DictionaryAdapter;
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Volo.Abp; using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities; using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories; using Volo.Abp.Domain.Repositories;
using Volo.Abp.ObjectMapping; using Volo.Abp.ObjectMapping;
@ -29,6 +31,7 @@ public class ChassisAppService
, IChassisAppService , IChassisAppService
{ {
private new readonly IChassisRepository _repository;
private readonly IChassisManager _manager; private readonly IChassisManager _manager;
public ChassisAppService( public ChassisAppService(
@ -39,8 +42,10 @@ public class ChassisAppService
base.UpdatePolicyName = ChassisPermissions.Update; base.UpdatePolicyName = ChassisPermissions.Update;
base.DeletePolicyName = ChassisPermissions.Delete; base.DeletePolicyName = ChassisPermissions.Delete;
_repository = repository;
_manager = manager; _manager = manager;
} }
#region 无用
[NonAction] [NonAction]
public Task<ChassisDTO> GetDetailAsync(Guid id, Guid detailId) public Task<ChassisDTO> GetDetailAsync(Guid id, Guid detailId)
@ -77,4 +82,6 @@ public class ChassisAppService
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
#endregion
} }

12
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Equipments/EquipmentRecordAppService.cs

@ -32,32 +32,32 @@ public class EquipmentRecordAppService
} }
#region 无用 #region 无用
[NonAction]
public Task<EquipmentRecordDTO> GetDetailAsync(Guid id, Guid detailId) public Task<EquipmentRecordDTO> GetDetailAsync(Guid id, Guid detailId)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[NonAction]
public Task<List<EquipmentRecordDTO>> GetDetailListAsync(Guid id, SfsStoreRequestInputBase requestInput) public Task<List<EquipmentRecordDTO>> GetDetailListAsync(Guid id, SfsStoreRequestInputBase requestInput)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[NonAction]
public Task AddDetailListAsync(Guid id, List<EquipmentRecordDTO> list) public Task AddDetailListAsync(Guid id, List<EquipmentRecordDTO> list)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[NonAction]
public Task UpdateDetailAsync(Guid id, Guid detailId, EquipmentRecordDTO updateDTO) public Task UpdateDetailAsync(Guid id, Guid detailId, EquipmentRecordDTO updateDTO)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[NonAction]
public Task CheckStatusAsync(string number) public Task CheckStatusAsync(string number)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[NonAction]
public Task UpsertAsync(EquipmentRecordEditInput input) public Task UpsertAsync(EquipmentRecordEditInput input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/StoreApplicationAutoMapperProfile.cs

@ -128,5 +128,7 @@ public partial class StoreApplicationAutoMapperProfile : Profile
ExchangeDataAutoMapperProfile(); ExchangeDataAutoMapperProfile();
EquipmentRecordAutoMapperProfile(); EquipmentRecordAutoMapperProfile();
//底盘
ChassisAutoMapperProfile();
} }
} }

Loading…
Cancel
Save