From 6758423ed68dd704690edc6c97b64a48ba451239 Mon Sep 17 00:00:00 2001 From: vguanyiwgd Date: Wed, 29 May 2024 09:17:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=AF=8F=E6=9C=88=E6=B6=88?= =?UTF-8?q?=E8=B4=B9=E7=BB=9F=E8=AE=A1=E6=8A=A5=E8=A1=A8=20=20--=20?= =?UTF-8?q?=E5=89=94=E9=99=A4tb=5Fuser.enabled=20=3D=20-99=E7=9A=84?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=EF=BC=88=E8=8B=A5enabled?= =?UTF-8?q?=20=3D=20-99=E7=9A=84=E7=94=A8=E6=88=B7=E6=9C=89=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=EF=BC=8C=E5=88=99=E4=B8=8D=E5=89=94=E9=99=A4=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2a26bec36ce38eb26c0dfd8749d4bd15499d2540 --- backstage/application/backstage/controllers/Statistics.php | 2 ++ 1 file changed, 2 insertions(+) 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,