|
@ -948,6 +948,9 @@ public class FollowUpService extends BaseService {
|
|
|
followupMapping.setNeedUpload(1);
|
|
|
followUpMappingDao.save(followupMapping);
|
|
|
}
|
|
|
|
|
|
|
|
|
jestClient.shutdownClient();
|
|
|
}
|
|
|
|
|
|
/**
|
|
@ -969,6 +972,8 @@ public class FollowUpService extends BaseService {
|
|
|
.build();
|
|
|
SearchResult result = jestClient.execute(search);
|
|
|
FollowupContentESDO followupContentESDO = result.getSourceAsObject(FollowupContentESDO.class);
|
|
|
|
|
|
jestClient.shutdownClient();
|
|
|
return followupContentESDO;
|
|
|
}
|
|
|
|
|
@ -991,6 +996,7 @@ public class FollowUpService extends BaseService {
|
|
|
|
|
|
logger.info("delete data count:" + datalist.size());
|
|
|
logger.info("delete flag:" + br.isSucceeded());
|
|
|
jestClient.shutdownClient();
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@ -1029,6 +1035,7 @@ public class FollowUpService extends BaseService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
jestClient.shutdownClient();
|
|
|
return resultList;
|
|
|
}
|
|
|
|
|
@ -1057,6 +1064,7 @@ public class FollowUpService extends BaseService {
|
|
|
|
|
|
List<FollowupContentESDO> followupContentESDOList = new ArrayList<>();
|
|
|
|
|
|
jestClient.shutdownClient();
|
|
|
return followupContentESDOList;
|
|
|
}
|
|
|
|