Skip to content

Commit

Permalink
fix: batchPublishFlo bug2
Browse files Browse the repository at this point in the history
  • Loading branch information
SunPengWan committed Dec 19, 2024
1 parent 808d1da commit 95a8bb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.webank.wedatasphere.dss.orchestrator.server.service.impl;

import cn.hutool.core.util.StrUtil;
import com.google.common.reflect.TypeToken;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
Expand Down Expand Up @@ -538,7 +539,7 @@ private void updateOrchestratorNotContainsKeywordsNode(OrchestratorSubmitRequest
// 获取内容并检查
List<String> nodePathList = getNotContainsKeywordsNodePath(paths, commitId, workspace, flowRequest.getProjectName(), username);

String notContainsKeywordsNode = StringUtils.joinWith(",",nodePathList);
String notContainsKeywordsNode = StrUtil.join(",",nodePathList);

orchestratorMapper.updateOrchestratorNotContainsKeywordsNode(flowRequest.getOrchestratorId(), notContainsKeywordsNode);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@
,t2.associate_git as associateGit
from dss_orchestrator_info t1
left join dss_project t2 on t1.project_id = t2.id
where id in
where t1.id in
<foreach collection="orchestratorIdList" index="index" item="orchestratorId" open="(" close=")" separator=",">
#{orchestratorId}
</foreach>
Expand Down

0 comments on commit 95a8bb7

Please sign in to comment.