Class ContractStatusDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.ContractStatusDAO
-
Field Summary
Fields inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
COMMENT, DATE_1, DATE_2, dbInfo, jsonMapper, jsonTypeFactory, PARAMETERS, TITLE, transferData, user, VALUE
-
Constructor Summary
ConstructorDescriptionContractStatusDAO
(User user, String billingId) ContractStatusDAO
(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptionstatusList
(int contractId, Map<Integer, String> statusTitleMap) Возвращает список статусов договора с периодами.Лог изменений статуса договора.void
updateStatus
(int contractId, int statusId, Date dateFrom, Date dateTo, String comment) Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
doRequest, getDbInfo, getPage, getParameterId, getVersion, linesToString, readJsonValue, setPage
-
Constructor Details
-
ContractStatusDAO
-
ContractStatusDAO
-
-
Method Details
-
statusList
Возвращает список статусов договора с периодами.- Parameters:
contractId
-- Returns:
-
statusLog
Лог изменений статуса договора.- Parameters:
contractId
-- Returns:
-
updateStatus
-