|  | @ -4511,8 +4511,11 @@ public class StatisticsEsService {
 | 
	
		
			
				|  |  |             //开具处方数量
 | 
	
		
			
				|  |  |             Double preNum = 0.0;
 | 
	
		
			
				|  |  |             Double outNum = 0.0;
 | 
	
		
			
				|  |  |             Double isPayNum = 0.0;//已支付的处方数量
 | 
	
		
			
				|  |  |             String prescriptionRate ="";
 | 
	
		
			
				|  |  |             String prescriptionPayRate = "";
 | 
	
		
			
				|  |  |             List<SaveModel> precriptionList = elasticsearchUtil.findDateQuotaLevel1(startDate, endDate, area, level, indexes[1], SaveModel.timeLevel_ZL,"","",level2_type);
 | 
	
		
			
				|  |  |             List<SaveModel> precriptionIsPayList = elasticsearchUtil.findDateQuotaLevel1(startDate, endDate, area, level, indexes[2], SaveModel.timeLevel_ZL,"1","",level2_type);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             if(SaveModel.OrgLevel.equals(level2_type)){
 | 
	
		
			
				|  |  |                 for(SaveModel saveModel:precriptionList){
 | 
	
	
		
			
				|  | @ -4531,6 +4534,16 @@ public class StatisticsEsService {
 | 
	
		
			
				|  |  |                             break;
 | 
	
		
			
				|  |  |                         }
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                     for (SaveModel saveModel2:precriptionIsPayList){
 | 
	
		
			
				|  |  |                         String isPay=saveModel2.getHospital()==null?"":saveModel2.getHospital();
 | 
	
		
			
				|  |  |                         String pre=saveModel.getHospital()==null?"":saveModel.getHospital();
 | 
	
		
			
				|  |  |                         if(isPay.equalsIgnoreCase(pre)){
 | 
	
		
			
				|  |  |                             isPayNum = saveModel2.getResult1();
 | 
	
		
			
				|  |  |                             prescriptionPayRate = getRange(isPayNum.intValue(),preNum.intValue(),0);
 | 
	
		
			
				|  |  |                             jsonObject.put("prescriptionPayRate",prescriptionPayRate);
 | 
	
		
			
				|  |  |                             break;
 | 
	
		
			
				|  |  |                         }
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                     if(null==saveModel.getHospital()){
 | 
	
		
			
				|  |  |                         resultArray =new JSONArray();
 | 
	
		
			
				|  |  |                     }else {
 |