自动签收

This commit is contained in:
2024-06-25 17:13:21 +08:00
parent 1906fc9ad3
commit f1ee8abcef
2 changed files with 11 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ namespace Tnb.ProductionMgr
[ServiceModule(BizTypeId)]
public class PrdMaterialReceiptService : BaseWareHouseService,IPrdMaterialReceiptService, IDynamicApiController, ITransient
{
private const string BizTypeId = "26786119531541";
private const string BizTypeId = "FloorCallMaterial34354738929685";
private readonly ISqlSugarRepository<PrdMaterialReceiptH> _repository;
private readonly IUserManager _userManager;
private readonly IOrganizeService _organizeService;

View File

@@ -30,6 +30,16 @@ namespace Tnb.WarehouseMgr
{
await _serviceMap[input.bizTypeId].ModifyAsync(input);
}
else
{
foreach (var key in _serviceMap.Keys)
{
if (key.Contains(input.bizTypeId))
{
await _serviceMap[input.bizTypeId].ModifyAsync(input);
}
}
}
}
}
}