Commit 77ce76fa authored by shiyu's avatar shiyu

查询签到奖励

parent 4f4020d6
......@@ -204,7 +204,7 @@ public class UserSigninServiceImpl implements UserSigninService {
resultMap.put("consecutiveDays", yesterdaySignIn.getConsecutiveDays());
}
int consecutiveDays = Integer.valueOf(resultMap.get("consecutiveDays").toString());
if (yesterdaySignIn.getConsecutiveDays() < 7) {
if (consecutiveDays < 7) {
resultMap.put("needConsecutiveDays", 7 - consecutiveDays);
} else if (consecutiveDays >= 7 && consecutiveDays < 14) {
resultMap.put("needConsecutiveDays", 14 - consecutiveDays);
......
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