refactor(功能用例): 脑图查询排序优化

This commit is contained in:
guoyuqi 2024-06-15 18:44:13 +08:00 committed by Craftsman
parent 9716dd5712
commit d7bec45233
3 changed files with 458 additions and 372 deletions

View File

@ -0,0 +1,39 @@
package io.metersphere.functional.dto;
import io.metersphere.system.log.dto.LogDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
@Data
public class FunctionalMinderUpdateDTO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@Schema(description = "新增日志")
private List<LogDTO> addLogDTOS;
@Schema(description = "更新日志")
private List<LogDTO> updateLogDTOS;
@Schema(description = "新增通知")
private List<FunctionalCaseDTO> noticeList;
@Schema(description = "更新通知")
private List<FunctionalCaseDTO> updateNoticeList;
@Schema(description = "资源Id与相邻点的Map")
private Map<String, String> sourceIdAndTargetIdsMap;
public FunctionalMinderUpdateDTO(List<LogDTO> addLogDTOS, List<LogDTO> updateLogDTOS, List<FunctionalCaseDTO> noticeList, List<FunctionalCaseDTO> updateNoticeList) {
this.addLogDTOS = addLogDTOS;
this.updateLogDTOS = updateLogDTOS;
this.noticeList = noticeList;
this.updateNoticeList = updateNoticeList;
}
}

View File

@ -19,7 +19,7 @@ public class TestPlanCollectionAssociateDTO implements Serializable {
@Schema(description = "关联关系的ids", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "关联关系的ids", requiredMode = Schema.RequiredMode.REQUIRED)
private List<String> ids; private List<String> ids;
@Schema(description = "关联关系的type(功能FUNCTIONAL_CASE/接口定义API/接口用例API_CASE/场景SCENARIO_CASE)", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "关联关系的type(功能FUNCTIONAL/接口定义API/接口用例API_CASE/场景:API_SCENARIO)", requiredMode = Schema.RequiredMode.REQUIRED)
private String associateType; private String associateType;