fix(接口测试): 修复全新安装默认模块创建失败问题
Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
c57a277dea
commit
e1df5d0bb4
|
@ -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