|
@@ -31,7 +31,7 @@ public class NewStudyTask implements ITask {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
- List<Record> studys = Db.use("connected").find("select * from (select * from reportinfo where REPORTDATE is not null order by REPORTDATE desc) where rownum <20");
|
|
|
+ List<Record> studys = Db.use("connected").find("select * from (select * from reportinfo where REPORTDATE is not null order by REPORTDATE desc) where rownum <50");
|
|
|
for (Record record : studys) {
|
|
|
Record studyidfind = Db.use("local").findFirst("select * from study where studyuid = ?", record.getStr("STUDYUID"));
|
|
|
if (studyidfind == null) {
|