public class BillDocumentDao extends AbstractBillDao
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BILL_DATA_FIELDS |
con, moduleId, moduleSetup, setup, tableName
Constructor and Description |
---|
BillDocumentDao(Setup setup,
ParameterMap moduleSetup,
java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
static <B> java.util.List<B> |
getBillDocumentList(java.sql.Connection con,
int moduleId,
java.lang.String table,
int contractId,
Page page,
java.util.function.Function<java.sql.ResultSet,B> converter)
Временный метод для поддержки двух разных классов Bill без copy-paste.
|
java.util.List<BillDocument> |
list(int contractId,
Page page)
Возвращает список Bill
|
public static final java.lang.String BILL_DATA_FIELDS
public BillDocumentDao(Setup setup, ParameterMap moduleSetup, java.sql.Connection con, int moduleId)
public static <B> java.util.List<B> getBillDocumentList(java.sql.Connection con, int moduleId, java.lang.String table, int contractId, Page page, java.util.function.Function<java.sql.ResultSet,B> converter)
cid
- - ContractIDpublic java.util.List<BillDocument> list(int contractId, Page page) throws ru.bitel.bgbilling.common.BGException
cid
- - ContractIDru.bitel.bgbilling.common.BGException