消除warning

This commit is contained in:
alex
2023-07-14 14:07:44 +08:00
parent b26ec5a297
commit 14e1e58a3c
3 changed files with 8 additions and 6 deletions

View File

@@ -296,7 +296,7 @@ namespace Tnb.WarehouseMgr
{
var curPreTaskCodes = preTaskCodes.FindAll(x => x.bill_id == disTask.pretask_id);
var curDisTaskCodes = curPreTaskCodes.Adapt<List<WmsDistaskCode>>();
curPreTaskCodes.ForEach(x =>
curDisTaskCodes.ForEach(x =>
{
x.id = SnowflakeIdHelper.NextId();
x.bill_id = disTask.id;