diff --git a/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/controller/PmsProductLibrarySnapshotController.java b/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/controller/PmsProductLibrarySnapshotController.java index a7805784d..b4e82a782 100644 --- a/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/controller/PmsProductLibrarySnapshotController.java +++ b/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/controller/PmsProductLibrarySnapshotController.java @@ -40,7 +40,7 @@ public class PmsProductLibrarySnapshotController extends BaseController { // @RequiresPermissions("pms:pmsProductLibraryRepositories:list") @GetMapping("/byRepoName/{repoName}/{snapshotName}") @ApiOperation(value = "获取快照库详情") - public GenericsAjaxResult getSnapshotByRepoName(@PathVariable String enterpriseIdentifier, + public GenericsAjaxResult getSnapshotByRepoName(@PathVariable String enterpriseIdentifier, @ApiParam(value = "制品库标识", required = true) @PathVariable String repoName, @ApiParam(value = "快照库标识", required = true) @PathVariable String snapshotName) { return GenericsAjaxResult.success(pmsProductLibrarySnapshotRepoService.selectPmsProductLibrarySnapshotDataByName(enterpriseIdentifier, repoName, snapshotName)); diff --git a/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/service/IPmsProductLibrarySnapshotRepoService.java b/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/service/IPmsProductLibrarySnapshotRepoService.java index 6da714635..7ba983330 100644 --- a/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/service/IPmsProductLibrarySnapshotRepoService.java +++ b/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/service/IPmsProductLibrarySnapshotRepoService.java @@ -2,7 +2,6 @@ package com.microservices.pms.productLibrary.service; import com.microservices.common.core.web.page.GenericsTableDataInfo; import com.microservices.pms.productLibrary.domain.PmsProductLibraryRepositories; -import com.microservices.pms.productLibrary.domain.vo.PmsProductLibraryRepositoriesDataVo; import com.microservices.pms.productLibrary.domain.vo.PmsProductLibrarySnapshotSimpleVo; import com.microservices.pms.productLibrary.domain.vo.ProductRepositoriesSnapshotInputVo; @@ -21,7 +20,7 @@ public interface IPmsProductLibrarySnapshotRepoService { */ Long insertPmsProductLibrarySnapshot(ProductRepositoriesSnapshotInputVo productRepositoriesSnapshotInputVo); - PmsProductLibraryRepositoriesDataVo selectPmsProductLibrarySnapshotDataByName(String enterpriseIdentifier, String repoName, String snapshotName); + PmsProductLibrarySnapshotSimpleVo selectPmsProductLibrarySnapshotDataByName(String enterpriseIdentifier, String repoName, String snapshotName); PmsProductLibraryRepositories selectPmsProductLibrarySnapshotByName(String enterpriseIdentifier, String repoName, String snapshotName); diff --git a/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/service/impl/PmsProductLibrarySnapshotRepoServiceImpl.java b/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/service/impl/PmsProductLibrarySnapshotRepoServiceImpl.java index de68ca285..f0124bf58 100644 --- a/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/service/impl/PmsProductLibrarySnapshotRepoServiceImpl.java +++ b/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/productLibrary/service/impl/PmsProductLibrarySnapshotRepoServiceImpl.java @@ -9,7 +9,6 @@ import com.microservices.common.security.utils.SecurityUtils; import com.microservices.pms.productLibrary.domain.PmsProductLibraryRepositories; import com.microservices.pms.productLibrary.domain.ProductLibraryRepositoriesFormatEnum; import com.microservices.pms.productLibrary.domain.vo.NexusHostedRepoInputVo; -import com.microservices.pms.productLibrary.domain.vo.PmsProductLibraryRepositoriesDataVo; import com.microservices.pms.productLibrary.domain.vo.PmsProductLibrarySnapshotSimpleVo; import com.microservices.pms.productLibrary.domain.vo.ProductRepositoriesSnapshotInputVo; import com.microservices.pms.productLibrary.mapper.PmsProductLibraryRepositoriesMapper; @@ -70,10 +69,10 @@ public class PmsProductLibrarySnapshotRepoServiceImpl implements IPmsProductLibr } @Override - public PmsProductLibraryRepositoriesDataVo selectPmsProductLibrarySnapshotDataByName(String enterpriseIdentifier, String repoName, String snapshotName) { + public PmsProductLibrarySnapshotSimpleVo selectPmsProductLibrarySnapshotDataByName(String enterpriseIdentifier, String repoName, String snapshotName) { PmsProductLibraryRepositories pmsProductLibraryRepositories = selectPmsProductLibrarySnapshotByName(enterpriseIdentifier, repoName, snapshotName); - return pmsProductLibraryRepositories.toPmsProductLibraryRepositoriesDataVo(); + return pmsProductLibraryRepositories.toPmsProductLibrarySnapshotSimpleVo(); }