|  | @ -427,7 +427,7 @@ public class SignWebService extends BaseService {
 | 
	
		
			
				|  |  |           //统计当年咨询数量
 | 
	
		
			
				|  |  |           String consult_sql = "select count(1) as count from wlyy_consult_team  w where w.doctor = ? and w.patient =? and YEAR(w.czrq) = ? ";
 | 
	
		
			
				|  |  |          //统计随访数量
 | 
	
		
			
				|  |  |           String followup_sql = "select count(1) as count from wlyy_followup  w where (w.doctor_code = ? or w.doctor_code =?) and w.patient_code =? and YEAR(w.create_time) = ? ";
 | 
	
		
			
				|  |  |           String followup_sql = "select count(1) as count from wlyy_followup  w where (w.doctor_code = ? or w.doctor_code =?) and w.patient_code =? and YEAR(w.create_time) = ?  and w.followup_class is not null ";
 | 
	
		
			
				|  |  |          //统计待预约数量
 | 
	
		
			
				|  |  |           String reservation_sql = "select count(1) as count from wlyy_patient_reservation  w where (w.doctor = ? or w.doctor =?) and w.patient =? and YEAR(w.czrq) = ? ";
 | 
	
		
			
				|  |  |         //统计健康教育数量
 | 
	
	
		
			
				|  | @ -467,7 +467,7 @@ public class SignWebService extends BaseService {
 | 
	
		
			
				|  |  |         //获取咨询
 | 
	
		
			
				|  |  |         String consult_sql = "select w.consult,w.symptoms,w.czrq,w.status,1 as type from wlyy_consult_team  w where w.doctor = ? and w.patient =? and YEAR(w.czrq) = ? ";
 | 
	
		
			
				|  |  |         //获取随访
 | 
	
		
			
				|  |  |         String followup_sql = "select w.id,w.followup_type,w.followup_class,w.followup_date as czrq,w.followup_manager_status,2 as type from wlyy_followup  w where (w.doctor_code = ? or w.doctor_code =?) and w.patient_code =? and YEAR(w.create_time) = ? ";
 | 
	
		
			
				|  |  |         String followup_sql = "select w.id,w.followup_type,w.followup_class,w.followup_date as czrq,w.followup_manager_status,2 as type from wlyy_followup  w where (w.doctor_code = ? or w.doctor_code =?) and w.patient_code =? and YEAR(w.create_time) = ? and w.followup_class is not null ";
 | 
	
		
			
				|  |  |         //获取待预约
 | 
	
		
			
				|  |  |         String reservation_sql = "select w.code,w.id, w.doctor_name,w.doctor_code,w.doctor_job,w.doctor,w.dname,w.status,w.start_time as czrq,3 as type from wlyy_patient_reservation  w where (w.doctor = ? or w.doctor =?) and w.patient =? and YEAR(w.czrq) = ? ";
 | 
	
		
			
				|  |  |         //获取健康教育
 | 
	
	
		
			
				|  | @ -568,6 +568,9 @@ public class SignWebService extends BaseService {
 | 
	
		
			
				|  |  |         if(map.get("followup_manager_status")==null){
 | 
	
		
			
				|  |  |             map.put("followup_manager_status","0");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if(map.get("followup_class")==null){
 | 
	
		
			
				|  |  |             map.put("followup_class","0");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         for(String key :map.keySet()){
 | 
	
		
			
				|  |  |             if("followup_type".equals(key)){
 | 
	
		
			
				|  |  |                 String followupTypeName = systemDictService.getDictValue("FOLLOWUP_WAY_DICT", map.get(key)+"");
 | 
	
	
		
			
				|  | @ -581,7 +584,7 @@ public class SignWebService extends BaseService {
 | 
	
		
			
				|  |  |                 String followupManagerStatusName = systemDictService.getDictValue("FOLLOWUP_MANAGER_STATUS",map.get(key)+"");
 | 
	
		
			
				|  |  |                 resultObject.put("followup_manager_status_name",followupManagerStatusName);
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             resultObject.put(key,map.get(key));
 | 
	
		
			
				|  |  |             resultObject.put(key,map.get(key)+"");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         return resultObject;
 | 
	
		
			
				|  |  |     }
 |