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