|
@@ -24,7 +24,7 @@ public class UpdateTask implements ITask {
|
|
|
for (Object object : jsonArray) {
|
|
|
try {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
|
- Record record = Db.use("connected").findFirst("select * from v_Yyx where accnum=?", jsonObject.getString("accession_num"));
|
|
|
+ Record record = Db.use("connected").findFirst("select * from v_Yyx where accnum=?", jsonObject.getString("patient_num"));
|
|
|
if (record == null) {
|
|
|
continue;
|
|
|
}
|