|
@@ -91,12 +91,12 @@ public class ViewController extends Controller {
|
|
if (record == null) {
|
|
if (record == null) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
-// Report report = new Report().use("zskk");
|
|
|
|
-// report.setId(creatId());
|
|
|
|
-// report.setReportDatetime(parseStringToDate(record.getStr("REPORTDATE")));
|
|
|
|
-// if (record.getStr("IMPRESSION") == null && record.getStr("DESCRIPTION") == null) {
|
|
|
|
-// continue;
|
|
|
|
-// }
|
|
|
|
|
|
+ Report report = new Report().use("zskk");
|
|
|
|
+ report.setId(creatId());
|
|
|
|
+ report.setReportDatetime(parseStringToDate(record.getStr("REPORTDATE")));
|
|
|
|
+ if (record.getStr("IMPRESSION") == null && record.getStr("DESCRIPTION") == null) {
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
// report.setImpression(record.getStr("IMPRESSION"));
|
|
// report.setImpression(record.getStr("IMPRESSION"));
|
|
// report.setDescription(record.getStr("DESCRIPTION"));
|
|
// report.setDescription(record.getStr("DESCRIPTION"));
|
|
// report.setExamId(exams2.getId());
|
|
// report.setExamId(exams2.getId());
|
|
@@ -116,7 +116,7 @@ public class ViewController extends Controller {
|
|
// exams2.setApplicationDoctor(record.getStr("CLINICALDOCTOR"));
|
|
// exams2.setApplicationDoctor(record.getStr("CLINICALDOCTOR"));
|
|
// exams2.setExamStatus(9);
|
|
// exams2.setExamStatus(9);
|
|
// exams2.update();
|
|
// exams2.update();
|
|
-// d.add(record);
|
|
|
|
|
|
+ d.add(record);
|
|
// WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
// WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
// wService.requestWeixinQrcode(report.getId());
|
|
// wService.requestWeixinQrcode(report.getId());
|
|
}
|
|
}
|