diff --git a/backend/src/main/java/io/metersphere/service/RelationshipEdgeService.java b/backend/src/main/java/io/metersphere/service/RelationshipEdgeService.java index 0d799ea542..a52ebd4aeb 100644 --- a/backend/src/main/java/io/metersphere/service/RelationshipEdgeService.java +++ b/backend/src/main/java/io/metersphere/service/RelationshipEdgeService.java @@ -6,9 +6,7 @@ import io.metersphere.base.domain.RelationshipEdgeExample; import io.metersphere.base.mapper.RelationshipEdgeMapper; import io.metersphere.commons.utils.SessionUtils; import io.metersphere.controller.request.RelationshipEdgeRequest; -import io.metersphere.dto.RelationshipGraphData; import org.apache.commons.collections.CollectionUtils; -import org.apache.commons.lang3.StringUtils; import org.apache.ibatis.session.ExecutorType; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; @@ -16,9 +14,9 @@ import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import javax.annotation.Resource; -import java.util.*; -import java.util.function.Function; -import java.util.stream.Collectors; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; /** * @author jianxingChen diff --git a/backend/src/main/java/io/metersphere/track/controller/TestCaseController.java b/backend/src/main/java/io/metersphere/track/controller/TestCaseController.java index 5bc741690a..7097efb69a 100644 --- a/backend/src/main/java/io/metersphere/track/controller/TestCaseController.java +++ b/backend/src/main/java/io/metersphere/track/controller/TestCaseController.java @@ -20,7 +20,6 @@ import io.metersphere.commons.utils.SessionUtils; import io.metersphere.controller.request.ResetOrderRequest; import io.metersphere.dto.LoadTestDTO; import io.metersphere.dto.RelationshipEdgeDTO; -import io.metersphere.dto.RelationshipGraphData; import io.metersphere.dto.TestCaseTestDao; import io.metersphere.excel.domain.ExcelResponse; import io.metersphere.log.annotation.MsAuditLog;