Merge branch 'jackYun' of http://8.130.121.29:3000/yuyubo/YunTongJackYunTask into jackYun
This commit is contained in:
@@ -91,6 +91,14 @@ namespace MyCode.Project.Infrastructure.JackYun
|
|||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string skuImgUrl { get; set; }
|
public string skuImgUrl { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Desc:计量单位
|
||||||
|
/// Default:
|
||||||
|
/// Nullable:True
|
||||||
|
/// </summary>
|
||||||
|
public string Unit { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TradesItem
|
public class TradesItem
|
||||||
|
|||||||
@@ -31,12 +31,12 @@ namespace MyCode.Project.Repositories
|
|||||||
[status], CONVERT(NVARCHAR(30),[consignTime],23) [consignTime],
|
[status], CONVERT(NVARCHAR(30),[consignTime],23) [consignTime],
|
||||||
[goodsNo], [goodsId],SUM([sellTotal]) [sellTotal],
|
[goodsNo], [goodsId],SUM([sellTotal]) [sellTotal],
|
||||||
SUM([sellCount]) [sellCount], SUM([divideSellTotal]) AS [divideSellTotal],
|
SUM([sellCount]) [sellCount], SUM([divideSellTotal]) AS [divideSellTotal],
|
||||||
[barcode], [TradeType] ,[warehouseId]
|
[barcode], [TradeType] ,[warehouseId],Unit
|
||||||
FROM [JackOrders] a WITH (NOLOCK)
|
FROM [JackOrders] a WITH (NOLOCK)
|
||||||
LEFT JOIN [dbo].[JackOrdersItem] b WITH (NOLOCK)
|
LEFT JOIN [dbo].[JackOrdersItem] b WITH (NOLOCK)
|
||||||
ON a.id = b.JackOrdersId
|
ON a.id = b.JackOrdersId
|
||||||
WHERE a.status = 0
|
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);
|
var list = this.SelectList<PushOrderListResp>(sql);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user