Class ContractHierarchyDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.ContractHierarchyDAO
-
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
ConstructorDescriptionContractHierarchyDAO
(User user, String billingId) ContractHierarchyDAO
(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubcontract
(int superContractId, int subContractId) Добавляет субдоговор на родительский договор.void
addSubcontract
(int superContractId, int subContractId, int subMode) contractSubcontractList
(int contractId) contractSupercontract
(int contractId) getSubContracts
(int contractId) Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
doRequest, getDbInfo, getPage, getParameterId, getVersion, linesToString, readJsonValue, setPage
-
Constructor Details
-
ContractHierarchyDAO
- Throws:
BGException
-
ContractHierarchyDAO
- Throws:
BGException
-
-
Method Details
-
getSubContracts
- Throws:
BGException
-
addSubcontract
Добавляет субдоговор на родительский договор.- Parameters:
superContractId
- id родительского договора.subContractId
- id субдоговора.- Throws:
BGException
-
addSubcontract
- Throws:
BGException
-
contractSubcontractList
- Throws:
BGException
-
contractSupercontract
- Throws:
BGException
-