// tifa or tifd in range (range: -3 ~ +3, Local to UTC: -4)
HpUfisCalendar ufisCalendarFrom = new HpUfisCalendar();
ufisCalendarFrom.DateAdd(-7, EnumTimeInterval.Hours);
HpUfisCalendar ufisCalendarTo = new HpUfisCalendar();
ufisCalendarTo.DateAdd(-1, EnumTimeInterval.Hours);
queryStr.append(" AND ");
queryStr.append("((a.tifa between :fromDate and :endDate) or (a.tifd between :fromDate and :endDate))");
Query query = em.createQuery(queryStr.toString());
if (HpUfisUtils.isNotEmptyStr(carrier) && carrier.length() == 2) {