|  | @ -1856,7 +1856,7 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  | //            Doctor doctor = doctorInfoService.findDoctorByCode(getRepUID());
 | 
	
		
			
				|  |  |             JSONObject data = doctorInfoService.getCAPastDue(getRepUID(),new JSONObject());
 | 
	
		
			
				|  |  |             JSONObject data = doctorInfoService.getCAPastDue(getUID(),new JSONObject());
 | 
	
		
			
				|  |  |             return write(200, "获取信息成功!", "data", data);
 | 
	
		
			
				|  |  |         }catch (Exception e) {
 | 
	
		
			
				|  |  |             error(e);
 | 
	
	
		
			
				|  | @ -1873,7 +1873,7 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  |     public String isAuthentication(){
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             //0de6a26a62dd11e69faffa163e8aee56
 | 
	
		
			
				|  |  |             JSONObject data = doctorInfoService.isAuthentication(getRepUID());
 | 
	
		
			
				|  |  |             JSONObject data = doctorInfoService.isAuthentication(getUID());
 | 
	
		
			
				|  |  |             return write(200, "获取信息成功!", "data", data);
 | 
	
		
			
				|  |  |         }catch (Exception e) {
 | 
	
		
			
				|  |  |             error(e);
 | 
	
	
		
			
				|  | @ -1890,8 +1890,8 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  |             @RequestParam(value = "strOldCalledPasswd",required = true) String strOldCalledPasswd,
 | 
	
		
			
				|  |  |             @RequestParam(value = "strNewCalledPasswd",required = true) String strNewCalledPasswd){
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             Doctor doctor = doctorInfoService.findDoctorByCode(getRepUID());
 | 
	
		
			
				|  |  |             boolean b = doctorInfoService.updateAuthenticationPassword(doctor.getIdcard(),strOldCalledPasswd,strNewCalledPasswd,getRepUID());
 | 
	
		
			
				|  |  |             Doctor doctor = doctorInfoService.findDoctorByCode(getUID());
 | 
	
		
			
				|  |  |             boolean b = doctorInfoService.updateAuthenticationPassword(doctor.getIdcard(),strOldCalledPasswd,strNewCalledPasswd,getUID());//hxmD201703150222
 | 
	
		
			
				|  |  |             if(b){
 | 
	
		
			
				|  |  |                 return write(200, "修改密码成功!", "data", b);
 | 
	
		
			
				|  |  |             }
 | 
	
	
		
			
				|  | @ -1911,8 +1911,8 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/installAuthenticationPassword", method = RequestMethod.POST)
 | 
	
		
			
				|  |  |     public String installAuthenticationPassword(@RequestParam(value = "strNewCalledPasswd",required = true) String strNewCalledPasswd){
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             Doctor doctor = doctorInfoService.findDoctorByCode(getRepUID());
 | 
	
		
			
				|  |  |             boolean b = doctorInfoService.updateAuthenticationPassword(doctor.getIdcard(),"11111111",strNewCalledPasswd,getRepUID());
 | 
	
		
			
				|  |  |             Doctor doctor = doctorInfoService.findDoctorByCode(getUID());
 | 
	
		
			
				|  |  |             boolean b = doctorInfoService.updateAuthenticationPassword(doctor.getIdcard(),"11111111",strNewCalledPasswd,getUID());
 | 
	
		
			
				|  |  |             if(b){
 | 
	
		
			
				|  |  |                 return write(200, "设置密码成功!", "data", b);
 | 
	
		
			
				|  |  |             }
 | 
	
	
		
			
				|  | @ -1933,8 +1933,8 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/resetAuthenticationPassword", method = RequestMethod.POST)
 | 
	
		
			
				|  |  |     public String resetAuthenticationPassword(@RequestParam(value = "strNewCalledPasswd",required = true) String strNewCalledPasswd){
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             Doctor doctor = doctorInfoService.findDoctorByCode(getRepUID());
 | 
	
		
			
				|  |  |             boolean b = doctorInfoService.updateAuthenticationPassword(doctor.getIdcard(),doctor.getCheckPassword(),strNewCalledPasswd,getRepUID());
 | 
	
		
			
				|  |  |             Doctor doctor = doctorInfoService.findDoctorByCode(getUID());
 | 
	
		
			
				|  |  |             boolean b = doctorInfoService.updateAuthenticationPassword(doctor.getIdcard(),doctor.getCheckPassword(),strNewCalledPasswd,getUID());
 | 
	
		
			
				|  |  |             if(b){
 | 
	
		
			
				|  |  |                 return write(200, "重置密码成功!", "data", b);
 | 
	
		
			
				|  |  |             }
 | 
	
	
		
			
				|  | @ -1959,7 +1959,7 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  |             @ApiParam(required = true, name = "prescriptionCode", value = "处方code") @RequestParam(value = "prescriptionCode",required = true) String prescriptionCode){
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             Doctor doctor = doctorInfoService.findDoctorByCode(getRepUID());
 | 
	
		
			
				|  |  |             Doctor doctor = doctorInfoService.findDoctorByCode(getUID());
 | 
	
		
			
				|  |  | //            JSONObject obj = doctorInfoService.requestRealNameSoftCertAndSign(doctor.getIdcard(),strRealNameSoftCertCalledPasswd,strOriginalData,srcBusinessStreamNO);
 | 
	
		
			
				|  |  |             JSONObject jsonObject = doctorInfoService.requestRealNameSoftCertAndSign(doctor.getIdcard(),strRealNameSoftCertCalledPasswd,strOriginalData,prescriptionCode);
 | 
	
		
			
				|  |  | //            if(b){
 | 
	
	
		
			
				|  | @ -1984,7 +1984,7 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  |             @ApiParam(required = true, name = "certificateNum", value = "证书编号") @RequestParam(value = "certificateNum",required = true) String certificateNum){
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             boolean b = doctorInfoService.checkCertificate(getRepUID(),certificateNum);
 | 
	
		
			
				|  |  |             boolean b = doctorInfoService.checkCertificate(getUID(),certificateNum);
 | 
	
		
			
				|  |  |             return write(200, "获取信息成功!", "data", b);
 | 
	
		
			
				|  |  |         }catch (Exception e) {
 | 
	
		
			
				|  |  |             error(e);
 | 
	
	
		
			
				|  | @ -2020,8 +2020,12 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  |     public String cancelAuthentication(){
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             doctorInfoService.cancelAuthentication(getRepUID());
 | 
	
		
			
				|  |  |             return write(200, "取消认证成功!");
 | 
	
		
			
				|  |  |             if(doctorInfoService.cancelAuthentication(getUID())){
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |                 return write(200, "取消认证成功!");
 | 
	
		
			
				|  |  |             }else{
 | 
	
		
			
				|  |  |                 return error(-1, "取消认证失败!");
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |         }catch (Exception e) {
 | 
	
		
			
				|  |  |             error(e);
 | 
	
		
			
				|  |  |             return error(-1, "取消认证失败!");
 |