refactor(测试跟踪): 测试计划高级搜索标签筛选问题

--bug=1028284 --user=宋昌昌 【测试跟踪】github#25954,在计划中,通过筛选器筛选后,选择【选择所有数据】,然后进行批量编辑,编辑的结果为当前可见数据,不是所有的筛选数据 https://www.tapd.cn/55049933/s/1402705
This commit is contained in:
song-cc-rock 2023-08-11 11:23:52 +08:00 committed by fit2-zhao
parent 2447330f72
commit fb2b95ae31
1 changed files with 2 additions and 0 deletions

View File

@ -235,6 +235,7 @@ public class TestPlanTestCaseService {
}
public void editTestCaseBath(TestPlanCaseBatchRequest request) {
ServiceUtils.buildCombineTagsToSupportMultiple(request.getCondition());
TestPlanTestCaseExample testPlanTestCaseExample = getBatchExample(request);
TestPlanTestCaseWithBLOBs testPlanTestCase = new TestPlanTestCaseWithBLOBs();
if (BooleanUtils.isFalse(request.isModifyExecutor()) && StringUtils.isNotBlank(SessionUtils.getUserId())) {
@ -353,6 +354,7 @@ public class TestPlanTestCaseService {
}
public void deleteTestCaseBath(TestPlanCaseBatchRequest request) {
ServiceUtils.buildCombineTagsToSupportMultiple(request.getCondition());
TestPlanTestCaseExample example = getBatchExample(request);
testPlanTestCaseMapper.deleteByExample(example);
}