Skip to content

Commit

Permalink
[Bug] yarnQueue check exists bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfboys committed Jan 17, 2025
1 parent d67f0f6 commit cce6d3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public ResponseResult<String> checkYarnQueue(YarnQueue yarnQueue) {

boolean existed = this.lambdaQuery().eq(YarnQueue::getTeamId, yarnQueue.getTeamId())
.eq(YarnQueue::getQueueLabel, yarnQueue.getQueueLabel())
.ne(YarnQueue::getId, yarnQueue.getId())
.ne(yarnQueue.getId() != null, YarnQueue::getId, yarnQueue.getId())
.exists();

if (existed) {
Expand Down

0 comments on commit cce6d3b

Please sign in to comment.