Compare commits
2 Commits
74784620a9
...
9823f93bdc
| Author | SHA1 | Date | |
|---|---|---|---|
| 9823f93bdc | |||
| 676b5efa72 |
@ -50,12 +50,11 @@ GROUP BY [shopCode],[shopName], [shopId], [warehouseName], [warehouseCode], [s
|
||||
/// <returns></returns>
|
||||
public List<PushOrderListResp> GetPushReturnOrder()
|
||||
{
|
||||
string sql = $@"
|
||||
SELECT [shopCode], [shopName], [shopId], [warehouseName], [warehouseCode],
|
||||
string sql = $@" SELECT [shopCode], [shopName], [shopId], [warehouseName], [warehouseCode],
|
||||
[status], CONVERT(NVARCHAR(30),[consignTime],23) [consignTime],
|
||||
[goodsNo], [goodsId],SUM([sellTotal]*-1) [sellTotal],
|
||||
SUM([returnCount]*-1) [sellCount], SUM([ShareShouldReturnFee]*-1) AS [divideSellTotal],
|
||||
[barcode], [TradeType] ,[warehouseId],Unit
|
||||
convert(nvarchar(100),barcode) as [barcode], [TradeType] ,convert(nvarchar(100),[warehouseId]) as [warehouseId],Unit
|
||||
FROM [JackOrders] a WITH (NOLOCK)
|
||||
LEFT JOIN [dbo].[ReturnChangeGoodsDetail] b WITH (NOLOCK)
|
||||
ON a.id = b.JackOrdersId
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user