|
@@ -175,7 +175,7 @@
|
|
|
</select>
|
|
|
|
|
|
<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
|
|
|
+ SELECT group_ key_,COUNT(*) value_ FROM sys_message WHERE user_id_ = #{userId} AND read_status_ = 0
|
|
|
<if test="type != null">
|
|
|
and type_ = #{type,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|