| 
						
						
							
								
							
						
						
					 | 
					@ -39,11 +39,9 @@ import com.epmet.constant.UserAdviceConstant; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dao.UserAdviceDao; | 
					 | 
					 | 
					import com.epmet.dao.UserAdviceDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.CustomerAgencyDTO; | 
					 | 
					 | 
					import com.epmet.dto.CustomerAgencyDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.CustomerDTO; | 
					 | 
					 | 
					import com.epmet.dto.CustomerDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.dto.CustomerGridDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.UserAdviceDTO; | 
					 | 
					 | 
					import com.epmet.dto.UserAdviceDTO; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					import com.epmet.dto.form.AdviceListFormDTO; | 
					 | 
					 | 
					import com.epmet.dto.form.*; | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.form.ReplyAdviceFormDTO; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.form.SubmitAdviceFormDTO; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.form.UserResiInfoFormDTO; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.result.*; | 
					 | 
					 | 
					import com.epmet.dto.result.*; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.entity.UserAdviceEntity; | 
					 | 
					 | 
					import com.epmet.entity.UserAdviceEntity; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.entity.UserAdviceImgEntity; | 
					 | 
					 | 
					import com.epmet.entity.UserAdviceImgEntity; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -322,7 +320,7 @@ public class UserAdviceServiceImpl extends BaseServiceImpl<UserAdviceDao, UserAd | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param dto | 
					 | 
					 | 
					     * @param dto | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param loginUserId | 
					 | 
					 | 
					     * @param loginUserId | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @return void | 
					 | 
					 | 
					     * @return void | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					     * @Description 居民端-回复建议 | 
					 | 
					 | 
					     * @Description 居民端提交建议 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					     * @Author liushaowen | 
					 | 
					 | 
					     * @Author liushaowen | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @Date 2020/11/10 10:57 | 
					 | 
					 | 
					     * @Date 2020/11/10 10:57 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -344,21 +342,17 @@ public class UserAdviceServiceImpl extends BaseServiceImpl<UserAdviceDao, UserAd | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            logger.error("customerId:{},获取customerName失败",dto.getCustomerId()); | 
					 | 
					 | 
					            logger.error("customerId:{},获取customerName失败",dto.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //获取gridName,agencyId
 | 
					 | 
					 | 
					        //获取gridName,agencyId
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        Result<GridInfoResultDTO> gridInfoResultDTOResult = govOrgOpenFeignClient.queryGridInfo(dto.getGridId()); | 
					 | 
					 | 
					        CustomerGridFormDTO customerGridFormDTO = new CustomerGridFormDTO(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        customerGridFormDTO.setGridId(dto.getGridId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        Result<CustomerGridDTO> gridInfoResultDTOResult = govOrgOpenFeignClient.getCustomerGridByGridId(customerGridFormDTO); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (gridInfoResultDTOResult.success()){ | 
					 | 
					 | 
					        if (gridInfoResultDTOResult.success()){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            userAdviceDTO.setGridName(gridInfoResultDTOResult.getData().getGridName()); | 
					 | 
					 | 
					            userAdviceDTO.setGridName(gridInfoResultDTOResult.getData().getGridName()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            userAdviceDTO.setAgencyId(gridInfoResultDTOResult.getData().getParentAgencyId()); | 
					 | 
					 | 
					            userAdviceDTO.setAgencyId(gridInfoResultDTOResult.getData().getPid()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            //获取agencyName
 | 
					 | 
					 | 
					            userAdviceDTO.setAgencyPids(gridInfoResultDTOResult.getData().getPids()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            Result<CustomerAgencyDTO> agencyById = govOrgOpenFeignClient.getAgencyById(gridInfoResultDTOResult.getData().getParentAgencyId()); | 
					 | 
					 | 
					            userAdviceDTO.setAgencyName(gridInfoResultDTOResult.getData().getAgencyName()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            if (agencyById.success()){ | 
					 | 
					 | 
					            userAdviceDTO.setAgencyAllParentName(gridInfoResultDTOResult.getData().getAllParentName()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                userAdviceDTO.setAgencyName(agencyById.getData().getAllParentName()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                userAdviceDTO.setAgencyAllParentName(agencyById.getData().getAllParentName()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                userAdviceDTO.setAgencyPids(agencyById.getData().getPids()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        }else { | 
					 | 
					 | 
					        }else { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                logger.error("agencyId:{},获取组织详情失败",gridInfoResultDTOResult.getData().getParentAgencyId()); | 
					 | 
					 | 
					            logger.error("gridId:{},获取网格和所属组织详情失败",dto.getGridId()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        }else { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            logger.error("gridId:{},获取网格详情失败",dto.getGridId()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //获取userName,regPhone
 | 
					 | 
					 | 
					        //获取userName,regPhone
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |