Commit 5f86a0fa authored by liming's avatar liming

本地部署配置文件修改

parent 60acf7db
......@@ -203,7 +203,7 @@ public class AchievementService {
achievement.getConditionValue()));
}
if (achievement.getAchievementCondition().equals(AchievementCondition.CALORIE)) {
homeItem.setPercent(this.calcPercent(summary.getTotalCalorie(),
homeItem.setPercent(this.calcPercent(summary.getTotalCalorie()/1000,
achievement.getConditionValue()));
}
}
......
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