...
|
...
|
@@ -363,9 +363,12 @@ func (cooperationProjectService *CooperationProjectService) GetCooperationProjec |
|
|
// 判断项目关联的合约承接人类型
|
|
|
undertakers := make([]*domain.Undertaker, 0)
|
|
|
if countContracts, cooperationContracts, err := cooperationContractRepository.Find(map[string]interface{}{
|
|
|
"cooperationProjectNumber": cooperationProject.CooperationProjectNumber,
|
|
|
"companyId": cooperationProject.Company.CompanyId,
|
|
|
"orgId": cooperationProject.Org.OrgId,
|
|
|
"offsetLimit": false,
|
|
|
}); err != nil {
|
|
|
|
|
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
|
} else {
|
|
|
if countContracts > 0 {
|
|
|
for _, cooperationContract := range cooperationContracts {
|
...
|
...
|
|