|  | @ -1226,6 +1226,8 @@ public class YkyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO,
 | 
	
		
			
				|  |  |                 "  patient_phone as \"patientPhone\",\n" +
 | 
	
		
			
				|  |  |                 "  app_source as \"appSource\",\n" +
 | 
	
		
			
				|  |  |                 "  appoint_way as \"appointWay\",\n" +
 | 
	
		
			
				|  |  |                 "  consumer_doctor as \"consumerDoctor\",\n" +
 | 
	
		
			
				|  |  |                 "  consumer_doctor_name as \"consumerDoctorName\",\n" +
 | 
	
		
			
				|  |  |                 "  status as \"status\"\n" +
 | 
	
		
			
				|  |  |                 "FROM\n" +
 | 
	
		
			
				|  |  |                 "\tbase_appointment_log where 1=1  ";
 | 
	
	
		
			
				|  | @ -1750,18 +1752,22 @@ public class YkyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO,
 | 
	
		
			
				|  |  |      * @param type 登录类型 1-手机号 2-证件号 3 二维码"
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public JSONObject getStudentInfo(String condition, String type){
 | 
	
		
			
				|  |  |         JSONObject loginObj =  otherLogin(condition,type);
 | 
	
		
			
				|  |  |     public JSONObject getStudentInfo(String condition, String type,String name){
 | 
	
		
			
				|  |  |         JSONObject loginObj =  otherLogin(condition,type,name);
 | 
	
		
			
				|  |  |         JSONObject jsonObject = new JSONObject();
 | 
	
		
			
				|  |  |         if (loginObj.getJSONObject("body")!=null){
 | 
	
		
			
				|  |  |             JSONObject body = loginObj.getJSONObject("body");
 | 
	
		
			
				|  |  |             if (body.getString("code").equalsIgnoreCase("200")){
 | 
	
		
			
				|  |  |                 JSONObject header = loginObj.getJSONObject("header");
 | 
	
		
			
				|  |  |                 JSONObject studentInfo = body.getJSONObject("result");
 | 
	
		
			
				|  |  |                 if (header.getJSONArray("Authorization")!=null){
 | 
	
		
			
				|  |  |                     JSONArray authorizationAry = header.getJSONArray("Authorization");
 | 
	
		
			
				|  |  |                     String authorization = authorizationAry.getString(0);
 | 
	
		
			
				|  |  |                     JSONObject archives = otherVisionHealthArchives(authorization);
 | 
	
		
			
				|  |  |                     if (archives!=null){
 | 
	
		
			
				|  |  |                         return archives.getJSONObject("body");
 | 
	
		
			
				|  |  |                         jsonObject.put("studentInfo",studentInfo);
 | 
	
		
			
				|  |  |                         jsonObject.put("data",archives.getJSONObject("body"));
 | 
	
		
			
				|  |  |                         return jsonObject;
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                 }
 | 
	
		
			
				|  |  |             }
 | 
	
	
		
			
				|  | @ -1776,7 +1782,7 @@ public class YkyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO,
 | 
	
		
			
				|  |  |      * @param type
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public JSONObject otherLogin(String condition, String type){
 | 
	
		
			
				|  |  |     public JSONObject otherLogin(String condition, String type,String userName){
 | 
	
		
			
				|  |  |         String url = slUrl+"/applet/otherLogin";
 | 
	
		
			
				|  |  |         long time = new Date().getTime();
 | 
	
		
			
				|  |  |         String sign = MD5.md5Hex(appid+secret_key+time);
 | 
	
	
		
			
				|  | @ -1786,6 +1792,9 @@ public class YkyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO,
 | 
	
		
			
				|  |  |         params.put("sign",sign);
 | 
	
		
			
				|  |  |         params.put("password",condition);
 | 
	
		
			
				|  |  |         params.put("type",type);
 | 
	
		
			
				|  |  |         if (type.equalsIgnoreCase("2")){
 | 
	
		
			
				|  |  |             params.put("username",userName);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         System.out.println("params"+params);
 | 
	
		
			
				|  |  |         Map<String, Object> headMap = new HashMap<>();
 | 
	
		
			
				|  |  |         headMap.put("platform","X-APP");
 |