Commit cd52335a authored by 张永's avatar 张永

1

parent 15585b06
...@@ -1110,7 +1110,7 @@ public class OrderServiceImpl implements OrderService { ...@@ -1110,7 +1110,7 @@ public class OrderServiceImpl implements OrderService {
" DisAmount = case when b.sSalesOrderTypeID = '0' then a.nDisAmount else 0 end," + " DisAmount = case when b.sSalesOrderTypeID = '0' then a.nDisAmount else 0 end," +
" PromoSalePrice = CONVERT(NUMERIC(12,2),ROUND((a.nSaleAmount)/a.nSaleQty,2))," + " PromoSalePrice = CONVERT(NUMERIC(12,2),ROUND((a.nSaleAmount)/a.nSaleQty,2))," +
" OriginaSaleAmount = a.nSaleAmount+a.nDisAmount," + " OriginaSaleAmount = a.nSaleAmount+a.nDisAmount," +
" ISGift = a.nTag&1" + " ISGift = a.nTag&1," +
" PromoPaperNO = a.sPromoPaperNO," + " PromoPaperNO = a.sPromoPaperNO," +
" PromoActionTypeID = a.sPromoActionTypeID," + " PromoActionTypeID = a.sPromoActionTypeID," +
" ReturnQty = case when b.sSalesOrderTypeID = '0' then isnull(a.nReturnQty,0) else abs(a.nSendQty) end," + " ReturnQty = case when b.sSalesOrderTypeID = '0' then isnull(a.nReturnQty,0) else abs(a.nSendQty) end," +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment