|
@@ -68,7 +68,7 @@ public class ViewController extends Controller {
|
|
|
try {
|
|
|
//延迟10分钟获取影像,并且查找状态为待CMOVE和错误状态的检查
|
|
|
// List<Record> studyidfinds = Db.use("local").find("select * from study where status =1 and createAt<? order by createAt asc limit 1",parseStringToDate2());
|
|
|
- List<Record> studyidfinds = Db.use("local").find("select * from study where status =1 order by createAt asc limit 1");
|
|
|
+ List<Record> studyidfinds = Db.use("local").find("select * from study where status =1 asc limit 1");
|
|
|
|
|
|
if (studyidfinds == null) {
|
|
|
return;
|
|
@@ -104,7 +104,7 @@ public class ViewController extends Controller {
|
|
|
|
|
|
//延迟10分钟获取影像,并且查找状态为待CMOVE和错误状态的检查
|
|
|
// List<Record> studyidfindsde = Db.use("local").find("select * from study where status =1 or status =2 and createAt<? order by createAt desc limit 1",parseStringToDate2());
|
|
|
- List<Record> studyidfindsde = Db.use("local").find("select * from study where status =1 or status =2 order by createAt desc limit 1");
|
|
|
+ List<Record> studyidfindsde = Db.use("local").find("select * from study where status =1 or status =2 limit 1");
|
|
|
|
|
|
if (studyidfindsde == null) {
|
|
|
return;
|