Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug:组件latestFlag参数更新时组件所有版本修改者会全部更新为同一人 #11400 #11402

Merged
merged 9 commits into from
Jan 10, 2025

Conversation

yjieliang
Copy link
Collaborator

No description provided.

with(TAtom.T_ATOM) {
dslContext.update(this)
.set(
LATEST_TEST_FLAG,
DSL.case_().`when`(ID.eq(atomId), true).otherwise(false)
)
.set(MODIFIER, userId)
.where(ATOM_CODE.eq(atomCode))
.set(MODIFIER, DSL.case_().`when`(ID.eq(atomId), userId).otherwise(MODIFIER))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成where条件

Copy link
Collaborator

@carlyin0801 carlyin0801 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1

@bkci-bot bkci-bot added the for test Test environment in tencent has been deploy label Jan 10, 2025
@mingshewhe mingshewhe merged commit 34f1e7e into TencentBlueKing:master Jan 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for test Test environment in tencent has been deploy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants