|
@ -123,12 +123,14 @@ public class JwPrescriptionService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public String saveRecipe(String prescriptionCode){
|
|
|
public String saveRecipe(String prescriptionCode,String jwRegisterType,String jwDept){
|
|
|
String response = null;
|
|
|
try {
|
|
|
String url = jwUrl + "/third/prescription/saveRecipe";
|
|
|
List<NameValuePair> params = new ArrayList<>();
|
|
|
params.add(new BasicNameValuePair("prescriptionCode", prescriptionCode));
|
|
|
params.add(new BasicNameValuePair("jwRegisterType", jwRegisterType));
|
|
|
params.add(new BasicNameValuePair("jwDept", jwDept));
|
|
|
|
|
|
response = httpClientUtil.post(url, params, "UTF-8");
|
|
|
return response;
|