bug fix #14

Merged
mengfucius merged 1 commits from zm into master 2 years ago

@ -479,13 +479,13 @@ class ExamineLogic extends Common
->where($where) ->where($where)
->where($whereOr) ->where($whereOr)
->field( ->field(
'a.customer_check_id as catagory_id ,customer.name as customer_name,a.create_time,a.check_status,a.create_user_id,a.check_user_id,a.flow_user_id,user.realname,examine_flow.name as examine_name' 'a.customer_check_id as catagory_id ,customer.name as customer_name,a.create_time,a.check_status,a.user_id,a.check_user_id,a.flow_user_id,user.realname,examine_flow.name as examine_name'
) )
->page($param['page'], $param['limit']) ->page($param['page'], $param['limit'])
->order('a.create_time desc') ->order('a.create_time desc')
->select(); ->select();
foreach ($list as $k => $v) { foreach ($list as $k => $v) {
$list[$k]['create_user_info'] = $userModel->getUserById($v['create_user_id']); $list[$k]['create_user_info'] = $userModel->getUserById($v['user_id']);
} }
$dataCount = db('crm_customer_check') $dataCount = db('crm_customer_check')

Loading…
Cancel
Save