Package com.ufis_as.ek_if.acts_ods.entities

Examples of com.ufis_as.ek_if.acts_ods.entities.EntDbFltJobAssign


  }

  @Override
  public void deleteCrewFltAssign(EntDbFltJobAssign fltJobAssign) {
    EntDbFltJobAssign crewAssignment = dlFltJobAssignLocal.findCrewFlight(
        fltJobAssign.getFlightNumber(), fltJobAssign.getIdFlight(),
        fltJobAssign.getFltDate(), fltJobAssign.getStaffNumber());
    crewAssignment.setRecStatus("X");
    dlFltJobAssignLocal.updateCrewFlightAssign(crewAssignment);
  }
View Full Code Here


    // return upFltJobAssign;
  }

  @Override
  public EntDbFltJobAssign findCrewFlight(String fltNum, long fltId, Date fltDate, String staffNum) {
    EntDbFltJobAssign entity = null;
    Query query = em
        .createQuery("SELECT e FROM EntDbFltJobAssign e WHERE e.flightNumber = :fltNum AND e.idFlight=:fltId AND e.fltDate=:fltDate AND e.staffNumber=:staffNumber AND e.dataSource=:dataSource AND e.recStatus <> :recStatus");
    query.setParameter("fltNum", fltNum);
    query.setParameter("fltId", fltId);
    query.setParameter("fltDate", fltDate);
View Full Code Here

  }

  @Override
  public EntDbFltJobAssign getAssignedCrewIdByFlight(BigDecimal idFlight, String staffNum) {

    EntDbFltJobAssign entResult = null;
    try {
      Query query = em.createNamedQuery("EntDbFltJobAssign.findAssignedCrewByFlidAndStaffNum");
      query.setParameter("idFlight", idFlight.longValue());
      query.setParameter("staffNumber", staffNum);
      query.setParameter("dataSource", HpEKConstants.ACTS_DATA_SOURCE);
View Full Code Here

TOP

Related Classes of com.ufis_as.ek_if.acts_ods.entities.EntDbFltJobAssign

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.