|
@@ -13,7 +13,7 @@ public class CGetTask implements ITask {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
- Record studyidfind = Db.use("local").findFirst("select * from study order by PatientStudyDate asc");
|
|
|
+ Record studyidfind = Db.use("local").findFirst("select * from study order by createAt asc");
|
|
|
String execCmd = ExecUtil.execCmd("/zskk_system/other/cget.sh " + studyidfind.getStr("studyuid"));
|
|
|
studyidfind.set("status", 2);
|
|
|
Db.use("local").update("study", studyidfind);
|