|
@@ -26,7 +26,8 @@ public class UpdateTask implements ITask {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
|
Record record = Db.use("connected").findFirst("select * from v_Yyx where accnum=?", jsonObject.getString("patient_num"));
|
|
|
if (record == null) {
|
|
|
- continue;
|
|
|
+ record = Db.use("connected").findFirst("select * from v_Yyx where name=? and ", jsonObject.getString("name"),jsonObject.getString("exam_datetime"));
|
|
|
+;
|
|
|
}
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
params.put("exam_id", jsonObject.getString("id"));
|