fix: 调整 mgt 修改接口
This commit is contained in:
@@ -179,6 +179,8 @@ public class EnvironmentServiceImpl extends ServiceImpl<EnvironmentDao, Environm
|
||||
entity.setUpdateTimestamp(System.currentTimeMillis());
|
||||
entity.setParam(entity.getParamStr());
|
||||
|
||||
this.updateById(entity);
|
||||
|
||||
environmentWorkspaceService.remove(new LambdaQueryWrapper<EnvironmentWorkspaceEntity>().eq(EnvironmentWorkspaceEntity::getEnvId, entity.getId()));
|
||||
// save env workspace
|
||||
if (T.CollUtil.isNotEmpty(entity.getWorkspaceIds())){
|
||||
|
||||
Reference in New Issue
Block a user