我想使用以下查询来订购商店下订单的日期。我想按升序执行它们,但是当我尝试测试运行时出现以下错误:[SyntaxError]line0,col7:Error:ExpectedIdentificationVariable|ScalarExpression|AggregateExpression|FunctionDeclaration|PartialObjectExpression|"("Subselect")"|CaseExpression,got'order'$orderSales=$this->getDoctrine()->getRepository("AppBundle:Order"