Commit 414166bf authored by jay's avatar jay

云迹拉取修改

parent ffe58353
......@@ -599,6 +599,8 @@ public class CloudActivityController extends BaseController {
if (redisUtil.hasKey("cloud:process:" + activeId) && 1 == redisUtil.getIntegerByKey("cloud:process:" + activeId)) {
completePercent = "100";
protect = redisUtil.hasKey("cloud:protect:" + activeId) ? redisUtil.getIntegerByKey("cloud:protect:" + activeId) : 0;
done = redisUtil.hasKey("cloud:done:" + activeId) ? redisUtil.getIntegerByKey("cloud:done:" + activeId) : 0;
} else {
int totalNum = Integer.parseInt(total);
int percent = new BigDecimal(completed).divide(new BigDecimal(totalNum), 2,
......
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