|
@@ -21,9 +21,9 @@ public class InfoTask implements ITask {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
- List<Record> records = Db.use("local").find("select * from examinfo where STUDYTIME>?",parseStringToDate());
|
|
|
+ List<Record> records = Db.use("connected").find("select * from examinfo where STUDYTIME>?",parseStringToDate());
|
|
|
for (Record record : records) {
|
|
|
- Record recordfind = Db.use("local").findFirst("select * from examinfo where ACCESSIONNUMBER=?",record.getStr("ACCESSIONNUMBER"));
|
|
|
+ Record recordfind = Db.use("local").findFirst("select * from study where accessionNumber=?",record.getStr("ACCESSIONNUMBER"));
|
|
|
if (recordfind!=null) {
|
|
|
continue;
|
|
|
}
|