Browse Source

pc端问题核实接口代码优化

tags/v1.3.1
chengwang 1 year ago
parent
commit
dfb3df9484
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFilePageListByInspectionIdService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFilePageListByInspectionIdService.java View File

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());
} }


// 构造返回结果对象 // 构造返回结果对象

Loading…
Cancel
Save