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