|
@@ -21,7 +21,7 @@ public class UpdateTask implements ITask {
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
- JSONArray jsonArray = dService.getExamList(30);
|
|
|
+ JSONArray jsonArray = dService.getExamList(10);
|
|
|
for (Object object : jsonArray) {
|
|
|
try {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
@@ -53,6 +53,8 @@ public class UpdateTask implements ITask {
|
|
|
params.put("out_patient", record.getStr("outPatientNum"));
|
|
|
//检查方法
|
|
|
params.put("exam_project", record.getStr("project"));
|
|
|
+ //病人ID
|
|
|
+ params.put("his_patient_id", record.getStr("patientid"));
|
|
|
ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
|
|
|
tService.execute(() -> {
|
|
|
dService.updatePatientInfo(params);
|