@@ -59,7 +59,7 @@ public class QueryInspectionFilePageListByInspectionIdService { | |||
IPage<InspectionFile> pageData = inspectionFileMapper.selectPageListByInspectionId(page, request); | |||
if (null == pageData || pageData.getTotal() == 0) { | |||
log.info("获取任务分页列表为空"); | |||
return JsonResult.success(null, QueryInspectionPageListCodeEnum.DATA_IS_FAILED.getMsg()); | |||
return JsonResult.success(pageData, QueryInspectionPageListCodeEnum.DATA_IS_FAILED.getMsg()); | |||
} | |||
// 构造返回结果对象 |