From 7f87bc823d4f61032fcaf527d6ef61d0eb8c890b Mon Sep 17 00:00:00 2001 From: v_zkggzhou <2198773846@qq.com> Date: Fri, 10 Jan 2025 17:57:54 +0800 Subject: [PATCH] =?UTF-8?q?bug:=E7=A0=94=E5=8F=91=E5=95=86=E5=BA=97?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=AE=A1=E6=A0=B8=E5=8F=91=E5=B8=83=E6=97=B6?= =?UTF-8?q?=E5=BD=95=E5=85=A5T=5FSTORE=5FRELEASE=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E9=A6=96=E6=AC=A1=E5=8F=91=E5=B8=83=E4=BA=BA=E6=9C=89=E8=AF=AF?= =?UTF-8?q?=20#11366?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tencent/devops/store/pojo/atom/AtomReleaseRequest.kt | 4 ++-- .../devops/store/atom/service/impl/AtomReleaseServiceImpl.kt | 2 +- .../devops/store/atom/service/impl/OpAtomServiceImpl.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/ci/core/store/api-store/src/main/kotlin/com/tencent/devops/store/pojo/atom/AtomReleaseRequest.kt b/src/backend/ci/core/store/api-store/src/main/kotlin/com/tencent/devops/store/pojo/atom/AtomReleaseRequest.kt index 75511f1c775..b19af80bee8 100644 --- a/src/backend/ci/core/store/api-store/src/main/kotlin/com/tencent/devops/store/pojo/atom/AtomReleaseRequest.kt +++ b/src/backend/ci/core/store/api-store/src/main/kotlin/com/tencent/devops/store/pojo/atom/AtomReleaseRequest.kt @@ -46,7 +46,7 @@ data class AtomReleaseRequest( val repositoryHashId: String? = null, @get:Schema(title = "代码库分支") val branch: String? = null, - @get:Schema(title = "创建人") - val creator: String? = null, + @get:Schema(title = "发布人") + val publisher: String? = null, ) diff --git a/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/AtomReleaseServiceImpl.kt b/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/AtomReleaseServiceImpl.kt index 76fc7a045eb..26863ccaa51 100644 --- a/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/AtomReleaseServiceImpl.kt +++ b/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/AtomReleaseServiceImpl.kt @@ -1060,7 +1060,7 @@ abstract class AtomReleaseServiceImpl @Autowired constructor() : AtomReleaseServ storeReleaseCreateRequest = StoreReleaseCreateRequest( storeCode = atomCode, storeType = StoreTypeEnum.ATOM, - latestUpgrader =atomReleaseRequest.creator?:userId, + latestUpgrader =atomReleaseRequest.publisher?:userId, latestUpgradeTime = pubTime ) ) diff --git a/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/OpAtomServiceImpl.kt b/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/OpAtomServiceImpl.kt index a4dc45865db..81b4e714974 100644 --- a/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/OpAtomServiceImpl.kt +++ b/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/OpAtomServiceImpl.kt @@ -349,7 +349,7 @@ class OpAtomServiceImpl @Autowired constructor( releaseType = releaseType, repositoryHashId = atom.repositoryHashId, branch = atom.branch, - creator = atom.creator + publisher = atom.publisher ) ) } else {