提交 72f9b160 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 87abf1e5
......@@ -77,7 +77,7 @@ public interface RecordMapper extends BaseMapper<Record> {
+ " ) ss group by month"*/
List<ArticleCountListVO> countByMonth(QueryContetCountForm form);
@Select("<script>"
/* @Select("<script>"
+ "select memberId,month,SUM(`read`),sum(shares),sum(fav) from "
+ "(select id,memberId,DATE_FORMAT(createTime,'%Y-%m-%d') month,`read`,shares,fav from record where "
+" date_sub(curdate(), INTERVAL 15 DAY) <= date(createTime) "
......@@ -87,7 +87,7 @@ public interface RecordMapper extends BaseMapper<Record> {
+ "</if>"
+ " ) ss group by month"
+ "</script>")
+ "</script>")*/
List<ArticleCountListVO> countByDay(QueryContetCountForm form);
@Select("<script>"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论