refactor: 删除无用的注释代码

This commit is contained in:
jianxing 2022-02-16 10:09:15 +08:00
parent 4cb76a97c2
commit e93188073f
1 changed files with 2 additions and 7 deletions

View File

@ -131,13 +131,8 @@ public class IssuesService {
public List<AbstractIssuePlatform> getAddPlatforms(IssuesUpdateRequest updateRequest) {
List<String> platforms = new ArrayList<>();
// if (StringUtils.isNotBlank(updateRequest.getTestCaseId())) {
// // 测试计划关联
// platforms.add(getPlatformsByCaseId(updateRequest.getTestCaseId()));
// } else {
// 缺陷管理关联
platforms.add(getPlatform(updateRequest.getProjectId()));
// }
// 缺陷管理关联
platforms.add(getPlatform(updateRequest.getProjectId()));
if (CollectionUtils.isEmpty(platforms)) {
platforms.add(IssuesManagePlatform.Local.toString());