提交 6fb2aeb8 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 90797b2a
......@@ -28,7 +28,7 @@ public interface FgForumMapper extends BaseMapper<Forum> {
+ " FROM sys_forum a where a.status ='1' "
+ "</if>"
+ "<if test ='form.type==3' >"
+ "SELECT a.id,a.title,a.text,DATE_FORMAT(a.uploadTime,'%Y-%m-%d') uploadTime,text,cover,userId,userName,fabulousNum,"
+ "SELECT a.id,a.title,a.text,DATE_FORMAT(a.uploadTime,'%Y-%m-%d') uploadTime,cover,userId,userName,fabulousNum,"
+ "(SELECT count(*) FROM sys_comment b WHERE mainId = '0' and b.resourceId = a.id) commentNum"
+ " FROM sys_forum a where 1=1 and a.status ='1' "
+ "<if test='"+ NOTBLANK +"(form.userId)' >"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论