This commit is contained in:
苏尹岚
2021-04-15 09:45:52 +08:00
parent b309641e5c
commit abbd00ce49
5 changed files with 20 additions and 4 deletions

View File

@@ -573,7 +573,7 @@ func CreateAct(ctx *jxcontext.Context, act *model.Act, vendorIDs []int, vendorOr
}
}()
dao.WrapAddIDCULDEntity(act, ctx.GetUserName())
err = dao.CreateEntity(db, act)
err = dao.CreateEntityTx(txDB, act)
if err != nil {
dao.Rollback(db, txDB)
return "", err