增加MES-WMS接口
This commit is contained in:
@@ -9,6 +9,7 @@ using JNPF.Common.Enums;
|
||||
using JNPF.Common.Extension;
|
||||
using JNPF.FriendlyException;
|
||||
using JNPF.Systems.Interfaces.System;
|
||||
using Mapster;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.CodeAnalysis.Operations;
|
||||
using SqlSugar;
|
||||
@@ -25,7 +26,7 @@ namespace Tnb.WarehouseMgr
|
||||
/// <summary>
|
||||
/// 出库签收
|
||||
/// </summary>
|
||||
public class WmsSignForDeliveryService : BaseWareHouseService
|
||||
public class WmsSignForDeliveryService : BaseWareHouseService, IWmsSignForDeliveryService
|
||||
{
|
||||
private readonly ISqlSugarClient _db;
|
||||
private readonly IWmsCarryService _wareCarryService;
|
||||
@@ -112,6 +113,17 @@ namespace Tnb.WarehouseMgr
|
||||
throw;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// MES调用载具签收接口
|
||||
/// </summary>
|
||||
/// <param name="input"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task MESCarrySign(MESCarrySignInput input)
|
||||
{
|
||||
var signInput = input.Adapt<SignForDeliveryInput>();
|
||||
await SignForDelivery(signInput);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user