Commit 10d90e39 authored by Quxl's avatar Quxl

x

parent d00a6805
...@@ -342,7 +342,7 @@ public class OrderServiceImpl implements OrderService { ...@@ -342,7 +342,7 @@ public class OrderServiceImpl implements OrderService {
" MeetQty = b.nMeetQty, " + " MeetQty = b.nMeetQty, " +
" Price = b.nPrice " + " Price = b.nPrice " +
" FROM tPromo a, tPromoRuleGoods b, tPromoCustBWList c, tAgent at, tAgentContractGoods ag " + " FROM tPromo a, tPromoRuleGoods b, tPromoCustBWList c, tAgent at, tAgentContractGoods ag " +
" LEFT JOIN tAgentCustTypePrice ap ON ap.sCustTypeID = '" + sCustTypeID + "' and ap.sAgentContractNO = ag.sAgentContractNO and ap.nGoodsID = ag.nGoodsID " + " LEFT JOIN tAgentCustTypePrice ap ON ap.sCustTypeID = c.sShopNO and ap.sAgentContractNO = ag.sAgentContractNO and ap.nGoodsID = ag.nGoodsID " +
" WHERE " + " WHERE " +
" a.sPromoPaperNO = c.sPromoPaperNO " + " a.sPromoPaperNO = c.sPromoPaperNO " +
" AND a.sPromoPaperNO = b.sPromoPaperNO " + " AND a.sPromoPaperNO = b.sPromoPaperNO " +
......
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