Commit 89368bf9 by 田超

Merge branch 'fixbug/1004072-1' into 'master'

bug: [none] 数据同步问题

See merge request rays/pcloud-book!1140
parents c9324899 328a25cc
...@@ -155,8 +155,8 @@ public class AppletRecordAggrStatisBizImpl implements AppletRecordAggrStatisBiz ...@@ -155,8 +155,8 @@ public class AppletRecordAggrStatisBizImpl implements AppletRecordAggrStatisBiz
} }
if(rankType == 3){ if(rankType == 3){
// 周榜 // 周榜
paramMap.put("beginDate", DateUtils.getShortDateStr(DateUtils.addDay(DateUtils.getDayBegin(), -7))); paramMap.put("beginDate", DateUtils.formatDate(DateUtils.addDay(DateUtils.getDayBegin(), -7)));
paramMap.put("endDate", DateUtils.getShortDateStr(DateUtils.addDay(DateUtils.getDayEnd(), -1))); paramMap.put("endDate", DateUtils.formatDate(DateUtils.addDay(DateUtils.getDayEnd(), -1)));
} }
} }
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
) )
</if> </if>
<if test="beginDate != null"> <if test="beginDate != null">
AND creaete_time BETWEEN #{beginDate} AND #{endDate} AND create_time BETWEEN #{beginDate} AND #{endDate}
</if> </if>
</where> </where>
GROUP BY record_type, from_id GROUP BY record_type, from_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment