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

--user=郭雨琦
This commit is contained in:
guoyuqi 2022-07-26 13:34:10 +08:00 committed by xiaomeinvG
parent 6722dc0d02
commit c8ca2f09ef
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) { private void batchEditDefinitionTags(ApiBatchRequest request) {