|
@@ -23,13 +23,13 @@ public class ReCMoveTask implements ITask {
|
|
|
return;
|
|
|
}
|
|
|
//2小时到2天内的检查重新获取
|
|
|
- List<Record> studyidfinds = Db.use("local").find("select * from study where status =3 and modalities='CT' and modalities='MR' and createAt between ? and ? order by createAt asc", parseStringToDateTo(), parseStringToDateFrom());
|
|
|
+ List<Record> studyidfinds = Db.use("local").find("select * from study where status =3 and createAt between ? and ? and (modalities like '%CT%' or modalities like '%MR%') order by createAt asc", parseStringToDateTo(), parseStringToDateFrom());
|
|
|
if (studyidfinds == null) {
|
|
|
return;
|
|
|
}
|
|
|
for (Record studyidfind : studyidfinds) {
|
|
|
flag++;
|
|
|
- if (flag > 10) {
|
|
|
+ if (flag > 8) {
|
|
|
return;
|
|
|
}
|
|
|
//状态4:下载中
|