记得上下班打卡 | git大法好,push需谨慎

Commit 2f114e95 authored by 胡佳晨's avatar 胡佳晨

提交 五条人需求 活动状态和banner

parent 0bbe7f7d
......@@ -76,7 +76,7 @@ public class SweetCityVoteServiceImpl extends ServiceImpl<SweetCityVoteMapper, S
//获取活动状态
HashMap<String, String> map = redisDataUtils.getStartEndTime(type);
if (map.get("startTime") == null || map.get("endTime") == null) {
stringObjectHashMap.put("activeStatus", 2);
stringObjectHashMap.put("activeStatus", 1);
} else {
LocalDateTime startTime = LocalDateTime.parse(map.get("startTime"), DTF_YMD_HMS);
LocalDateTime endTime = LocalDateTime.parse(map.get("endTime"), DTF_YMD_HMS);
......
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