|
@@ -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() {
|