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

Commit 473ed124 authored by 胡佳晨's avatar 胡佳晨

最大积分限制 添加

parent 659ad281
......@@ -93,7 +93,7 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService {
score = dayMax;
}
}
if(score==0){
if (score == 0) {
return "成功";
}
if (TaskId == 2111) {
......@@ -146,32 +146,10 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService {
) == 1L) {//连续签到
if (item.getTaskCount() >= 7) {
item.setTaskCount(1);
score = 1;
score = item.getTaskCount();
} else {
item.setTaskCount(item.getTaskCount() + 1);
switch (item.getTaskCount()) {
case 0:
score = 1;
break;
case 1:
score = 3;
break;
case 2:
score = 5;
break;
case 3:
score = 8;
break;
case 4:
score = 10;
break;
case 5:
score = 12;
break;
case 6:
score = 15;
break;
}
score = item.getTaskCount();
}
} else {//非连续签到
item.setTaskCount(1);
......
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