|
@@ -78,10 +78,10 @@ public class DataService {
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
- * 医院代收
|
|
|
+ * 获取前置机报告
|
|
|
*/
|
|
|
public JSONObject getReport(String code) {
|
|
|
- String content = getWithUrl("http://192.168.31.10:874/df/view/executeSql?sqlstr=select * from reportinfo where 检查编号 = " + code);
|
|
|
+ String content = getWithUrl("http://192.168.31.10:874/df/view/executeSql?sqlstr=select * from reportinfo where 检查编号 = '" + code + "'");
|
|
|
JSONArray jsonArray = JSON.parseArray(content);
|
|
|
if (jsonArray.size()>0) {
|
|
|
JSONObject jsonObject = null;
|
|
@@ -95,14 +95,6 @@ public class DataService {
|
|
|
|
|
|
}
|
|
|
|
|
|
- /*
|
|
|
- * 医院代收
|
|
|
- */
|
|
|
- public String getReport2(String code) {
|
|
|
- String content = getWithUrl("http://192.168.31.10:874/df/view/executeSql?sqlstr=select * from reportinfo where 检查编号 = '" + code+"'");
|
|
|
- return content;
|
|
|
-
|
|
|
- }
|
|
|
|
|
|
public static String postWithParameters(String url, Map<String, String> map) {
|
|
|
|