1
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Tnb.WarehouseMgr
|
||||
/// </summary>
|
||||
[OverideVisualDev(ModuleId)]
|
||||
[ServiceModule(BizTypeId)]
|
||||
public class WmsPDACarryMoveInStockService : BaseWareHouseService,IPdaStroage
|
||||
public class WmsPDACarryMoveInStockService : BaseWareHouseService, IPdaStroage
|
||||
{
|
||||
private const string BizTypeId = "26121988909861";
|
||||
private const string ModuleId = "26476127634469";
|
||||
@@ -48,7 +48,8 @@ namespace Tnb.WarehouseMgr
|
||||
IVisualDevService visualDevService,
|
||||
IWareHouseService wareHouseService,
|
||||
IUserManager userManager,
|
||||
IBillRullService billRullService)
|
||||
IBillRullService billRullService,
|
||||
ITaskMessageNotify taskMessageNotify) : base(taskMessageNotify.Writer)
|
||||
{
|
||||
_db = repository.AsSugarClient();
|
||||
_runService = runService;
|
||||
@@ -86,7 +87,7 @@ namespace Tnb.WarehouseMgr
|
||||
|
||||
VisualDevEntity? templateEntity = await _visualDevService.GetInfoById(ModuleId, true);
|
||||
await _runService.Create(templateEntity, input);
|
||||
|
||||
|
||||
if (sPoint != null && ePoint != null)
|
||||
{
|
||||
var points = await _wareHouseService.PathAlgorithms(sPoint.id, ePoint.id);
|
||||
@@ -155,6 +156,10 @@ namespace Tnb.WarehouseMgr
|
||||
await _db.Ado.RollbackTranAsync();
|
||||
throw;
|
||||
}
|
||||
finally
|
||||
{
|
||||
await Publish(nameof(IWareHouseService.GenTaskExecute));
|
||||
}
|
||||
return Task.FromResult(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user