【数据赋值id,版本】

This commit is contained in:
weizhihong 2023-09-25 11:09:56 +08:00
parent 8d8f5ab4e5
commit daefafed84

View File

@ -94,6 +94,7 @@ func CreateSimulation(projectId int32, mapIds []int32) (*VerifySimulation, error
if err != nil { if err != nil {
return nil, err return nil, err
} }
protoRepo.Id, protoRepo.Version = repoId, repoVersion
newRepo, err := repository.BuildRepository(protoRepo) newRepo, err := repository.BuildRepository(protoRepo)
if err != nil { if err != nil {
return nil, err return nil, err