刘韬 3 years ago
parent
commit
9caa4ce90d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      DataFusion/src/com/zskk/task/InfoTask.java

+ 2 - 2
DataFusion/src/com/zskk/task/InfoTask.java

@@ -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;
 			}