edit-qyrobot-test2
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user