...
|
...
|
@@ -80,7 +80,6 @@ func (contractUndertakerFeedbackService *ContractUndertakerFeedbackService) Crea |
|
|
organization = data
|
|
|
}
|
|
|
|
|
|
// 获取项目合约信息
|
|
|
var cooperationContractRepository domain.CooperationContractRepository
|
|
|
if value, err := factory.CreateCooperationContractRepository(map[string]interface{}{
|
|
|
"transactionContext": transactionContext,
|
...
|
...
|
@@ -89,7 +88,13 @@ func (contractUndertakerFeedbackService *ContractUndertakerFeedbackService) Crea |
|
|
} else {
|
|
|
cooperationContractRepository = value
|
|
|
}
|
|
|
cooperationContract, err := cooperationContractRepository.FindOne(map[string]interface{}{"cooperationContractNumber": createContractUndertakerFeedbackCommand.CooperationContractNumber})
|
|
|
|
|
|
// 获取项目合约信息
|
|
|
cooperationContract, err := cooperationContractRepository.FindOne(map[string]interface{}{
|
|
|
"cooperationContractNumber": createContractUndertakerFeedbackCommand.CooperationContractNumber,
|
|
|
"companyId": createContractUndertakerFeedbackCommand.CompanyId,
|
|
|
"orgId": createContractUndertakerFeedbackCommand.OrgId,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "共创合约不存在")
|
|
|
}
|
...
|
...
|
|