|
|
|
@@ -121,6 +121,12 @@ public class WorkspaceServiceImpl implements WorkspaceService { |
|
|
|
|
|
|
|
// 镜像 |
|
|
|
Image image = new Image(); |
|
|
|
if (isPublic) { |
|
|
|
image.setImageType(Constant.Image_Type_Pub); |
|
|
|
}else { |
|
|
|
LoginUser loginUser = SecurityUtils.getLoginUser(); |
|
|
|
image.setCreateBy(loginUser.getUsername()); |
|
|
|
} |
|
|
|
image.setImageType(Constant.Image_Type_Pub); |
|
|
|
Integer imageCount = (int) this.imageDao.count(image); |
|
|
|
assetCountMap.put("image", imageCount); |
|
|
|
|