fix(接口测试): 修复全新安装默认模块创建失败问题
Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
153111087c
commit
91373a5927
|
@ -514,7 +514,6 @@ public class ApiModuleService extends NodeTreeService<ApiModuleDTO> {
|
|||
module.setCreateTime(System.currentTimeMillis());
|
||||
module.setUpdateTime(System.currentTimeMillis());
|
||||
module.setProjectId(projectId);
|
||||
module.setCreateUser(SessionUtils.getUserId());
|
||||
apiModuleMapper.insert(module);
|
||||
return module;
|
||||
} else {
|
||||
|
|
|
@ -463,7 +463,7 @@ public class ApiScenarioModuleService extends NodeTreeService<ApiScenarioModuleD
|
|||
module.setCreateTime(System.currentTimeMillis());
|
||||
module.setUpdateTime(System.currentTimeMillis());
|
||||
module.setProjectId(projects.get(0).getId());
|
||||
module.setCreateUser(SessionUtils.getUserId());
|
||||
module.setCreateUser(projects.get(0).getCreateUser());
|
||||
apiScenarioModuleMapper.insert(module);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue