Commit 6975c14a authored by hujun's avatar hujun

excel

parent aae3a63d
......@@ -173,7 +173,7 @@ class PayLogOpen extends Basic
$list = $this->m_pay_open->getListCheck($pageNo, $pageSize, 'a.id desc', $fields, $where);
if ($this->params['excel'] == 0) {
foreach ($list as $k=>$v) {house_address
foreach ($list as $k=>$v) {
$log_where['open_id'] = $v['id'];
$log_where['is_del'] = 0;
$log_where['status'] = 1;
......@@ -209,7 +209,6 @@ class PayLogOpen extends Basic
$check_time = '';
}
$house_address = $m_house->getFieldOneValue('internal_address', ['id'=>$v['house_id']]);
$excel_data[$k] = [
'id' => $v['id'],
'create_time' => $v['create_time'],
......@@ -218,7 +217,7 @@ class PayLogOpen extends Basic
'bargain_id' => $v['bargain_id'],
'order_id' => $v['order_id'],
'house_id' => $v['house_id'],
'house_address' => $house_address,
'house_address' => $v['house_address'],
'status_string' => $status_array[$v['status']],
'disc_time' => $disc_time,
'check_time' => $check_time
......
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