rabin %!s(int64=3) %!d(string=hai) anos
pai
achega
d47a75cb73
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      service/bill/lib/Cron.php

+ 1 - 1
service/bill/lib/Cron.php

@@ -563,7 +563,7 @@ class Cron
                     }
                     }
                 }
                 }
 
 
-                $c_money = Dever::db('shop/buy_order')->getCashNum(array('type'=>1,'type_id'=>$v['id'],'start' => $start, 'end' => $end));
+                $c_money = Dever::db('shop/buy_order')->getCashNum(array('type'=>1,'type_id'=>$v['id'],'start' => $start, 'end' => $end, 'status' => '3,4,5,6'));
                 if ($c_money) {
                 if ($c_money) {
                     $insert['c_money'] = $c_money['total'];
                     $insert['c_money'] = $c_money['total'];
                 }
                 }