|
@ -73,7 +73,7 @@ public class JwPrescriptionService {
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 获取历史处方记录
|
|
|
* 获取历史处方记录列表
|
|
|
* @param cardNo 社保卡号
|
|
|
* @param recipeNo 医嘱号
|
|
|
* @param applyTimeFrom 开始时间
|
|
@ -89,15 +89,15 @@ public class JwPrescriptionService {
|
|
|
params.add(new BasicNameValuePair("applyTimeFrom", applyTimeFrom));
|
|
|
params.add(new BasicNameValuePair("applyTimeEnd", applyTimeEnd));
|
|
|
|
|
|
// String response = httpClientUtil.post(url, params, "UTF-8");
|
|
|
String response = httpClientUtil.post(url, params, "UTF-8");
|
|
|
|
|
|
String sql = "SELECT h.response from wlyy_http_log h WHERE h.id = 806287";
|
|
|
List<Map<String ,Object>> list = jdbcTemplate.queryForList(sql);
|
|
|
String response = list.get(0).get("response").toString();
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("status",200);
|
|
|
jsonObject.put("data",response);
|
|
|
response = jsonObject.toString();
|
|
|
// String sql = "SELECT h.response from wlyy_http_log h WHERE h.id = 806287";
|
|
|
// List<Map<String ,Object>> list = jdbcTemplate.queryForList(sql);
|
|
|
// String response = list.get(0).get("response").toString();
|
|
|
// JSONObject jsonObject = new JSONObject();
|
|
|
// jsonObject.put("status",200);
|
|
|
// jsonObject.put("data",response);
|
|
|
// response = jsonObject.toString();
|
|
|
return response;
|
|
|
}
|
|
|
|