@@ -86,7 +86,7 @@
and a.cCode not like '%样%' and g.cMoCode not like '%样%')
)) as t1
group by MODetailsID,cVCName,cVenName,cVenAbbName,cVenCode,cInvCode,cInvName,cComUnitCode,cColor,cColorNumber
- having (sum(iQuantityOut)>0 or sum(iQuantityIn)>0)
+
order by cVCName,cVenName,cInvCode,cInvName,cComUnitCode,cColor,cColorNumber