renwu
This commit is contained in:
@@ -133,7 +133,7 @@ func PublishJob(ctx *jxcontext.Context, jobExt *model.JobExt) (errCode string, e
|
||||
}()
|
||||
err = dao.CreateEntity(db, job)
|
||||
for _, v := range job.JobSteps {
|
||||
dao.WrapAddIDCULEntity(v, ctx.GetUserName())
|
||||
dao.WrapAddIDCULDEntity(v, ctx.GetUserName())
|
||||
v.JobID = job.ID
|
||||
err = dao.CreateEntity(db, v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user