|
|
@@ -12,6 +12,7 @@ import com.tuoheng.admin.enums.code.inspectionfile.QueryInspectionFilePageListBy |
|
|
|
import com.tuoheng.admin.mapper.*; |
|
|
|
import com.tuoheng.admin.request.inspectionfile.QueryInspectionFilePageListByInspectionIdRequest; |
|
|
|
import com.tuoheng.admin.vo.InspectionFilePageListByInspectionIdVo; |
|
|
|
import com.tuoheng.common.core.config.common.CommonConfig; |
|
|
|
import com.tuoheng.common.core.utils.JsonResult; |
|
|
|
import com.tuoheng.common.core.utils.StringUtils; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
@@ -99,7 +100,8 @@ public class QueryInspectionFilePageListByInspectionIdService { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 1)、查找问题类型字段 |
|
|
|
* 1)、查找问题类型字段 |
|
|
|
* 2)、拼接缩略图路径 |
|
|
|
* |
|
|
|
* @param inspectionFileList |
|
|
|
* @return |
|
|
@@ -119,6 +121,7 @@ public class QueryInspectionFilePageListByInspectionIdService { |
|
|
|
questionName = questionType.getName(); |
|
|
|
inspectionFilePageListVo.setQuestionName(Integer.toString(questionName)); |
|
|
|
} |
|
|
|
inspectionFilePageListVo.setFileThumbnail(CommonConfig.imageURL + inspectionFilePageListVo.getFileThumbnail()); |
|
|
|
} |
|
|
|
return inspectionFilePageListVoList; |
|
|
|
} |