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

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

最大积分限制 添加

parent 473ed124
...@@ -84,15 +84,15 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService { ...@@ -84,15 +84,15 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService {
score = monthMax; score = monthMax;
} }
} }
if (DateUtil.compareDay(userDay, DateUtil.parse(DateUtil.getNowTime(), "yyyy-MM-dd")) == 0) {//当日 // if (DateUtil.compareDay(userDay, DateUtil.parse(DateUtil.getNowTime(), "yyyy-MM-dd")) == 0) {//当日
if ((dayScore + score) >= dayMax) { // if ((dayScore + score) >= dayMax) {
score = dayMax - dayScore; // score = dayMax - dayScore;
} // }
} else { // } else {
if (score >= dayMax) { // if (score >= dayMax) {
score = dayMax; // score = dayMax;
} // }
} // }
if (score == 0) { if (score == 0) {
return "成功"; return "成功";
} }
......
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