|  | @ -116,7 +116,7 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     @GetMapping(value = BaseHospitalRequestMapping.Statistics.prescriptionTj)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "开方量周统计表格")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "开方量统计表格")
 | 
	
		
			
				|  |  |     public ObjEnvelop prescriptionTj(
 | 
	
		
			
				|  |  |             @RequestParam(required = true) String startDate,
 | 
	
		
			
				|  |  |             @RequestParam(required = true) String endDate,
 | 
	
	
		
			
				|  | @ -134,6 +134,35 @@ public class EsStatisticsEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         return success(result);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  |     /**
 | 
	
		
			
				|  |  |      *
 | 
	
		
			
				|  |  |      * @param startDate
 | 
	
		
			
				|  |  |      * @param endDate
 | 
	
		
			
				|  |  |      * @param area
 | 
	
		
			
				|  |  |      * @param level 5 市  4区  3医院 2科室 1医生
 | 
	
		
			
				|  |  |      * @param index
 | 
	
		
			
				|  |  |      * @param level2_type 2 市  3区  4医院 5、科室 6医生
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     @GetMapping(value = BaseHospitalRequestMapping.Statistics.prescriptionByKd)
 | 
	
		
			
				|  |  |     @ApiOperation(value = "开方快递量统计表格")
 | 
	
		
			
				|  |  |     public ObjEnvelop prescriptionByKd(
 | 
	
		
			
				|  |  |             @RequestParam(required = true) String startDate,
 | 
	
		
			
				|  |  |             @RequestParam(required = true) String endDate,
 | 
	
		
			
				|  |  |             @RequestParam(required = true) String area,
 | 
	
		
			
				|  |  |             @RequestParam(required = true) int level,
 | 
	
		
			
				|  |  |             @RequestParam(required = true) String index,
 | 
	
		
			
				|  |  |             @RequestParam(required = false)int interval,
 | 
	
		
			
				|  |  |             @RequestParam(required = false) String level2_type) {
 | 
	
		
			
				|  |  |         JSONObject result = new JSONObject();
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             result= statisticsEsService.getPrescriptionLineByType(startDate, endDate, area, level, index, interval,level2_type);
 | 
	
		
			
				|  |  |         } catch (Exception e) {
 | 
	
		
			
				|  |  |             e.printStackTrace();
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         return success(result);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = BaseHospitalRequestMapping.Statistics.total)
 | 
	
		
			
				|  |  |     @ApiOperation(value = " 查询总数")
 |