...
|
...
|
@@ -55,14 +55,18 @@ func (controller *CooperationProjectController) GetCooperationProject() { |
|
|
cooperationProjectService := service.NewCooperationProjectService(nil)
|
|
|
getCooperationProjectQuery := &query.GetCooperationProjectQuery{}
|
|
|
header := controller.GetRequestHeader(controller.Ctx)
|
|
|
getCooperationProjectQuery.CompanyId = header.CompanyId
|
|
|
getCooperationProjectQuery.OrgId = header.OrgId
|
|
|
//getCooperationProjectQuery.CompanyId = header.CompanyId
|
|
|
//getCooperationProjectQuery.OrgId = header.OrgId
|
|
|
getCooperationProjectQuery.UserId = header.UserId
|
|
|
getCooperationProjectQuery.UserBaseId = header.UserBaseId
|
|
|
cooperationProjectId, _ := controller.GetInt64(":cooperationProjectId")
|
|
|
getCooperationProjectQuery.CooperationProjectId = cooperationProjectId
|
|
|
cooperationProjectNumber := controller.GetString("cooperationProjectNumber")
|
|
|
getCooperationProjectQuery.CooperationProjectNumber = cooperationProjectNumber
|
|
|
companyId, _ := controller.GetInt64("companyId")
|
|
|
getCooperationProjectQuery.CompanyId = companyId
|
|
|
orgId, _ := controller.GetInt64("orgId")
|
|
|
getCooperationProjectQuery.OrgId = orgId
|
|
|
data, err := cooperationProjectService.GetCooperationProject(getCooperationProjectQuery)
|
|
|
controller.Response(data, err)
|
|
|
}
|
...
|
...
|
|