Browse Source

fix:修改组件统计bug

pull/52/head
西大锐 1 year ago
parent
commit
f7a49cdc69
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/WorkspaceServiceImpl.java

+ 1
- 0
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/WorkspaceServiceImpl.java View File

@@ -103,6 +103,7 @@ public class WorkspaceServiceImpl implements WorkspaceService {
assetCountMap.put("image", imageCount);
//统计组件数量
Component component = new Component();
component.setAvailableRange(availableRange);
Integer componentCount = (int) this.componentDao.count(component);
assetCountMap.put("component", componentCount);
//统计流水线数量


Loading…
Cancel
Save