fix(测试跟踪): 脑图用例评审不操作点保存会报错

--bug=1024439 --user=陈建星 【测试跟踪】用例评审-脑图模式-根结点增加下级-点击保存报SQL异常 https://www.tapd.cn/55049933/s/1350667
This commit is contained in:
chenjianxing 2023-03-15 17:46:06 +08:00 committed by jianxing
parent aac6916a1f
commit de1bc5da6d
2 changed files with 4 additions and 1 deletions

View File

@ -521,6 +521,9 @@ public class TestReviewTestCaseService {
public void editTestCaseForMinder(String reviewId, List<TestCaseReviewTestCase> testCaseReviewTestCases) {
List<String> caseIds = testCaseReviewTestCases.stream().map(TestCaseReviewTestCase::getCaseId).collect(Collectors.toList());
if (CollectionUtils.isEmpty(caseIds)) {
return;
}
checkReviewCase(reviewId, caseIds);
if (!CollectionUtils.isEmpty(testCaseReviewTestCases)) {
testCaseReviewTestCases.forEach((item) -> {

View File

@ -68,7 +68,7 @@ export default {
this.pathName = '/track/review/all';
} else if (to.path.indexOf("/track/plan") >= 0) {
this.pathName = '/track/plan/all';
} if (to.path.indexOf("/track/case") >= 0) {
} else if (to.path.indexOf("/track/case") >= 0) {
this.pathName = this.caseListPath;
} else {
this.pathName = to.path;