dailyStoreSaleVolumeSt($from,$to); $temp['sale_volume'] = $tj['sale_volume']; $temp['order_count'] = $tj['order_count']; $temp['st_time'] = date('Ymd',$to); $temp['st_month'] = date('Ym',$to); $temp['create_time'] = $now; $temp['update_time'] = $now; $datas[] = $temp; } $m->insertAll($datas); } }