refactor(项目管理): 获取环境详情增加字段
This commit is contained in:
parent
8186a259fa
commit
133119f41b
|
@ -162,6 +162,7 @@ public class EnvironmentService {
|
||||||
environmentInfoDTO.setProjectId(environment.getProjectId());
|
environmentInfoDTO.setProjectId(environment.getProjectId());
|
||||||
environmentInfoDTO.setName(environment.getName());
|
environmentInfoDTO.setName(environment.getName());
|
||||||
environmentInfoDTO.setId(environment.getId());
|
environmentInfoDTO.setId(environment.getId());
|
||||||
|
environmentInfoDTO.setMock(environment.getMock());
|
||||||
EnvironmentBlob environmentBlob = environmentBlobMapper.selectByPrimaryKey(environmentId);
|
EnvironmentBlob environmentBlob = environmentBlobMapper.selectByPrimaryKey(environmentId);
|
||||||
if (environmentBlob == null) {
|
if (environmentBlob == null) {
|
||||||
environmentInfoDTO.setConfig(new EnvironmentConfig());
|
environmentInfoDTO.setConfig(new EnvironmentConfig());
|
||||||
|
|
Loading…
Reference in New Issue