From 7617ee8a4c0976ec874892df737a0c6de1d5a8dd Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 19 Jan 2021 16:10:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=94=AF=E4=BB=98=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Payment/Controller/PaymentController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Payment/Controller/PaymentController.class.php b/Application/Payment/Controller/PaymentController.class.php index 01ebd1997..e77835c58 100644 --- a/Application/Payment/Controller/PaymentController.class.php +++ b/Application/Payment/Controller/PaymentController.class.php @@ -330,7 +330,7 @@ class PaymentController extends BaseController ->field("s.*,p.statement_num statement_pool_num") ->join("left join tab_company_statement_pool p ON p.id = s.pool_id") ->where(['s.id'=>['in',$id]]) - ->order("FIELD(s.pay_status,0,-1,1),s.verify_status desc") + ->order("statement_num desc") ->select(); foreach ($data as $key => $value) {