|
|
@@ -21,6 +21,7 @@ import com.tuoheng.admin.service.IThInspectionService; |
|
|
|
import com.tuoheng.admin.utils.ImgTypeConvert; |
|
|
|
import com.tuoheng.admin.utils.WordUtilsOld; |
|
|
|
import com.tuoheng.common.common.BaseServiceImpl; |
|
|
|
import com.tuoheng.common.config.CommonConfig; |
|
|
|
import com.tuoheng.common.config.UploadFileConfig; |
|
|
|
import com.tuoheng.common.exception.ServiceException; |
|
|
|
import com.tuoheng.common.utils.DateUtils; |
|
|
@@ -212,6 +213,17 @@ public class ReportServiceImpl extends BaseServiceImpl<ReportMapper, Report> imp |
|
|
|
QuestionReportVO questionReportVO=new QuestionReportVO(); |
|
|
|
BeanUtils.copyProperties(question,questionReportVO); |
|
|
|
List<QuestionHandleVO> questionHandleList = questionHandleMapper.getList(question.getId()); |
|
|
|
for (QuestionHandleVO questionHandleVO : questionHandleList) { |
|
|
|
//拼接图片域名 |
|
|
|
if(null != questionHandleVO && StringUtils.isNotEmpty(questionHandleVO.getHandlerImage())){ |
|
|
|
String[] imgHanders = questionHandleVO.getHandlerImage().split(","); |
|
|
|
for (int i = 0; i < imgHanders.length; i++) { |
|
|
|
imgHanders[i] = CommonConfig.imageURL + imgHanders[i]; |
|
|
|
} |
|
|
|
String handerImg = StringUtils.join(imgHanders, ","); |
|
|
|
questionHandleVO.setHandlerImage(handerImg); |
|
|
|
} |
|
|
|
} |
|
|
|
questionReportVO.setQuestionHandleList(questionHandleList); |
|
|
|
|
|
|
|
questionReportVOList.add(questionReportVO); |