|
|
|
@ -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'];
|
|
|
|
|
}
|
|
|
|
|