|
@@ -193,7 +193,7 @@
|
|
|
|
|
|
<select id="queryCountOfUnread" resultMap="Mapper" parameterType="map">
|
|
|
SELECT group_ key_,COUNT(*) value_ FROM sys_message
|
|
|
- WHERE user_id_ = #{userId} AND read_status_ = 0 and status_ = 2
|
|
|
+ WHERE user_id_ = #{userId} AND read_status_ = 0
|
|
|
<if test="tenantId != null">
|
|
|
AND tenant_id_ = #{tenantId}
|
|
|
</if>
|