|
Record studyidfind = Db.use("local").findFirst("select * from study where studyuid = ?",
|
|
Record studyidfind = Db.use("local").findFirst("select * from study where studyuid = ?",
|
|
|
|
+ Record studyinfo = new Record().set("id", jsonObject.getString("id")).set("studyuid", jsonObject.getString("studyuid")).set("modalities", jsonObject.getString("exam_class"))
|
|
.set("patientNum", jsonObject.getString("patient_num")).set("accessionNumber", jsonObject.getString("accession_num")).set("examstatus", 0).set("reportstatus", 0).set("createAt", parseStringToDateTime()).set("updateAt", parseStringToDateTime());
|
|
.set("patientNum", jsonObject.getString("patient_num")).set("accessionNumber", jsonObject.getString("accession_num")).set("examstatus", 0).set("reportstatus", 0).set("createAt", parseStringToDateTime()).set("updateAt", parseStringToDateTime());
|
|
Db.use("local").save("study", studyinfo);
|
|
Db.use("local").save("study", studyinfo);
|