|  | @ -140,7 +140,7 @@ public class FamilyContractController extends BaseController {
 | 
	
		
			
				|  |  |     public String hospitalList(String hospital, long id, int pagesize) {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             JSONArray array = new JSONArray();
 | 
	
		
			
				|  |  |             Page<Doctor> list = familyContractService.findDoctors(hospital, 2, id, pagesize);
 | 
	
		
			
				|  |  |             Page<Doctor> list = familyContractService.findDoctors(hospital, "", "", "", 2, id, pagesize);
 | 
	
		
			
				|  |  |             if (list != null) {
 | 
	
		
			
				|  |  |                 for (Doctor doctor : list) {
 | 
	
		
			
				|  |  |                     if (doctor == null) {
 | 
	
	
		
			
				|  | @ -582,18 +582,18 @@ public class FamilyContractController extends BaseController {
 | 
	
		
			
				|  |  |      * @param doctor
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/doctor_sign_exist",method = {RequestMethod.GET,RequestMethod.POST})
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/doctor_sign_exist", method = {RequestMethod.GET, RequestMethod.POST})
 | 
	
		
			
				|  |  |     @ResponseBody
 | 
	
		
			
				|  |  |     public String isPatientAndDoctorExistSign(@RequestParam(required = true) String doctor){
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |             if(StringUtils.isEmpty(doctor)){
 | 
	
		
			
				|  |  |                 return error(-1,"医生不能为空");
 | 
	
		
			
				|  |  |     public String isPatientAndDoctorExistSign(@RequestParam(required = true) String doctor) {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             if (StringUtils.isEmpty(doctor)) {
 | 
	
		
			
				|  |  |                 return error(-1, "医生不能为空");
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             JSONObject result = familyContractService.isPatientAndDoctorExistSign(getUID(),doctor);
 | 
	
		
			
				|  |  |             return write(200,"查询成功","data",result);
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             JSONObject result = familyContractService.isPatientAndDoctorExistSign(getUID(), doctor);
 | 
	
		
			
				|  |  |             return write(200, "查询成功", "data", result);
 | 
	
		
			
				|  |  |         } catch (Exception e) {
 | 
	
		
			
				|  |  |             e.printStackTrace();
 | 
	
		
			
				|  |  |             return error(-1,"查询失败");
 | 
	
		
			
				|  |  |             return error(-1, "查询失败");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -603,17 +603,17 @@ public class FamilyContractController extends BaseController {
 | 
	
		
			
				|  |  |      * @param doctor
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/doctor_can_sign",method = {RequestMethod.GET,RequestMethod.POST})
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/doctor_can_sign", method = {RequestMethod.GET, RequestMethod.POST})
 | 
	
		
			
				|  |  |     @ResponseBody
 | 
	
		
			
				|  |  |     public String isPatientAndDoctorCanSign(@RequestParam(required = true) String doctor){
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |             if(StringUtils.isEmpty(doctor)){
 | 
	
		
			
				|  |  |                 return error(-1,"医生不能为空");
 | 
	
		
			
				|  |  |     public String isPatientAndDoctorCanSign(@RequestParam(required = true) String doctor) {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             if (StringUtils.isEmpty(doctor)) {
 | 
	
		
			
				|  |  |                 return error(-1, "医生不能为空");
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             JSONObject result = familyContractService.isPatientAndDoctorCanSign(getUID(),doctor);
 | 
	
		
			
				|  |  |             return write(200,"查询成功","data",result);
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             return error(-1,"查询失败");
 | 
	
		
			
				|  |  |             JSONObject result = familyContractService.isPatientAndDoctorCanSign(getUID(), doctor);
 | 
	
		
			
				|  |  |             return write(200, "查询成功", "data", result);
 | 
	
		
			
				|  |  |         } catch (Exception e) {
 | 
	
		
			
				|  |  |             return error(-1, "查询失败");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | }
 |