|
|
|
@ -34,7 +34,7 @@ class CompanyStatementOfflineController extends ThinkController
|
|
|
|
|
|
|
|
|
|
$map = [
|
|
|
|
|
"c.verify_status"=>2,
|
|
|
|
|
"p.verify_status"=>["GT",1]
|
|
|
|
|
"p.verify_status"=>['in',[2,3,4,5]]
|
|
|
|
|
];
|
|
|
|
|
if (isset($_REQUEST['time_start']) && isset($_REQUEST['time_end'])) {
|
|
|
|
|
$time_start = strtotime($_REQUEST['time_start']);
|
|
|
|
@ -70,7 +70,6 @@ class CompanyStatementOfflineController extends ThinkController
|
|
|
|
|
->alias("c")
|
|
|
|
|
->field("c.*,p.statement_num,p.verify_status")
|
|
|
|
|
->where($map)
|
|
|
|
|
->where('p.verify_status <> 6')
|
|
|
|
|
->join("tab_company_statement_pool as p ON c.pool_id = p.id")
|
|
|
|
|
->order("id desc")
|
|
|
|
|
->select();
|
|
|
|
@ -84,7 +83,6 @@ class CompanyStatementOfflineController extends ThinkController
|
|
|
|
|
->alias("c")
|
|
|
|
|
->field("c.*,p.statement_num,p.verify_status")
|
|
|
|
|
->where($map)
|
|
|
|
|
->where('p.verify_status <> 6')
|
|
|
|
|
->join("tab_company_statement_pool as p ON c.pool_id = p.id")
|
|
|
|
|
->page($page,$row)
|
|
|
|
|
->order("id desc")
|
|
|
|
|