Commit 48389bb6 authored by hujun's avatar hujun

a.check_status

parent cb69744e
...@@ -38,12 +38,12 @@ class Finance extends Basic ...@@ -38,12 +38,12 @@ class Finance extends Basic
$fields = 'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.commission,a.practical_fee'; $fields = 'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.commission,a.practical_fee';
$where['a.father_id'] = 0; $where['a.father_id'] = 0;
$where['c.is_del'] = 0; $where['c.is_del'] = 0;
$where['a.check_status'] = 0; // $where['a.check_status'] = 0;
$where['a.status'] = 10; $where['a.status'] = 10;
if (!empty($this->params['check_status'])) { // if (!empty($this->params['check_status'])) {
$where['a.check_status'] = $this->params['check_status']; // $where['a.check_status'] = $this->params['check_status'];
} // }
if (!empty($this->params['status'])) { if (!empty($this->params['status'])) {
$where['a.status'] = 20; $where['a.status'] = 20;
...@@ -150,7 +150,7 @@ class Finance extends Basic ...@@ -150,7 +150,7 @@ class Finance extends Basic
$fields = 'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.commission,a.practical_fee'; $fields = 'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.commission,a.practical_fee';
$where['a.father_id'] = 0; $where['a.father_id'] = 0;
$where['c.is_del'] = 0; $where['c.is_del'] = 0;
$where['a.check_status'] = 0; // $where['a.check_status'] = 0;
$where['a.status'] = 10; $where['a.status'] = 10;
$data['data'] = $bargain->getBargainInfo($fields, $where); $data['data'] = $bargain->getBargainInfo($fields, $where);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment