1 $sql = "select order_id from ecs_order_info where order_status=1 and pay_status=2"; 2 $result=DB::select($sql); 3 $ids = array_map('get_object_vars', $result);
1 $sql = "select order_id from ecs_order_info where order_status=1 and pay_status=2"; 2 $result=DB::select($sql); 3 $ids = array_map('get_object_vars', $result);