From 4f4fb8d8ade14bd3baed616a38e16e81282d1522 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 22 Mar 2023 11:27:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E7=BC=96=E8=BE=91=E8=AF=84=E5=AE=A1=E4=BA=BA?= =?UTF-8?q?=EF=BC=8C=E4=BC=9A=E6=B8=85=E9=99=A4=E5=85=B6=E4=BB=96=E8=AF=84?= =?UTF-8?q?=E5=AE=A1=E4=B8=AD=E7=9B=B8=E5=90=8C=E7=94=A8=E4=BE=8B=E7=9A=84?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1024731 --user=陈建星 【测试跟踪】用例评审-多人评审-全部通过-用例状态仍为评审中 https://www.tapd.cn/55049933/s/1354161 --- .../io/metersphere/service/TestReviewTestCaseService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestReviewTestCaseService.java b/test-track/backend/src/main/java/io/metersphere/service/TestReviewTestCaseService.java index 67cf50b4a4..a39a21566b 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestReviewTestCaseService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestReviewTestCaseService.java @@ -494,7 +494,9 @@ public class TestReviewTestCaseService { if (!request.getAppendTag()) { // 如果不是追加,则先删除,然后批量新增 - example.createCriteria().andCaseIdIn(subList); + example.createCriteria() + .andCaseIdIn(subList) + .andReviewIdEqualTo(request.getReviewId()); testCaseReviewTestCaseUsersMapper.deleteByExample(example); subList.forEach(caseId ->