This commit is contained in:
朱斌 2025-07-22 10:54:00 +08:00
commit ecd750ec06
2 changed files with 10 additions and 2 deletions

View File

@ -91,6 +91,14 @@ namespace MyCode.Project.Infrastructure.JackYun
///
/// </summary>
public string skuImgUrl { get; set; }
/// <summary>
/// Desc:计量单位
/// Default:
/// Nullable:True
/// </summary>
public string Unit { get; set; }
}
public class TradesItem

View File

@ -31,12 +31,12 @@ namespace MyCode.Project.Repositories
[status], CONVERT(NVARCHAR(30),[consignTime],23) [consignTime],
[goodsNo], [goodsId],SUM([sellTotal]) [sellTotal],
SUM([sellCount]) [sellCount], SUM([divideSellTotal]) AS [divideSellTotal],
[barcode], [TradeType] ,[warehouseId]
[barcode], [TradeType] ,[warehouseId],Unit
FROM [JackOrders] a WITH (NOLOCK)
LEFT JOIN [dbo].[JackOrdersItem] b WITH (NOLOCK)
ON a.id = b.JackOrdersId
WHERE a.status = 0
GROUP BY [shopCode],[shopName], [shopId], [warehouseName], [warehouseCode], [status], CONVERT(NVARCHAR(30),[consignTime],23) ,[goodsNo], [goodsId], [barcode] ,[warehouseId], [TradeType];";
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;
}