Merge branch 'master_14.2.2' into asm_14.2.2
Former-commit-id:7dde6e1d04
[formerly d7b707236a1ee3bca45dee26c10814d9e3c275c8] Former-commit-id:ee7c67f7b0
This commit is contained in:
commit
cf49a7217f
1 changed files with 7 additions and 6 deletions
|
@ -476,7 +476,8 @@ public class PostShef {
|
|||
data.setCreationDateObj(d);
|
||||
data.setCreationDate("1970-01-01 00:00:00");
|
||||
}
|
||||
|
||||
|
||||
locId = data.getLocationId();
|
||||
String key = locId + prodId + data.getObservationTime();
|
||||
if (idLocations.containsKey(key)) {
|
||||
postLocData = idLocations.get(key);
|
||||
|
@ -2099,9 +2100,9 @@ public class PostShef {
|
|||
String telem = null;
|
||||
String sql = null;
|
||||
Object[] oa = null;
|
||||
|
||||
String key = locId + data.getPeTsE();
|
||||
try {
|
||||
if (!ingestSwitchMap.containsKey(locId)) {
|
||||
if (!ingestSwitchMap.containsKey(key)) {
|
||||
errorMsg.append("Error getting connection to IHFS Database");
|
||||
sql = "select lid, pe, dur, ts, extremum, ts_rank, ingest, ofs_input, stg2_input from IngestFilter where lid = '"
|
||||
+ locId + "'";
|
||||
|
@ -2138,11 +2139,11 @@ public class PostShef {
|
|||
}
|
||||
}
|
||||
|
||||
ingestSwitchMap.put(locId, ingestSwitch);
|
||||
ingestSwitchMap.put(key, ingestSwitch);
|
||||
}
|
||||
|
||||
matchFound = ingestSwitchMap.containsKey(locId);
|
||||
ingestSwitch = ingestSwitchMap.get(locId);
|
||||
matchFound = ingestSwitchMap.containsKey(key);
|
||||
ingestSwitch = ingestSwitchMap.get(key);
|
||||
|
||||
/*
|
||||
* if there is no ingest record for this entry, then check if the
|
||||
|
|
Loading…
Add table
Reference in a new issue