@@ -178,6 +178,7 @@
GROUP BY a.`id_`) AS c
ON b.`serve_id_` = c.serveId
WHERE a.`pay_state_` = 1
+ and a.user_id_ is not null
<if test="tenantId != null">
and a.id_ = #{tenantId}
</if>