$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时单独查询遍历

php两个多维数组组合遍历

 

相关文章:

  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-02-08
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-04
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案