From 0c54e6ecb7b2dad56ab6ba74b73a782b70b96ed7 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 2 Feb 2021 16:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B1=87=E6=80=BB=E5=8D=95?= =?UTF-8?q?=E5=8F=B7=E6=9F=A5=E6=89=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Payment/Controller/PaymentController.class.php | 10 ++++++++++ Application/Payment/View/Payment/lists.html | 7 ++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Application/Payment/Controller/PaymentController.class.php b/Application/Payment/Controller/PaymentController.class.php index 08f953372..bd7294ee4 100644 --- a/Application/Payment/Controller/PaymentController.class.php +++ b/Application/Payment/Controller/PaymentController.class.php @@ -73,6 +73,16 @@ class PaymentController extends BaseController $map['s.verify_time'] = ['ELT', strtotime($_REQUEST['verifytime_end']) + 86399]; } + if(isset($_REQUEST['statement_num'])){ + $statement_num = $_REQUEST['statement_num']; + $pool_ids = M("company_statement_pool","tab_")->where("statement_num like '%{$statement_num}%'")->getField("id",true); + if(!empty($pool_ids)){ + $map['s.pool_id'] = ['in', $pool_ids]; + }else{ + $map['s.pool_id'] = 0; + } + } + if(isset($_REQUEST['company_type'])){ $map['s.company_type'] = $_REQUEST['company_type']; } diff --git a/Application/Payment/View/Payment/lists.html b/Application/Payment/View/Payment/lists.html index e1b963bf9..7b5ae0576 100644 --- a/Application/Payment/View/Payment/lists.html +++ b/Application/Payment/View/Payment/lists.html @@ -181,11 +181,8 @@
- -
- - - + +
 -