6 changed files with 82 additions and 101 deletions
@ -0,0 +1,36 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Volo.Abp.AspNetCore.Mvc; |
||||
|
using Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Pda.Controllers.Stores; |
||||
|
|
||||
|
/// <summary>
|
||||
|
///空器具呼叫请求
|
||||
|
/// </summary>
|
||||
|
[ApiController] |
||||
|
[Route($"{PdaHostConst.ROOT_ROUTE}store/integration-packing-note")] |
||||
|
|
||||
|
public class IntegrationPackingNoteController : AbpController |
||||
|
{ |
||||
|
private readonly IIntegrationPackingNoteAppService _integrationPackingNoteAppService; |
||||
|
|
||||
|
/// <summary>
|
||||
|
///
|
||||
|
/// </summary>
|
||||
|
/// <param name="integrationPackingNoteAppService"></param>
|
||||
|
public IntegrationPackingNoteController(IIntegrationPackingNoteAppService integrationPackingNoteAppService) |
||||
|
{ |
||||
|
_integrationPackingNoteAppService = integrationPackingNoteAppService; |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
///
|
||||
|
/// </summary>
|
||||
|
/// <param name="input"></param>
|
||||
|
[HttpPost("")] |
||||
|
public virtual async Task CreateAsync(IntegrationPackingNoteEditInput input) |
||||
|
{ |
||||
|
await _integrationPackingNoteAppService.CreateAsync(input).ConfigureAwait(false); |
||||
|
} |
||||
|
} |
@ -0,0 +1,37 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Volo.Abp.AspNetCore.Mvc; |
||||
|
using Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Pda.Controllers.Stores; |
||||
|
|
||||
|
/// <summary>
|
||||
|
///
|
||||
|
/// </summary>
|
||||
|
[ApiController] |
||||
|
[Route($"{PdaHostConst.ROOT_ROUTE}store/separation-packing-note")] |
||||
|
|
||||
|
public class SeparationPackingNoteController : AbpController |
||||
|
{ |
||||
|
private readonly ISeparationPackingNoteAppService _separationPackingNoteAppService; |
||||
|
|
||||
|
/// <summary>
|
||||
|
///
|
||||
|
/// </summary>
|
||||
|
/// <param name="separationPackingNoteAppService"></param>
|
||||
|
public SeparationPackingNoteController(ISeparationPackingNoteAppService separationPackingNoteAppService) |
||||
|
{ |
||||
|
_separationPackingNoteAppService = separationPackingNoteAppService; |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
///
|
||||
|
/// </summary>
|
||||
|
/// <param name="input"></param>
|
||||
|
[HttpPost("")] |
||||
|
public virtual async Task CreateAsync(SeparationPackingNoteEditInput input) |
||||
|
{ |
||||
|
await _separationPackingNoteAppService.CreateAsync(input).ConfigureAwait(false); |
||||
|
} |
||||
|
|
||||
|
} |
Loading…
Reference in new issue