|
|
@@ -94,7 +94,6 @@ public class QueryInspectionFileHandleByInspectionFileIdService { |
|
|
|
String handlerImages = ""; |
|
|
|
if (null != inspectionFileHandle) { |
|
|
|
inspectionFileHandleVo = InspectionFileHandleConverMapper.INSTANCE.fromInspectionFileHandleToInspectionFileHandleVo(inspectionFileHandle); |
|
|
|
|
|
|
|
if (!StringUtils.isEmpty(inspectionFileHandle.getHandlerImage())) { |
|
|
|
String[] arr = inspectionFileHandle.getHandlerImage().split(","); |
|
|
|
List<String> list = Arrays.stream(arr).map(String::toString).collect(Collectors.toList()); |
|
|
@@ -109,7 +108,6 @@ public class QueryInspectionFileHandleByInspectionFileIdService { |
|
|
|
handlerImages = handlerImages.substring(0, handlerImages.length() - 1); |
|
|
|
inspectionFileHandleVo.setHandlerImages(handlerImages); |
|
|
|
} |
|
|
|
|
|
|
|
QuestionType questionType = questionTypeMapper.selectOne(new LambdaQueryWrapper<QuestionType>() |
|
|
|
.eq(QuestionType::getCode, inspectionFile.getQuestionCode()) |
|
|
|
.eq(QuestionType::getMark, 1)); |
|
|
@@ -119,6 +117,7 @@ public class QueryInspectionFileHandleByInspectionFileIdService { |
|
|
|
} |
|
|
|
inspectionFileHandleVo.setQuestionCode(inspectionFile.getQuestionCode()); |
|
|
|
inspectionFileHandleVo.setFileThumbnail(CommonConfig.imageURL + inspectionFile.getFileThumbnail()); |
|
|
|
inspectionFileHandleVo.setFileOriginal(CommonConfig.imageURL + inspectionFile.getFileOriginal()); |
|
|
|
return inspectionFileHandleVo; |
|
|
|
} |
|
|
|
} |