critical = 1;
} else {
status = "X"; // No Connection
}
EntDbFltConnectSummary fltConxSummary = null;
fltConxSummary = clsDlFltConxSummaryBean.findExisting(arrUrno, depUrno);
if (fltConxSummary == null) {
fltConxSummary = new EntDbFltConnectSummary();
fltConxSummary.setCreatedDate(HpUfisCalendar
.getCurrentUTCTime());
fltConxSummary.setCreatedUser(HpEKConstants.PAX_ALERT_SOURCE);
// 2013-11-04 added by JGO - default decision
fltConxSummary.setConxDecBag(HpUfisAppConstants.CONX_DEC_NODC);
fltConxSummary.setConxDecPax(HpUfisAppConstants.CONX_DEC_NODC);
fltConxSummary.setConxDecUld(HpUfisAppConstants.CONX_DEC_NODC);
} else {
cmd = UfisASCommands.URT.name();
fltConxSummary.setUpdatedDate(HpUfisCalendar.getCurrentUTCTime());
fltConxSummary.setUpdatedUser(HpEKConstants.PAX_ALERT_SOURCE);
}
fltConxSummary.setIdArrFlight(arrUrno);
fltConxSummary.setIdDepFlight(depUrno);
fltConxSummary.setConxTime(new BigDecimal(timeDiff));
fltConxSummary.setConxStatPax(status);
// 2013-11-05 added by JGO - Adding status for bag and uld as well
fltConxSummary.setConxStatBag(status);
fltConxSummary.setConxStatUld(status);
EntDbFltConnectSummary entity = clsDlFltConxSummaryBean.merge(fltConxSummary);
if (entity != null) {
// call method to send NOTIFY message
sendNotifyMsg(entity, cmd);
LOG.info("Afttab msg has been processed. ArrURNO: <{}> DepURNO: <{}>",