|
@@ -21,7 +21,7 @@ public class DataTask implements ITask {
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
- JSONArray jsonArray = dService.getExamList(50);
|
|
|
+ JSONArray jsonArray = dService.getExamList(80);
|
|
|
for (Object object : jsonArray) {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
|
Record record = Db.use("connected").findFirst("select * from reportinfo where accessionNumber=?", jsonObject.getString("accession_num"));
|
|
@@ -38,11 +38,11 @@ public class DataTask implements ITask {
|
|
|
//报告时间
|
|
|
params.put("report_datetime", record.getStr("reportdate"));
|
|
|
//审核医生姓名
|
|
|
- params.put("review_doctor_name", record.getStr("reviewdoctor"));
|
|
|
+ params.put("review_doctor_name", record.getStr("reviewdoctor")==null?record.getStr("reportdoctor"):"");
|
|
|
//审核时间
|
|
|
params.put("review_datetime", record.getStr("reportdate"));
|
|
|
//确认医生姓名
|
|
|
- params.put("confirm_doctor_name", record.getStr("reviewdoctor"));
|
|
|
+ params.put("confirm_doctor_name", record.getStr("reviewdoctor")==null?record.getStr("reportdoctor"):"");
|
|
|
//确认时间
|
|
|
params.put("confirm_datetime", record.getStr("reportdate"));
|
|
|
//意见建议
|