fix(接口测试): 修复先删除场景,在删除模块,数据不在未规划里面的缺陷
--bug=1038312 --user=王孝刚 【接口测试】场景-回收站-a模块有a场景-删除a场景-再删除a模块-回收站显示该场景错误,未显示进入未规划场景内 https://www.tapd.cn/55049933/s/1486010
This commit is contained in:
parent
0beb6ebc10
commit
9566ef2589
|
@ -178,7 +178,7 @@ public class ApiDefinitionModuleService extends ModuleTreeService {
|
|||
|
||||
public void batchDeleteData(List<String> ids, String userId, String projectId) {
|
||||
ApiDefinitionExample example = new ApiDefinitionExample();
|
||||
example.createCriteria().andModuleIdIn(ids).andDeletedEqualTo(false);
|
||||
example.createCriteria().andModuleIdIn(ids);
|
||||
long apiCount = apiDefinitionMapper.countByExample(example);
|
||||
while (apiCount > 0) {
|
||||
PageHelper.startPage(1, 500);
|
||||
|
|
|
@ -170,7 +170,7 @@ public class ApiScenarioModuleService extends ModuleTreeService {
|
|||
|
||||
public void batchDeleteData(List<String> ids, String userId, String projectId) {
|
||||
ApiScenarioExample example = new ApiScenarioExample();
|
||||
example.createCriteria().andModuleIdIn(ids).andDeletedEqualTo(false);
|
||||
example.createCriteria().andModuleIdIn(ids);
|
||||
long apiCount = apiScenarioMapper.countByExample(example);
|
||||
while (apiCount > 0) {
|
||||
PageHelper.startPage(1, 500);
|
||||
|
|
Loading…
Reference in New Issue