11
This commit is contained in:
parent
af2f97c508
commit
8b2c7b62d8
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user