|
|
@ -37,9 +37,10 @@ class PartnerController extends ThinkController
|
|
|
|
$row = intval(I('row', 0));
|
|
|
|
$row = intval(I('row', 0));
|
|
|
|
$row = empty($row) ? 10 : $row;//每页条数
|
|
|
|
$row = empty($row) ? 10 : $row;//每页条数
|
|
|
|
|
|
|
|
|
|
|
|
$data = $model
|
|
|
|
$data = $model->alias('p')
|
|
|
|
->field('tab_partner.id,tab_partner.partner,tab_partner.status,tab_partner.create_time,sys_member.nickname')
|
|
|
|
->field('p.id,p.partner,p.status,p.create_time,link_man,link_phone,address,company_tax_no,payee_name,
|
|
|
|
->join('left join sys_member on sys_member.uid = tab_partner.uid')
|
|
|
|
bank_account,opening_bank,m.nickname')
|
|
|
|
|
|
|
|
->join('left join sys_member as m on m.uid = p.uid')
|
|
|
|
->where($map)
|
|
|
|
->where($map)
|
|
|
|
->order('id desc')
|
|
|
|
->order('id desc')
|
|
|
|
->page($page, $row)
|
|
|
|
->page($page, $row)
|
|
|
|