| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -1454,6 +1454,56 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        icEventOperationLogService.insert(logEntity); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    /** | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * 居民端我上报的事件, 消息列表跳转详情 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @param formDTO | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @return | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     */ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @Override | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public MyReportIcEvResDTO myReportDetail(MyReportIcEvFormDTO formDTO) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // 1.分页查询
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<MyReportIcEvResDTO> list=baseDao.selectMyReport(formDTO); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!CollectionUtils.isEmpty(list)) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //封装数据
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            for (MyReportIcEvResDTO dto : list) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                //每个事件对应的图片数据
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if (!CollectionUtils.isEmpty(dto.getAttachmentList())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    List<String> imageList = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    List<IcEventAttachmentDTO> voiceList = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    for (IcEventAttachmentDTO file : dto.getAttachmentList()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        if ("image".equals(file.getAttachmentType())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            imageList.add(file.getAttachmentUrl()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        } else if ("voice".equals(file.getAttachmentType())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            voiceList.add(file); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    dto.setImageList(imageList); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    dto.setVoiceList(voiceList); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                //分类信息
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if(StringUtils.isNotBlank(dto.getCategoryId())){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    List<String> categoryList = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    categoryList.add(dto.getCategoryId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    CategoryTagResultDTO category = queryCategory(formDTO.getCustomerId(), categoryList); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    for (IssueProjectCategoryDictDTO ca : category.getCategoryList()){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        if (ca.getId().equals(dto.getCategoryId())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            if(StringUtils.isNotBlank(ca.getParentCategoryName())){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                //大类-子类
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                dto.setCategoryName(ca.getParentCategoryName().concat(StrConstant.HYPHEN).concat(ca.getCategoryName())); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            }else{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                dto.setCategoryName(ca.getCategoryName()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return list.get(NumConstant.ZERO); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    private IcEventEntity checkReply(String icEventId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //:0:已回复 1:已转项目  1:已转需求
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        IcEventEntity entity = baseDao.selectById(icEventId); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |