diff --git a/backstage/application/backstage/controllers/Statistics.php b/backstage/application/backstage/controllers/Statistics.php index 0ccb44a..a5f9815 100644 --- a/backstage/application/backstage/controllers/Statistics.php +++ b/backstage/application/backstage/controllers/Statistics.php @@ -2100,6 +2100,8 @@ class Statistics extends CI_Controller $where .= " and d.date='" . $lastDate . "'"; } + $where .= " and (a.enabled!=-99 or d.order_recharge!=0 or d.instant_recharge!=0 or d.iccard_recharge!=0)"; + $sql = "SELECT a.username, a.deptname,