Commit 2491f204 authored by hujun's avatar hujun

status

parent effa0c50
...@@ -4987,21 +4987,21 @@ class Finance extends Basic ...@@ -4987,21 +4987,21 @@ class Finance extends Basic
switch ($this->params['check_status']) { switch ($this->params['check_status']) {
case 1 : case 1 :
//财务一审 //财务一审
$where['b.status'] = 2; $where['a.status'] = 2;
$status_string = '财务一审'; $status_string = '财务一审';
break; break;
case 2 : case 2 :
//财务二审 //财务二审
$where['b.status'] = 3; $where['a.status'] = 3;
$status_string = '财务二审'; $status_string = '财务二审';
break; break;
case 3 : case 3 :
//未审核 //未审核
$where[] = ['EXP', 'b.status is null']; $where['a.status'] = 0;
$status_string = '未审核';break; $status_string = '未审核';break;
case 4 : case 4 :
//总监 //总监
$where['b.status'] = 1; $where['a.status'] = 1;
$status_string = '总监通过'; $status_string = '总监通过';
break; break;
} }
...@@ -5092,7 +5092,7 @@ class Finance extends Basic ...@@ -5092,7 +5092,7 @@ class Finance extends Basic
} }
$where['a.is_del'] = 0; $where['a.is_del'] = 0;
$fields = 'a.id,a.create_time,a.agent_id,a.pay_log_id,a.bargain_id,a.order_id,a.house_id,a.house_address,a.status,b.create_time as disc_time,max(b.id) as two_id'; $fields = 'a.id,a.create_time,a.agent_id,a.pay_log_id,a.bargain_id,a.order_id,a.house_id,a.status,a.house_address,b.create_time as disc_time,max(b.id) as two_id';
$m_pay_open = new OPayLogOpen(); $m_pay_open = new OPayLogOpen();
$m_pay_open_log = new OPayLogOpenLog(); $m_pay_open_log = new OPayLogOpenLog();
$redis_service = new RedisCacheService(); $redis_service = new RedisCacheService();
......
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