$list = $mysql->db_fetch_arrays(str_replace(array('SELECT', 'ORDER', 'LIMIT'), array($_select, 'order by p1.id desc', $limit), $sql));
$list = $list?$list:array();
foreach ($list as $key => $value){
$list[$key]['repayment_noaccount'] = $value['repayment_account']-$value['repayment_yesaccount'];
$list[$key]['repayment_nointerest'] = $value['repayment_account']-$value['repayment_yesaccount']-$value['account'];
}
return array(
'list' => $list,
'total' => $total,
'page' => $page,
'epage' => $epage,
'total_page' => $total_page
);
$result=self::GetTenderUserList($tdata);
if (is_array($result)){
foreach($list as $key => $value){
/* 他们的值是一样的 */
echo $value['interest'];
}
}