refactor(项目管理): 获取环境详情增加字段

This commit is contained in:
wxg0103 2024-01-22 20:49:26 +08:00 committed by Craftsman
parent 8186a259fa
commit 133119f41b
1 changed files with 1 additions and 0 deletions

View File

@ -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());