|
@@ -8,9 +8,6 @@ import com.jfinal.plugin.activerecord.Record;
|
|
import com.jfinal.plugin.cron4j.ITask;
|
|
import com.jfinal.plugin.cron4j.ITask;
|
|
import com.zskk.model.Doctors;
|
|
import com.zskk.model.Doctors;
|
|
import com.zskk.model.Exams;
|
|
import com.zskk.model.Exams;
|
|
-import com.zskk.model.Report;
|
|
|
|
-import com.zskk.service.ServiceFactory;
|
|
|
|
-import com.zskk.service.WeixinService;
|
|
|
|
|
|
|
|
import java.io.BufferedReader;
|
|
import java.io.BufferedReader;
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
@@ -39,9 +36,9 @@ public class DataTask implements ITask {
|
|
if (record == null) {
|
|
if (record == null) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- Report report = new Report().use("zskk");
|
|
|
|
- report.setId(creatId());
|
|
|
|
- report.setReportDatetime(parseStringToDate(record.getStr("reportdate")));
|
|
|
|
|
|
+ //Report report = new Report().use("zskk");
|
|
|
|
+ //report.setId(creatId());
|
|
|
|
+ //report.setReportDatetime(parseStringToDate(record.getStr("reportdate")));
|
|
if (record.getStr("impression") == null && record.getStr("description") == null) {
|
|
if (record.getStr("impression") == null && record.getStr("description") == null) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
@@ -102,8 +99,8 @@ public class DataTask implements ITask {
|
|
exams2.setExamClass(record.getStr("modality"));
|
|
exams2.setExamClass(record.getStr("modality"));
|
|
exams2.setExamStatus(9);
|
|
exams2.setExamStatus(9);
|
|
exams2.update();*/
|
|
exams2.update();*/
|
|
- WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
|
|
- wService.requestWeixinQrcode(report.getId());;
|
|
|
|
|
|
+ //WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
|
|
+ //wService.requestWeixinQrcode(report.getId());;
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
// TODO: handle exception
|
|
// TODO: handle exception
|