|
@@ -100,6 +100,11 @@ public class DBDataTask implements ITask {
|
|
|
tService.execute(() -> {
|
|
|
dService.saveReport(params);
|
|
|
});
|
|
|
+ Record studyidfind = Db.use("local").findFirst("select * from study where studyuid = ?", jsonObject.getString("studyuid"));
|
|
|
+ if (studyidfind != null) {
|
|
|
+ studyidfind.set("status", 5);
|
|
|
+ Db.use("local").update("study", studyidfind);
|
|
|
+ }
|
|
|
} catch (Exception e) {
|
|
|
// TODO: handle exception
|
|
|
continue;
|