提交 dd191ec5 authored 作者: renjianyu's avatar renjianyu

--no commit message

上级 a199702a
......@@ -102,4 +102,12 @@ public interface FgCommentMapper extends BaseMapper<Comment> {
+ " resourceId = #{resourceId} and status ='1' "
+ "</script>")
Integer selectCountNum(@Param("resourceId")String resourceId);
//查询资源下所有评论数量
@Select("<script>"
+ " SELECT count(*) FROM sys_comment WHERE "
+ " resourceId = #{resourceId} and status ='1' "
+ "</script>")
Integer selectCount1(@Param("resourceId")String resourceId);
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论