fix(测试跟踪): 批量编辑评审人,会清除其他评审中相同用例的评审人
--bug=1024731 --user=陈建星 【测试跟踪】用例评审-多人评审-全部通过-用例状态仍为评审中 https://www.tapd.cn/55049933/s/1354161
This commit is contained in:
parent
c87c8cb205
commit
4f4fb8d8ad
|
@ -494,7 +494,9 @@ public class TestReviewTestCaseService {
|
||||||
|
|
||||||
if (!request.getAppendTag()) {
|
if (!request.getAppendTag()) {
|
||||||
// 如果不是追加,则先删除,然后批量新增
|
// 如果不是追加,则先删除,然后批量新增
|
||||||
example.createCriteria().andCaseIdIn(subList);
|
example.createCriteria()
|
||||||
|
.andCaseIdIn(subList)
|
||||||
|
.andReviewIdEqualTo(request.getReviewId());
|
||||||
testCaseReviewTestCaseUsersMapper.deleteByExample(example);
|
testCaseReviewTestCaseUsersMapper.deleteByExample(example);
|
||||||
|
|
||||||
subList.forEach(caseId ->
|
subList.forEach(caseId ->
|
||||||
|
|
Loading…
Reference in New Issue