|
|
@@ -28,6 +28,7 @@ import com.tuoheng.admin.service.inspectionfile.update.UpdateInspectionFileQuest |
|
|
|
import com.tuoheng.admin.utils.CurrentUserUtil; |
|
|
|
import com.tuoheng.admin.vo.inspection.InspectionFileVo; |
|
|
|
import com.tuoheng.admin.vo.ListByDeptUserTypeVo; |
|
|
|
import com.tuoheng.common.core.config.common.CommonConfig; |
|
|
|
import com.tuoheng.common.core.enums.ServiceExceptionEnum; |
|
|
|
import com.tuoheng.common.core.exception.ServiceException; |
|
|
|
import com.tuoheng.common.core.utils.JsonResult; |
|
|
@@ -162,6 +163,8 @@ public class InspectionFileServiceImpl implements IInspectionFileService { |
|
|
|
List<InspectionFileVo> list = inspectionFileLists.stream().map(x -> { |
|
|
|
InspectionFileVo vo = new InspectionFileVo(); |
|
|
|
BeanUtils.copyProperties(x, vo); |
|
|
|
//标记图片 |
|
|
|
vo.setFileImage(CommonConfig.imageURL+x.getFileImage()); |
|
|
|
//任务名称 |
|
|
|
if (StringUtils.isNotEmpty(x.getInspectionId())) { |
|
|
|
Inspection inspection = inspectionMapper.selectById(x.getInspectionId()); |