| 
					
				 | 
			
			
				@ -358,24 +358,24 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "agent") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ResponseBody 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public String agent( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String idcard, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false) String name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String idcard, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false) String ssc, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false) String mobile, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String healthLabel, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String healthLabel, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false, defaultValue = "") String customLabel, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false, defaultValue = "") String disease, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false) String emerMobile, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String healthDoctor, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String healthDoctorName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String images, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String healthDoctor, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String healthDoctorName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String images, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false, defaultValue = "0") String expenses, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String doctor,//全科医生code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String doctorName,//全科医生名字 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String signDoctorCode,//簽約人code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String signDoctorName,//簽約人銘 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String signDoctorLevel,//簽約人等级 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            long adminTeamCode //行政团队 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String doctor,//全科医生code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String doctorName,//全科医生名字 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String signDoctorCode,//簽約人code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String signDoctorName,//簽約人銘 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)String signDoctorLevel,//簽約人等级 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(required = false)long adminTeamCode //行政团队 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (StringUtils.isEmpty(idcard)) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1095,6 +1095,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (StringUtils.isNotEmpty(patient)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                JSONObject result = patientRemindService.remindPatientExpenses(patient, getUID()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                //JSONObject result = patientRemindService.remindPatientExpenses(patient, "test00000000005"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                redisTemplate.opsForValue().set("expenses:remind:doctor:" + getUID(), "0"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                redisTemplate.expire("expenses:remind:doctor:" + getUID(), 10, TimeUnit.MINUTES); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return write(result.getInt("status"), result.getString("msg")); 
			 |