...
|
...
|
@@ -143,8 +143,9 @@ func (dividendsReturnedOrderService *DividendsReturnedOrderService) CreateDivide |
|
|
}
|
|
|
|
|
|
// 查找合约
|
|
|
var cooperationContractsMap map[string]*domain.CooperationContract
|
|
|
cooperationContractsMap := make(map[string]*domain.CooperationContract)
|
|
|
if count, cooperationContracts, err := cooperationContractRepository.Find(map[string]interface{}{
|
|
|
"offsetLimit": false,
|
|
|
"companyId": createDividendsReturnedOrderCommand.CompanyId,
|
|
|
"orgId": createDividendsReturnedOrderCommand.OrgId,
|
|
|
}); err != nil {
|
...
|
...
|
@@ -366,7 +367,7 @@ func (dividendsReturnedOrderService *DividendsReturnedOrderService) ImportDivide |
|
|
}
|
|
|
|
|
|
// 查找合约
|
|
|
var cooperationContractsMap map[string]*domain.CooperationContract
|
|
|
cooperationContractsMap := make(map[string]*domain.CooperationContract)
|
|
|
countContracts, cooperationContracts, err := cooperationContractRepository.Find(map[string]interface{}{
|
|
|
"offsetLimit": false,
|
|
|
"companyId": importDividendsReturnedOrderCommand.CompanyId,
|
...
|
...
|
|