Class CerberCryptDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO
ru.bgcrm.plugin.bgbilling.proto.dao.CerberCryptDAO
-
Field Summary
Fields inherited from class BillingModuleDAO
moduleIdFields inherited from class BillingDAO
dbInfo, jsonMapper, jsonTypeFactory, transferData, user -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondealerList(Date dateFrom, Date dateTo, String title) getCardPackets(int contractId, int cardId) getCardPackets(int contractId, int cardId, Date date) Selects packets for the specified card on the specified dategetPacketList(boolean virtualCinema) getUserCardList(int contractId, boolean includeSlaveCards) voidupdateCardPacket(int contractId, int id, int cardNumebr, int packetId, String dateFrom, String dateTo) voidupdateUserCard(UserCard userCard) Methods inherited from class BillingModuleDAO
getModuleId, setModuleIdMethods inherited from class BillingDAO
doRequest, getDbInfo, getPage, getVersion, linesToString, readJsonValue, setPage
-
Constructor Details
-
CerberCryptDAO
-
-
Method Details
-
getFreeCards
-
getUserCardList
-
getCardPackets
Selects packets for the specified card on the specified date- Parameters:
contractId- the contract IDcardId- the card IDdate- the date to output packets for, must not benull- Returns:
- the card packets
-
getCardPackets
-
updateCardPacket
public void updateCardPacket(int contractId, int id, int cardNumebr, int packetId, String dateFrom, String dateTo) throws BGMessageException - Throws:
BGMessageException
-
getPacketList
-
updateUserCard
-
dealerList
-