增加货位查询
This commit is contained in:
@@ -57,11 +57,17 @@ from InvPositionSum as a left join Inventory as b on a.cInvCode=b.cInvCode where
|
||||
where.Add(" cInvCode in @MaterialCodes ");
|
||||
}
|
||||
|
||||
if (stock.BinCodes != null)
|
||||
{
|
||||
where.Add(" cPosCode in @BinCodes ");
|
||||
}
|
||||
|
||||
return this.GetList(string.Join(" and ", where.ToArray()), new
|
||||
{
|
||||
MaterialCode = stock.MaterialCode,
|
||||
MaterialName = $"%{stock.MaterialName}%",
|
||||
stock.MaterialCodes
|
||||
stock.MaterialCodes,
|
||||
stock.BinCodes
|
||||
|
||||
}); ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user