fix(项目管理): 日志跳转缺陷详情页

--bug=1036877 --user=王旭 【项目管理】日志-缺陷详情取消关联功能用例-点击名称未跳转到缺陷详情页 https://www.tapd.cn/55049933/s/1490779
This commit is contained in:
WangXu10 2024-04-08 18:15:53 +08:00 committed by 刘瑞斌
parent a9510c1f81
commit 1bcbb6a306
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class BugRelateCaseLogService {
public LogDTO getRelateLog(String id) {
BugRelationCase bugRelationCase = bugRelationCaseMapper.selectByPrimaryKey(id);
BugRelateCaseDTO relateCase = extBugRelateCaseMapper.getRelateCase(bugRelationCase.getCaseId(), bugRelationCase.getCaseType());
LogDTO dto = new LogDTO(relateCase.getProjectId(), null, null, null, OperationLogType.DISASSOCIATE.name(), OperationLogModule.BUG_MANAGEMENT_INDEX, relateCase.getRelateCaseName());
LogDTO dto = new LogDTO(relateCase.getProjectId(), null, bugRelationCase.getBugId(), null, OperationLogType.DISASSOCIATE.name(), OperationLogModule.BUG_MANAGEMENT_INDEX, relateCase.getRelateCaseName());
dto.setPath("/bug/un-relate");
dto.setMethod(HttpMethodConstants.GET.name());
dto.setModifiedValue(JSON.toJSONBytes(relateCase));