刘韬 2 years ago
parent
commit
dd5ce1a80f
1 changed files with 6 additions and 4 deletions
  1. 6 4
      DataFusion/src/com/zskk/control/ViewController.java

+ 6 - 4
DataFusion/src/com/zskk/control/ViewController.java

@@ -120,15 +120,17 @@ public class ViewController extends Controller {
 				params.put("hopitalized_no", "");
 				params.put("exam_project", record.getStr("project"));
 
-				ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
-				tService.execute(() -> {
+//				ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
+//				tService.execute(() -> {
 					dService.updatePatientInfo(params);
-				});
+//				});
 			} catch (Exception e) {
 				// TODO: handle exception
-				continue;
+//				continue;
+				renderText(e.toString());
 			}
 		}
+		renderJson(jsonArray);
 	}
 
 	public void testConn() {