Skip to content

Commit

Permalink
#2477 任务编排执行历史显示节点执行次数和数据,支持节点重试空跑数据
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjiawei committed Dec 24, 2024
1 parent e3356d7 commit ae9a91f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform-core/services/database/process-exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -1452,15 +1452,15 @@ func GetProcInsNodeContext(ctx context.Context, procInsId, procInsNodeId, procDe
}
}
// 查询数据最后一次是否为重试空跑,空跑一定成功
var bindFlagList []bool
var bindFlagList []uint8
err = db.MysqlEngine.Context(ctx).SQL("select bind_flag from proc_data_binding where proc_ins_id=? and proc_ins_node_id=?", procInsId, procInsNodeId).Find(&bindFlagList)
if err != nil {
err = exterror.Catch(exterror.New().DatabaseQueryError, err)
return
}
if len(bindFlagList) > 0 {
for _, bindFlag := range bindFlagList {
if !bindFlag {
if bindFlag == 0 {
// 重试空跑,bindFlag=0,空跑没有API调用
emptyRun = true
result = append(result, defaultRes)
Expand Down

0 comments on commit ae9a91f

Please sign in to comment.