标签:遍历 std condition this style .com blog http column
$res = $this->LoanRecord->searchloan($conditions,$columns,$page,$this->num,$user_id);
foreach ($res[1] as $key => $value) {
if(!empty($value[‘b‘][‘id‘])){
$result_day = $this->LoanRecord ->getLastDay($value[‘b‘][‘id‘]);
$res[1][$key][‘m‘] = $result_day[‘m‘];
}
}
导出表格单独查询,在写入excel时单独查询遍历
标签:遍历 std condition this style .com blog http column
原文地址:http://www.cnblogs.com/yangzailu/p/7755757.html