|  | @ -9,6 +9,7 @@ import com.yihu.wlyy.entity.patient.SignFamily;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.repository.doctor.DoctorPatientGroupInfoDao;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.family.FamilyService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.sign.FamilyContractService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.sign.SignWebService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.common.account.*;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.common.account.DoctorService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.util.DateUtil;
 | 
	
	
		
			
				|  | @ -17,6 +18,7 @@ import com.yihu.wlyy.util.RSAUtils;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.web.BaseController;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.entity.patient.invitation.PatientInvitationLog;
 | 
	
		
			
				|  |  | import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  | import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  | import org.json.JSONArray;
 | 
	
		
			
				|  |  | import org.json.JSONObject;
 | 
	
	
		
			
				|  | @ -54,6 +56,8 @@ public class FamilyContractController extends BaseController {
 | 
	
		
			
				|  |  |     private FamilyService familyService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private DoctorPatientGroupInfoDao doctorPatientGroupInfoDao;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private SignWebService signWebService;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     /**
 | 
	
		
			
				|  |  |      * 得到患者的签约的医生的信息
 | 
	
	
		
			
				|  | @ -691,4 +695,24 @@ public class FamilyContractController extends BaseController {
 | 
	
		
			
				|  |  |             return error(-1, "查询失败");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     /**
 | 
	
		
			
				|  |  |      *
 | 
	
		
			
				|  |  |      *统计
 | 
	
		
			
				|  |  |      * 咨询量、获取待预约、获取健康教育、获取健康指导
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     @RequestMapping("/getSignCountInfoInYear")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "统计咨询量、获取待预约、获取健康教育、获取健康指导")
 | 
	
		
			
				|  |  |     @ResponseBody
 | 
	
		
			
				|  |  |     public String getSignCountInfoInYear(@RequestParam(required = true)String patient){
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |             JSONObject rs =signWebService.getSignCountInfoInYear(patient);
 | 
	
		
			
				|  |  |             //JSONObject rs =signWebService.getRenewYearCount("64de930c-5b15-11e6-8344-fa163e8aee56");
 | 
	
		
			
				|  |  |             return write(200, "操作成功!", "data", rs);
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             error(e);
 | 
	
		
			
				|  |  |             return error(-1, "请求失败");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | }
 |