|
@@ -22,14 +22,14 @@ public class DataTask implements ITask {
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
- JSONArray jsonArray = dService.getExamList(50);
|
|
|
+ JSONArray jsonArray = dService.getExamList(80);
|
|
|
for (Object object : jsonArray) {
|
|
|
JSONObject jsonObject = JSON.parseObject(object.toString());
|
|
|
Record record = Db.use("connected").findFirst("select * from reportinfo_NEW where studyuid=?", jsonObject.getString("studyuid"));
|
|
|
if (record == null) {
|
|
|
continue;
|
|
|
}
|
|
|
- if (record.getStr("reviewdoctor").isBlank() || record.getStr("impression") == null || record.getStr("description") == null) {
|
|
|
+ if (record.getStr("reviewdoctor").isBlank()) {
|
|
|
continue;
|
|
|
}
|
|
|
Map<String, String> params = new HashMap<>();
|