订单状态查询--按客户 SELECT T0.DocNum, T0.DocType, T0.DocStatus, T0.CardCode, T0.CardName, T0.NumAtCard FROM ORDR T0 WHERE T0.CardCode ='[%0]'