Class BeelineSimCardSellingDAO

java.lang.Object
ru.bgcrm.dao.beeline.BeelineSimCardSellingDAO

public class BeelineSimCardSellingDAO extends Object
  • Field Details

    • log

      protected static ru.bgcrm.logging.Logger log
  • Constructor Details

    • BeelineSimCardSellingDAO

      public BeelineSimCardSellingDAO()
  • Method Details

    • getSimCardsByOffice

      public List<SimCard> getSimCardsByOffice(int officeId) throws BGException
      Throws:
      BGException
    • getSellingOffices

      public List<SellingOffice> getSellingOffices() throws BGException
      Возвращает список офисов продаж с хотя бы одной сим-картой на продажу
      Throws:
      BGException
    • getSimCardGroupId

      public int getSimCardGroupId(String simCardPhoneNumber) throws BGException
      Throws:
      BGException
    • setSimCardAsSold

      public void setSimCardAsSold(String phoneNum, int processId) throws BGException
      Закрепляет за симкартой номер процесса продажи, тем самым помечая её как проданную
      Parameters:
      phoneNum - номер телефона симкарты
      processId - id процесса продажи
      Throws:
      BGException