|
@@ -35,7 +35,7 @@ public class CMoveTask implements ITask {
|
|
|
flag = 1;
|
|
|
}
|
|
|
}
|
|
|
- if (studyidfind.getStr("device") == null) {
|
|
|
+ if (studyidfind.getStr("device").isBlank()) {
|
|
|
Record dRecord = Db.use("connected").findFirst("select * from reportinfo where STUDYUID = ?",
|
|
|
studyidfind.getStr("STUDYUID"));
|
|
|
String deviceString = "";
|
|
@@ -47,7 +47,7 @@ public class CMoveTask implements ITask {
|
|
|
Db.use("local").update("study", studyidfind);
|
|
|
|
|
|
}
|
|
|
- if (flag == 1 && studyidfind.getStr("device")!=null && (!studyidfind.getStr("device").equals("Achieva 3.0T") || !studyidfind.getStr("device").equals("联影 40排CT"))) {
|
|
|
+ if (flag == 1 && !studyidfind.getStr("device").isBlank() && (!studyidfind.getStr("device").equals("Achieva 3.0T") || !studyidfind.getStr("device").equals("联影 40排CT"))) {
|
|
|
studyidfind.set("status", 5);
|
|
|
studyidfind.set("updateAt", parseStringToDateTime());
|
|
|
Db.use("local").update("study", studyidfind);
|