|
@ -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 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 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();
|
|
|
return response;
|
|
|
}
|
|
|
|