0.0.2.0
修复看板为展示排名
This commit is contained in:
parent
8d59acd33e
commit
685de9edba
@ -38,4 +38,4 @@ logging:
|
|||||||
|
|
||||||
x-retry:
|
x-retry:
|
||||||
server:
|
server:
|
||||||
host: 127.0.0.1
|
host: 192.168.100.3
|
||||||
|
@ -184,6 +184,8 @@ export default {
|
|||||||
this.countActivePodQuantity = res.data
|
this.countActivePodQuantity = res.data
|
||||||
})
|
})
|
||||||
|
|
||||||
|
this.getRankSceneQuantity()
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.loading = !this.loading
|
this.loading = !this.loading
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
@ -67,7 +67,7 @@ public class DashBoardServiceImpl implements DashBoardService {
|
|||||||
Long success = retryTaskLogMapper.selectCount(new LambdaQueryWrapper<RetryTaskLog>()
|
Long success = retryTaskLogMapper.selectCount(new LambdaQueryWrapper<RetryTaskLog>()
|
||||||
.in(RetryTaskLog::getRetryStatus, RetryStatusEnum.MAX_RETRY_COUNT.getLevel(),
|
.in(RetryTaskLog::getRetryStatus, RetryStatusEnum.MAX_RETRY_COUNT.getLevel(),
|
||||||
RetryStatusEnum.FINISH.getLevel()));
|
RetryStatusEnum.FINISH.getLevel()));
|
||||||
dispatchQuantityResponseVO.setSuccessPercent(BigDecimal.valueOf(success).divide(BigDecimal.valueOf(total), 2, RoundingMode.HALF_UP));
|
dispatchQuantityResponseVO.setSuccessPercent(BigDecimal.valueOf(success).divide(BigDecimal.valueOf(total), 2, RoundingMode.HALF_UP).multiply(BigDecimal.valueOf(100)));
|
||||||
|
|
||||||
return dispatchQuantityResponseVO;
|
return dispatchQuantityResponseVO;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user