刘韬 před 3 roky
rodič
revize
52aefc6c0e

+ 2 - 0
DataFusion/src/com/zskk/control/ViewController.java

@@ -123,6 +123,8 @@ public class ViewController extends Controller {
 			Db.use("connected").update("examinfo", recordei);
 			Db.use("connected").update("reportcheck", recordrc);
 			Db.use("connected").update("reportinfo", recordri);
+    		renderText("succeed");
+
         	} catch (Exception e) {
 				// TODO: handle exception
 //        		continue;

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

@@ -71,7 +71,7 @@ public class DataService {
     	map.put("institution_id", PropKit.get("institution_id"));
     	map.put("start", start);
     	map.put("finish", finish);
-		String content = postWithParameters(RETURN_BIND_URL, map);
+		String content = getWithUrl(RETURN_BIND_URL, map);
 	    JSONObject jsonObject = JSON.parseObject(content);
 	    if (!jsonObject.getString("msg").equals("success")) {
 			return null;