|
@@ -77,7 +77,7 @@ public class ViewController extends Controller {
|
|
|
|
|
|
public void sd() {
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
- List<Record> records = Db.use("connected").find("select top 1500 * from reportcheck order by checktime desc");
|
|
|
+ List<Record> records = Db.use("connected").find("select top 2000 * from reportcheck order by checktime desc");
|
|
|
for (Record record : records) {
|
|
|
try {
|
|
|
if (record == null) {
|
|
@@ -131,10 +131,10 @@ public class ViewController extends Controller {
|
|
|
params.put("report_result", "0");
|
|
|
// 门诊号住院号
|
|
|
params.put("hopitalized_no", "");
|
|
|
- ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
|
|
|
- tService.execute(() -> {
|
|
|
- dService.saveReport(params);
|
|
|
- });
|
|
|
+// ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
|
|
|
+// tService.execute(() -> {
|
|
|
+ dService.saveReport(params);
|
|
|
+// });
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
// TODO: handle exception
|