合同管理接口文档:创建、更新、删除、查询
/**
* 创建合同
*
* @param contractRequest
* @throws Exception
*/
public void createContract(ContractRequest contractRequest) throws Exception;
/**
* 修订合同内容
*
* @param contractRequest
* @throws Exception
*/
public void updateContract(ContractRequest contractRequest) throws Exception;
/**
* 删除合同
*
* @param uuid
* @throws Exception
*/
public void deleteContract(String uuid) throws Exception;
/**
* 根据合同UUID查询合同信息
*
* @param contractUuid
* @return
* @throws Exception
*/
public ContractResponse getContractByUuid(String contractUuid) throws Exception;
/**
* 根据投资人UUID查询合同列表
*
* @param investorUuid
* @return
* @throws Exception
*/
public List<ContractResponse> getContractListByInvestorUuid(String investorUuid) throws Exception;
/**
* 获取投资人合同数量
*
* @param investorUuid
* @return
* @throws Exception
*/
public Integer getContractCountByInvestorUuid(String investorUuid) throws Exception;
/**
* 根据投资人UUID分页查询合同列表
*
* @param investorUuid
* @param page
* @return
* @throws Exception
*/
public Page<ContractResponse> getContractListByInvestorUuid(String investorUuid, Page<ContractResponse> page) throws Exception;
/**
* 根据合同UUID查询合同订单
*
* @param contractUuid
* @return
* @throws Exception
*/
public List<OrderResponse> getOrderListByContractUuid(String contractUuid) throws Exception;
/**
* 根据合同UUID查询投资人信息
*
* @param contractUuid
* @return
* @throws Exception
*/
public InvestorBaseAccountResponse getInvestorBaseAccountByContractUuid(String contractUuid) throws Exception;
}```
原文地址: https://www.cveoy.top/t/topic/ll1t 著作权归作者所有。请勿转载和采集!