|
@ -350,6 +350,8 @@ public class EntranceService {
|
|
wlyyPrescriptionInfoVO.setSupplyName(null != jsonObjectBody.get("YPYF00") ? jsonObjectBody.get("YPYF00").toString() : "");
|
|
wlyyPrescriptionInfoVO.setSupplyName(null != jsonObjectBody.get("YPYF00") ? jsonObjectBody.get("YPYF00").toString() : "");
|
|
wlyyPrescriptionInfoVO.setDays(null != jsonObjectBody.get("days") ? jsonObjectBody.get("days").toString() : "");
|
|
wlyyPrescriptionInfoVO.setDays(null != jsonObjectBody.get("days") ? jsonObjectBody.get("days").toString() : "");
|
|
wlyyPrescriptionInfoVO.setFrequency(null != jsonObjectBody.get("frequency") ? jsonObjectBody.get("frequency").toString() : "");
|
|
wlyyPrescriptionInfoVO.setFrequency(null != jsonObjectBody.get("frequency") ? jsonObjectBody.get("frequency").toString() : "");
|
|
|
|
//规格
|
|
|
|
wlyyPrescriptionInfoVO.setSpecification(null != jsonObjectBody.get("DRUG_SPEC") ? jsonObjectBody.get("DRUG_SPEC").toString() : "");
|
|
wlyyPrescriptionInfoVO.setDel(1);
|
|
wlyyPrescriptionInfoVO.setDel(1);
|
|
wlyyPrescriptionInfoVOS.add(wlyyPrescriptionInfoVO);
|
|
wlyyPrescriptionInfoVOS.add(wlyyPrescriptionInfoVO);
|
|
}
|
|
}
|
|
@ -1500,12 +1502,34 @@ public class EntranceService {
|
|
jsonObject.put("userName",userName);
|
|
jsonObject.put("userName",userName);
|
|
jsonObject.put("idCard", idCard);
|
|
jsonObject.put("idCard", idCard);
|
|
jsonObject.put("phone", phone);
|
|
jsonObject.put("phone", phone);
|
|
jsonObject.put("title ", title);
|
|
|
|
|
|
jsonObject.put("title", title);
|
|
jsonObject.put("url", url);
|
|
jsonObject.put("url", url);
|
|
jsonObject.put("content", content);
|
|
jsonObject.put("content", content);
|
|
jsonObject.put("contentString",contentString);
|
|
jsonObject.put("contentString",contentString);
|
|
String responseMsg =httpClientUtil.sendPost(serverUrl+"/interface/ehospitalNoticePush.htm",jsonObject.toString());
|
|
String responseMsg =httpClientUtil.sendPost(serverUrl+"/interface/ehospitalNoticePush.htm",jsonObject.toString());
|
|
System.out.println(responseMsg);
|
|
|
|
|
|
return responseMsg;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @param openId openId
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public String getUserInfoByOpenid(String openId){
|
|
|
|
JSONObject jsonObject=new JSONObject ();
|
|
|
|
jsonObject.put("openId",openId);
|
|
|
|
String responseMsg =httpClientUtil.sendPost(serverUrl+"/interface/getUserInfoByOpenId.htm",jsonObject.toString());
|
|
|
|
return responseMsg;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @param interfaceid 校验码,默认:100033
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public String getAccessToken(String interfaceid){
|
|
|
|
JSONObject jsonObject=new JSONObject ();
|
|
|
|
jsonObject.put("interfaceid",interfaceid);
|
|
|
|
String responseMsg =httpClientUtil.sendPost(serverUrl+"/interface/getAccessToken.htm",jsonObject.toString());
|
|
return responseMsg;
|
|
return responseMsg;
|
|
}
|
|
}
|
|
|
|
|