|
@@ -22,7 +22,7 @@ public class UpdateTask implements ITask {
|
|
|
// TODO Auto-generated method stub
|
|
|
// TODO Auto-generated method stub
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
- JSONArray jsonArray = dService.getExamList(10);
|
|
|
+ JSONArray jsonArray = dService.getExamList(20);
|
|
|
for (Object object : jsonArray) {
|
|
|
try {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
@@ -32,27 +32,7 @@ public class UpdateTask implements ITask {
|
|
|
}
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
//1:exam_id 2:patient_num 3:accession_num 4:study_uid
|
|
|
- params.put("type", "1");
|
|
|
-
|
|
|
- params.put("institution_id", PropKit.get("institution_id"));
|
|
|
-
|
|
|
- params.put("code", jsonObject.getString("id"));
|
|
|
- //报告医生姓名
|
|
|
- params.put("report_doctor_name", "");
|
|
|
- //报告时间
|
|
|
- params.put("report_datetime", parseStringToDate());
|
|
|
- //审核医生姓名
|
|
|
- params.put("review_doctor_name", "");
|
|
|
- //审核时间
|
|
|
- params.put("review_datetime", parseStringToDate());
|
|
|
- //确认医生姓名
|
|
|
- params.put("confirm_doctor_name", "");
|
|
|
- //确认时间
|
|
|
- params.put("confirm_datetime", parseStringToDate());
|
|
|
- //意见建议
|
|
|
- params.put("impression", "");
|
|
|
- //影像所见
|
|
|
- params.put("description", "");
|
|
|
+ params.put("exam_id", jsonObject.getString("id"));
|
|
|
//exams表
|
|
|
//申请科室
|
|
|
params.put("application_department", record.getStr("department"));
|