222
This commit is contained in:
@ -25,5 +25,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="remark" column="remark"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 消息类型统计(先分组再统计) -->
|
||||
<select id="userMessageTypeStatistics" resultType="java.util.Map">
|
||||
SELECT
|
||||
message_large_type,
|
||||
count( 1 ) as ct
|
||||
FROM
|
||||
wgz_message
|
||||
WHERE
|
||||
recipient_id = #{id}
|
||||
AND recipient_type = "1"
|
||||
AND read_status = "0"
|
||||
GROUP BY
|
||||
message_large_type
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user