diff --git a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java index dcf699e3d6..1e20e60b4d 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java @@ -1842,7 +1842,9 @@ public class ApiDefinitionService { } } } - apiDefinitionMapper.updateByExampleSelective(definitionWithBLOBs, getBatchExample(request)); + if (StringUtils.isEmpty(request.getFollow())) { + apiDefinitionMapper.updateByExampleSelective(definitionWithBLOBs, getBatchExample(request)); + } } private void batchEditDefinitionTags(ApiBatchRequest request) {