增加抓单类型

This commit is contained in:
2025-11-18 11:02:53 +08:00
parent b484ce5490
commit 3baaae83fd
2 changed files with 4 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ namespace MyCode.Project.Repositories
FROM [JackOrders] a WITH (NOLOCK)
LEFT JOIN [dbo].[JackOrdersItem] b WITH (NOLOCK)
ON a.id = b.JackOrdersId
WHERE a.status = 0 and TradeType in (1,7) and sellCount <> 0
WHERE a.status = 0 and TradeType in (1,5,7) and sellCount <> 0
GROUP BY [shopCode],[shopName], [shopId], [warehouseName], [warehouseCode], [status], CONVERT(NVARCHAR(30),[consignTime],23) ,[goodsNo], [goodsId], [barcode] ,[warehouseId], [TradeType],Unit";
var list = this.SelectList<PushOrderListResp>(sql);
return list;