刘韬 5 years ago
parent
commit
d1bffc696a

+ 1 - 1
DataFusion/src/com/zskk/control/ViewController.java

@@ -42,7 +42,7 @@ public class ViewController extends Controller {
 	public void doone() {
 		try {
 			DataService dService = new DataService();
-//	        JSONArray jsonArray = dService.getExamList(10);	
+	        dService.getExamList(10);	
 //	        for (Object object : jsonArray) {
 //				JSONObject jsonObject = JSON.parseObject(object.toString());
 //				Record record = Db.use("connected").findFirst("select * from viewname where accessionNumber=?", jsonObject.getString("accession_num"));

+ 1 - 1
DataFusion/src/com/zskk/service/DataService.java

@@ -31,7 +31,7 @@ public class DataService {
     public JSONArray getExamList(Integer number) {
     	Map <String,String> map = new HashMap<String,String>();
     	map.put("institution_id", "02800001");
-    	map.put("num", "30");
+    	map.put("num", "10");
 		String content = postWithParameters(GET_EXAM_URL, map);
 	    JSONObject jsonObject = JSON.parseObject(content);
 	    if (!jsonObject.getString("msg").equals("success")) {