用户每月消费统计报表 -- 剔除tb_user.enabled = -99的用户信息(若enabled = -99的用户有使用,则不剔除)
Change-Id: I2a26bec36ce38eb26c0dfd8749d4bd15499d2540
This commit is contained in:
parent
4bb643567b
commit
6758423ed6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue