Commit 3615b9e3 authored by shiyu's avatar shiyu

查询签到奖励,已签到21天做处理

parent 77ce76fa
...@@ -208,8 +208,10 @@ public class UserSigninServiceImpl implements UserSigninService { ...@@ -208,8 +208,10 @@ public class UserSigninServiceImpl implements UserSigninService {
resultMap.put("needConsecutiveDays", 7 - consecutiveDays); resultMap.put("needConsecutiveDays", 7 - consecutiveDays);
} else if (consecutiveDays >= 7 && consecutiveDays < 14) { } else if (consecutiveDays >= 7 && consecutiveDays < 14) {
resultMap.put("needConsecutiveDays", 14 - consecutiveDays); resultMap.put("needConsecutiveDays", 14 - consecutiveDays);
} else { } else if (consecutiveDays >=14 && consecutiveDays < 21) {
resultMap.put("needConsecutiveDays", 21 - consecutiveDays); resultMap.put("needConsecutiveDays", 21 - consecutiveDays);
} else {
resultMap.put("needConsecutiveDays", 7);
} }
} }
//当前是几号 //当前是几号
......
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