调整生成任务代码逻辑
This commit is contained in:
@@ -151,7 +151,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
{
|
{
|
||||||
CodeDetails = SqlFunc.Subqueryable<TStockCode>().Where(it => it.bill_d_id == a.id).ToList(),
|
CodeDetails = SqlFunc.Subqueryable<TStockCode>().Where(it => it.bill_d_id == a.id).ToList(),
|
||||||
}, true)
|
}, true)
|
||||||
.Mapper(it => it.line_status = dic.ContainsKey(it.line_status!) ? dic[it.line_status!]?.ToString()! : "")
|
.Mapper(it => it.line_status = dic.ContainsKey(key: it.line_status) ? dic[it.line_status]?.ToString() : "")
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
@@ -264,7 +264,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
items.ForEach(x =>
|
items.ForEach(x =>
|
||||||
{
|
{
|
||||||
x.is_chain = 0;
|
x.is_chain = 0;
|
||||||
x.chain_type = "3";
|
//x.chain_type = "3";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (moveNum > 1)
|
else if (moveNum > 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user