refactor(工作台): 我的关注取消关注功能优化

--user=郭雨琦
This commit is contained in:
guoyuqi 2022-07-26 13:34:10 +08:00 committed by xiaomeinvG
parent f0f8ffc657
commit fa7e599b77
1 changed files with 3 additions and 1 deletions

View File

@ -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) {