修改小程序我的统计条件

This commit is contained in:
lccsw
2025-11-11 10:42:28 +08:00
parent 4256057956
commit d630126ed6
+3 -1
View File
@@ -326,7 +326,9 @@ class User extends Wxapp
$customer_op_list = [];
} else {
$where = ['admin_id' => 0, 'biz_id' => $biz_id, 'status>=' => 0];
$biz_type == Biz_model::BIZ_TYPE_4s && $where['un_lock'] = 1;
if (in_array($biz_type, [Biz_model::BIZ_TYPE_4s, Biz_model::BIZ_TYPE_SPACE])) {
$where['un_lock'] = 1;
}
$unuse_count = $this->customers_model->count($where);
$where = ['biz_id' => $biz_id, 'cs_biz_id<>' => -1, 'if_defeat' => 1, 'status>' => -1];
$biz_type == Biz_model::BIZ_TYPE_4s && $where['un_lock'] = 1;