Commit 4ccb47d0 authored by hujun's avatar hujun

财务修改日志列表、成交报告审核列表 id

parent f3da2361
...@@ -122,6 +122,10 @@ class Finance extends Basic ...@@ -122,6 +122,10 @@ class Finance extends Basic
$where['g.name'] = ['LIKE', '%'.$this->params['partial_name'].'%']; $where['g.name'] = ['LIKE', '%'.$this->params['partial_name'].'%'];
} }
if (!empty($this->params['bargain_id'])) {
$where['a.id'] = $this->params['bargain_id'];
}
switch ($check_status) { switch ($check_status) {
case 2 : case 2 :
//成交报告列表-第二级审核 //成交报告列表-第二级审核
...@@ -1330,7 +1334,11 @@ class Finance extends Basic ...@@ -1330,7 +1334,11 @@ class Finance extends Basic
$where['b.name'] = [ 'like', '%' . $this->params['phone'] . '%' ]; $where['b.name'] = [ 'like', '%' . $this->params['phone'] . '%' ];
} }
$fields = 'a.create_time,step_content,b.name,b.phone'; if (!empty($this->params['bargain_id'])) {
$where['a.id'] = $this->params['bargain_id'];
}
$fields = 'a.id,a.create_time,step_content,b.name,b.phone';
$m_log = new OBargainLogModel(); $m_log = new OBargainLogModel();
$data['list'] = $m_log->getLogAgent($pageNo, $pageSize, 'a.id desc', $fields, $where); $data['list'] = $m_log->getLogAgent($pageNo, $pageSize, 'a.id desc', $fields, $where);
$data['total'] = $m_log->getLogAgentTotal($where); $data['total'] = $m_log->getLogAgentTotal($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