自动签收
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Tnb.ProductionMgr
|
|||||||
[ServiceModule(BizTypeId)]
|
[ServiceModule(BizTypeId)]
|
||||||
public class PrdMaterialReceiptService : BaseWareHouseService,IPrdMaterialReceiptService, IDynamicApiController, ITransient
|
public class PrdMaterialReceiptService : BaseWareHouseService,IPrdMaterialReceiptService, IDynamicApiController, ITransient
|
||||||
{
|
{
|
||||||
private const string BizTypeId = "26786119531541";
|
private const string BizTypeId = "FloorCallMaterial34354738929685";
|
||||||
private readonly ISqlSugarRepository<PrdMaterialReceiptH> _repository;
|
private readonly ISqlSugarRepository<PrdMaterialReceiptH> _repository;
|
||||||
private readonly IUserManager _userManager;
|
private readonly IUserManager _userManager;
|
||||||
private readonly IOrganizeService _organizeService;
|
private readonly IOrganizeService _organizeService;
|
||||||
|
|||||||
@@ -30,6 +30,16 @@ namespace Tnb.WarehouseMgr
|
|||||||
{
|
{
|
||||||
await _serviceMap[input.bizTypeId].ModifyAsync(input);
|
await _serviceMap[input.bizTypeId].ModifyAsync(input);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foreach (var key in _serviceMap.Keys)
|
||||||
|
{
|
||||||
|
if (key.Contains(input.bizTypeId))
|
||||||
|
{
|
||||||
|
await _serviceMap[input.bizTypeId].ModifyAsync(input);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user