From ee3b77a87ae0ab336a9d94bfd18d30835a979ba5 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Mon, 8 Aug 2022 17:38:27 +0800 Subject: [PATCH] edit-qyrobot-test2 --- common/libraries/Qyrobot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/libraries/Qyrobot.php b/common/libraries/Qyrobot.php index da69d49e..e4ef6f20 100644 --- a/common/libraries/Qyrobot.php +++ b/common/libraries/Qyrobot.php @@ -498,7 +498,7 @@ class Qyrobot{ where o_id>=10000 and status=1 and pid!=0 and pay_price>0 and pay_time!='0000-00-00 00:00:00' and type <> 4 and pay_price>{$min_price} group by o_id order by o_id desc) as a left join lc_receiver_orders_v2 as b on a.o_id=b.id where a.pay_time>='{$today_s_time}' and a.pay_time<='{$today_e_time}' group by b.brand_id"; - $today_rows = $this->ci->db->query($sql)->row_array(); + $today_rows = $this->ci->db->query($sql)->result_array(); $today_count = 0; $today_info = []; if($today_rows){ @@ -517,7 +517,7 @@ class Qyrobot{ where o_id>=10000 and status=1 and pid!=0 and pay_price>0 and pay_time!='0000-00-00 00:00:00' and type <> 4 and pay_price>{$min_price} group by o_id order by o_id desc) as a left join lc_receiver_orders_v2 as b on a.o_id=b.id where a.pay_time>='{$month_s_time}' and a.pay_time<='{$month_e_time}' group by b.brand_id"; - $month_rows = $this->ci->db->query($sql)->row_array(); + $month_rows = $this->ci->db->query($sql)->result_array(); $month_count = 0; $month_info = []; if($month_rows){