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