|
|
|
@ -413,7 +413,7 @@ class StatementMangementController extends ThinkController
|
|
|
|
|
|
|
|
|
|
$data = M('withdraw','tab_')
|
|
|
|
|
->field("tab_withdraw.id,pc.company_name,pc.id as cid,tab_withdraw.promote_id,tab_withdraw.promote_account,username,'个人' as type,game_ratio
|
|
|
|
|
,mobile_phone,real_name,tab_promote.bank_card,account_openin,tab_promote.address,bank_account")
|
|
|
|
|
,mobile_phone,real_name,pc.bank_card,bank_address as account_openin,tab_promote.address,pc.settlement_contact as bank_account")
|
|
|
|
|
->join('left join tab_promote_belong on tab_withdraw.promote_id=tab_promote_belong.promote_id')
|
|
|
|
|
->join("left join tab_statement as statement on tab_withdraw.widthdraw_number = statement.ext_field")
|
|
|
|
|
->join("left join tab_promote on tab_promote.id=tab_promote_belong.promote_id")
|
|
|
|
@ -648,7 +648,7 @@ class StatementMangementController extends ThinkController
|
|
|
|
|
|
|
|
|
|
$data = M('withdraw','tab_')
|
|
|
|
|
->field("tab_withdraw.id,pc.company_name,pc.id as cid,tab_withdraw.promote_id,tab_withdraw.promote_account,username,'个人' as type,game_ratio
|
|
|
|
|
,mobile_phone,real_name,tab_promote.bank_card,account_openin,tab_promote.address,bank_account")
|
|
|
|
|
,mobile_phone,real_name,pc.bank_card,bank_address as account_openin,tab_promote.address,pc.settlement_contact as bank_account")
|
|
|
|
|
->join('left join tab_promote_belong on tab_withdraw.promote_id=tab_promote_belong.promote_id')
|
|
|
|
|
->join("left join tab_statement as statement on tab_withdraw.widthdraw_number = statement.ext_field")
|
|
|
|
|
->join("left join tab_promote on tab_promote.id=tab_promote_belong.promote_id")
|
|
|
|
|