public class ContractStatusMonitorDao extends ru.bitel.common.dao.AbstractDao<MonitorStatusResult>
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
BALANCE_DUMP_TABLE |
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, logger, mid, moduleId, orderByPattern, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_WHERE, tableName
Constructor and Description |
---|
ContractStatusMonitorDao(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
SearchResult<MonitorStatusResult> |
contractSearch(int saldoShowMode,
int saldoAccountMonths,
float serviceAccountMaxValue,
java.lang.String serviceAccountMaxServices,
java.lang.String status,
int mode,
int subContract,
int balanceLimit,
int balancePrevLimit,
int statusPeriod,
java.lang.String statusPeriodUnit,
long group,
long notGroup,
java.lang.String saldoFrom,
java.lang.String saldoTo,
java.math.BigDecimal saldoAcconuntsMore,
java.lang.String sort,
Page page) |
java.util.Calendar |
createBalanceDump() |
protected MonitorStatusResult |
getFromRS(java.sql.ResultSet rs) |
protected void |
updateImpl(MonitorStatusResult b)
Этот метод каждый реализует сам со своей логикой.
|
protected static final java.lang.String BALANCE_DUMP_TABLE
public ContractStatusMonitorDao(java.sql.Connection con)
public java.util.Calendar createBalanceDump() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public SearchResult<MonitorStatusResult> contractSearch(int saldoShowMode, int saldoAccountMonths, float serviceAccountMaxValue, java.lang.String serviceAccountMaxServices, java.lang.String status, int mode, int subContract, int balanceLimit, int balancePrevLimit, int statusPeriod, java.lang.String statusPeriodUnit, long group, long notGroup, java.lang.String saldoFrom, java.lang.String saldoTo, java.math.BigDecimal saldoAcconuntsMore, java.lang.String sort, Page page) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(MonitorStatusResult b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDao
updateImpl
in class ru.bitel.common.dao.AbstractDao<MonitorStatusResult>
b
- экземпляр моделиru.bitel.bgbilling.common.BGException
- ошибкиjava.sql.SQLException
- ошибкиprotected MonitorStatusResult getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<MonitorStatusResult>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException