public class BeelineSimCardSellingDAO
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
| Constructor and Description |
|---|
BeelineSimCardSellingDAO() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SellingOffice> |
getSellingOffices()
Возвращает список офисов продаж с хотя бы одной сим-картой на продажу
|
int |
getSimCardGroupId(java.lang.String simCardPhoneNumber) |
java.util.List<SimCard> |
getSimCardsByOffice(int officeId) |
void |
setSimCardAsSold(java.lang.String phoneNum,
int processId)
Закрепляет за симкартой номер процесса продажи, тем самым помечая её как проданную
|
public java.util.List<SimCard> getSimCardsByOffice(int officeId) throws BGException
BGExceptionpublic java.util.List<SellingOffice> getSellingOffices() throws BGException
BGExceptionpublic int getSimCardGroupId(java.lang.String simCardPhoneNumber)
throws BGException
BGExceptionpublic void setSimCardAsSold(java.lang.String phoneNum,
int processId)
throws BGException
phoneNum - номер телефона симкартыprocessId - id процесса продажиBGException