|
@ -123,14 +123,19 @@ public class JwPrescriptionService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public String saveRecipe(String prescriptionCode) throws Exception{
|
|
|
String url = jwUrl + "/third/prescription/saveRecipe";
|
|
|
List<NameValuePair> params = new ArrayList<>();
|
|
|
params.add(new BasicNameValuePair("prescriptionCode", prescriptionCode));
|
|
|
|
|
|
String response = httpClientUtil.post(url, params, "UTF-8");
|
|
|
public String saveRecipe(String prescriptionCode){
|
|
|
String response = null;
|
|
|
try {
|
|
|
String url = jwUrl + "/third/prescription/saveRecipe";
|
|
|
List<NameValuePair> params = new ArrayList<>();
|
|
|
params.add(new BasicNameValuePair("prescriptionCode", prescriptionCode));
|
|
|
|
|
|
return response;
|
|
|
response = httpClientUtil.post(url, params, "UTF-8");
|
|
|
return response;
|
|
|
}catch (Exception e){
|
|
|
logger.info("处方开方接口saveRecipe:"+response);
|
|
|
throw e;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|