Commit 71a62261 authored by shiyu's avatar shiyu

累计签到2

parent e5cf71f7
......@@ -399,7 +399,7 @@ public class UserSigninServiceImpl implements UserSigninService {
//日历数据
resultMap.put("calendar", calendar);
//签到进度
resultMap.put("rate", (int)Math.ceil((Double.valueOf(resultMap.get("consecutiveDays").toString()) / 365) * 100));
resultMap.put("rate", (int)Math.ceil((Double.valueOf(resultMap.get("consecutiveDays").toString()) / 21) * 100));
//查询用户当天有没有发布过商品
SupplierItemRequestDto supplierItemRequestDto = new SupplierItemRequestDto();
LocalDateTime startOfDay = today.atTime(LocalTime.MIN);
......
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