0626 ljc 测试用例模块查询接口修改
This commit is contained in:
parent
34780c4402
commit
37718e9fa3
@ -78,7 +78,9 @@ public class TestCaseInfoServiceImpl extends ServiceImpl<TestCaseInfoDao, TestCa
|
||||
@Override
|
||||
public PageResult<TestCaseInfoResp> findPage(TestCaseInfoQueryReq query) {
|
||||
QueryWrapper<TestCaseInfo> wrapper = new QueryWrapper<>();
|
||||
if (!StringUtils.isEmpty(query.getTestFileType())){
|
||||
wrapper.eq("test_file_type", query.getTestFileType());
|
||||
}
|
||||
Page<TestCaseInfo> testCaseInfoPage = testCaseInfoDao.selectPage(new Page<>(query.getPageNo(), query.getPageSize()), wrapper);
|
||||
if (ObjectUtils.isEmpty(testCaseInfoPage)){
|
||||
return new PageResult<>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user