内联只能连一个
FROM DISPATCHLIST DL, DISPATCHLISTS DLS
INNER JOIN CUSTOMER C ON C.cCusCode=DL.cCusCode
LEFT OUTER JOIN SalePayVouch SPV ON DL.cCusCode=SPV.cCusCode
LEFT OUTER JOIN SalePayVouchS SPVS ON SPVS.ID=SPV.ID
LEFT OUTER JOIN AP_CLOSEBILL ACB ON DL.cCusCode =ACB.cDwCode
WHERE DL.DLID=DLS.DLID
group by c.cCusAbbName,DLS.iTaxUnitPrice
order by c.cCusAbbName