省侧大屏

This commit is contained in:
cwchen 2024-04-23 15:45:54 +08:00
parent 4250116e46
commit 1653c295fe
1 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,8 @@ public class ScIndexServiceImpl implements IScIndexService {
}
BigDecimal onlineValue = BigDecimal.valueOf(onlineNum);
BigDecimal totalValue = BigDecimal.valueOf(totalNum);
return onlineValue.divide(totalValue, 3, BigDecimal.ROUND_HALF_UP).doubleValue();
BigDecimal multipleValue = new BigDecimal("100");
return onlineValue.divide(totalValue, 3, BigDecimal.ROUND_HALF_UP).multiply(multipleValue).doubleValue();
});
personnelRate = future.get();
deviceRate = future2.get();