生产投料解绑载具物料
This commit is contained in:
@@ -16,6 +16,8 @@ using Tnb.ProductionMgr.Entities;
|
||||
using Tnb.ProductionMgr.Entities.Dto;
|
||||
using Tnb.ProductionMgr.Interfaces;
|
||||
using Tnb.WarehouseMgr.Entities;
|
||||
using Tnb.WarehouseMgr.Entities.Dto.Inputs;
|
||||
using Tnb.WarehouseMgr.Interfaces;
|
||||
|
||||
namespace Tnb.ProductionMgr
|
||||
{
|
||||
@@ -31,6 +33,7 @@ namespace Tnb.ProductionMgr
|
||||
private readonly IPrdMoTaskService _prdMoTaskService;
|
||||
private readonly IBillRullService _billRullService;
|
||||
private readonly IDictionaryDataService _dictionaryDataService;
|
||||
private readonly IWmsCarryBindService _wmsCarryBindService;
|
||||
// private readonly WmsSignForDeliveryService _wmsSignForDeliveryService;
|
||||
|
||||
|
||||
@@ -41,6 +44,7 @@ namespace Tnb.ProductionMgr
|
||||
IPrdMoTaskService prdMoTaskService,
|
||||
// WmsSignForDeliveryService wmsSignForDeliveryService,
|
||||
IDictionaryDataService dictionaryDataService,
|
||||
IWmsCarryBindService wmsCarryBindService,
|
||||
IUserManager userManager
|
||||
)
|
||||
{
|
||||
@@ -50,6 +54,7 @@ namespace Tnb.ProductionMgr
|
||||
// _wmsSignForDeliveryService = _wmsSignForDeliveryService;
|
||||
_dictionaryDataService = dictionaryDataService;
|
||||
_billRullService = billRullService;
|
||||
_wmsCarryBindService = wmsCarryBindService;
|
||||
}
|
||||
|
||||
|
||||
@@ -452,6 +457,10 @@ namespace Tnb.ProductionMgr
|
||||
|
||||
_ = await db.Insertable<PrdFeedingH>(prdFeedingH).ExecuteCommandAsync();
|
||||
_ = await db.Insertable<PrdFeedingD>(list).ExecuteCommandAsync();
|
||||
_wmsCarryBindService.CarryCodeUnbind(new CarryCodeUnbindInput()
|
||||
{
|
||||
carry_id = carry.id
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user