| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -124,7 +124,14 @@ public class IcVaccinePrarmeterServiceImpl extends BaseServiceImpl<IcVaccinePrar | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @return | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     */ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @Override | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public PageData<IcVaccinePrarmeterDTO> getPhrasePage(Map<String, Object> params) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public PageData<IcVaccinePrarmeterDTO> getPhrasePage(Map<String, Object> params, TokenDto tokenDto) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        params.put("customerId",tokenDto.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // 获取工作人员缓存信息
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(tokenDto.getCustomerId(), tokenDto.getUserId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (null == staffInfo) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            throw new EpmetException(String.format("查询工作人员%s缓存信息失败...", tokenDto.getUserId())); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        params.put("agencyId",staffInfo.getAgencyId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        IPage<IcVaccinePrarmeterDTO> page = getPage(params); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<IcVaccinePrarmeterDTO> list = baseDao.getPhrasePage(params); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new PageData<>(list, page.getTotal()); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -345,26 +352,26 @@ public class IcVaccinePrarmeterServiceImpl extends BaseServiceImpl<IcVaccinePrar | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    list.get(i).setAddStatus(true); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    continue; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if (StringUtils.isBlank(list.get(i).getSecondVacTime()) && !list.get(i).getAddStatus()){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    errorInfo.add(getErrorInfo(list.get(i), "第二次接种时间不能为空",i+1)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    list.get(i).setAddStatus(true); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    continue; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if (StringUtils.isBlank(list.get(i).getSecondVacSite()) && !list.get(i).getAddStatus()){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    errorInfo.add(getErrorInfo(list.get(i), "第二次接种地点不能为空",i+1)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    list.get(i).setAddStatus(true); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    continue; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if (StringUtils.isBlank(list.get(i).getThirdVacTime()) && !list.get(i).getAddStatus()){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    errorInfo.add(getErrorInfo(list.get(i), "第三次接种时间不能为空",i+1)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    list.get(i).setAddStatus(true); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    continue; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if (StringUtils.isBlank(list.get(i).getThirdVacSite()) && !list.get(i).getAddStatus()){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    errorInfo.add(getErrorInfo(list.get(i), "第三次接种地点不能为空",i+1)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    list.get(i).setAddStatus(true); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    continue; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                if (StringUtils.isBlank(list.get(i).getSecondVacTime()) && !list.get(i).getAddStatus()){
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    errorInfo.add(getErrorInfo(list.get(i), "第二次接种时间不能为空",i+1));
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    list.get(i).setAddStatus(true);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    continue;
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                }
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                if (StringUtils.isBlank(list.get(i).getSecondVacSite()) && !list.get(i).getAddStatus()){
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    errorInfo.add(getErrorInfo(list.get(i), "第二次接种地点不能为空",i+1));
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    list.get(i).setAddStatus(true);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    continue;
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                }
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                if (StringUtils.isBlank(list.get(i).getThirdVacTime()) && !list.get(i).getAddStatus()){
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    errorInfo.add(getErrorInfo(list.get(i), "第三次接种时间不能为空",i+1));
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    list.get(i).setAddStatus(true);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    continue;
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                }
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                if (StringUtils.isBlank(list.get(i).getThirdVacSite()) && !list.get(i).getAddStatus()){
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    errorInfo.add(getErrorInfo(list.get(i), "第三次接种地点不能为空",i+1));
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    list.get(i).setAddStatus(true);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                    continue;
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//                }
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            // 校验所属网格通过名称能否匹配到ID
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |