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

Commit d9233d7f authored by 胡佳晨's avatar 胡佳晨

最大积分限制 添加

parent 6d890e29
...@@ -70,6 +70,7 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService { ...@@ -70,6 +70,7 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService {
return "积分不能小于0"; return "积分不能小于0";
} }
if (TaskId == 2111) {
StoneUserVo vo = stoneRedisUtils.getUserData(uid); StoneUserVo vo = stoneRedisUtils.getUserData(uid);
// Date userDay = DateUtil.parse(vo.getCurrentDay().isEmpty() ? DateUtil.getNowTime() : vo.getCurrentDay(), "yyyy-MM-dd"); // Date userDay = DateUtil.parse(vo.getCurrentDay().isEmpty() ? DateUtil.getNowTime() : vo.getCurrentDay(), "yyyy-MM-dd");
Date userMonth = DateUtil.parse(vo.getCurrentMonth().isEmpty() ? DateUtil.getNowTime() : vo.getCurrentMonth(), "yyyy-MM"); Date userMonth = DateUtil.parse(vo.getCurrentMonth().isEmpty() ? DateUtil.getNowTime() : vo.getCurrentMonth(), "yyyy-MM");
...@@ -96,7 +97,6 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService { ...@@ -96,7 +97,6 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService {
if (score == 0) { if (score == 0) {
return "成功"; return "成功";
} }
if (TaskId == 2111) {
changeRest(uid, score, reason, reason); changeRest(uid, score, reason, reason);
return "成功"; return "成功";
} else { } else {
......
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