...
|
...
|
@@ -41,7 +41,7 @@ type CooperationProjectInfo struct { |
|
|
UsersId int `json:"userId,string"`
|
|
|
} `json:"userInfo"`
|
|
|
} `json:"cooperationProjectSponsor"` //项目发起人
|
|
|
CooperationProjectUndertakerType []int `json:"cooperationProjectUndertakerTypes"` //共创合约承接对象,1员工,2共创用户,3公开
|
|
|
CooperationProjectUndertakerType []int `json:"cooperationProjectUndertakerType"` //共创合约承接对象,1员工,2共创用户,3公开
|
|
|
Department struct {
|
|
|
DepartmentNumber string `json:"departmentNumber"`
|
|
|
DepartmentId int `json:"departmentId,string,"`
|
...
|
...
|
@@ -79,16 +79,17 @@ type CooperationApplicationItem struct { |
|
|
Company domain.CompanyData `json:"company"`
|
|
|
Department domain.Department `json:"department"`
|
|
|
Org domain.Org `json:"org"`
|
|
|
UserBaseID int `json:"userBaseId"`
|
|
|
UserID int `json:"userId"`
|
|
|
UserBaseID int `json:"userBaseId,string"`
|
|
|
UserID int `json:"userId,string"`
|
|
|
UserInfo domain.UserInfo `json:"userInfo"`
|
|
|
UserType int `json:"userType"`
|
|
|
} `json:"cooperationApplicationApplicant"` //申请人
|
|
|
CooperationApplicationDescription string `json:"cooperationApplicationDescription"` //描述
|
|
|
CooperationApplicationID int `json:"cooperationApplicationId"` //申请id
|
|
|
CooperationApplicationID int `json:"cooperationApplicationId,string"` //申请id
|
|
|
CooperationApplicationStatus int `json:"cooperationApplicationStatus"` //状态
|
|
|
CooperationApplyTime int `json:"cooperationApplyTime"` //申请时间
|
|
|
CooperationApplicationAttachment []domain.Attachment `json:"cooperationApplicationAttachment"` //附件
|
|
|
CooperationApplicationVerifyTime int `json:"cooperationApplicationVerifyTime"`
|
|
|
}
|
|
|
|
|
|
func ToCooperationApplicationItem(param *allied_creation_cooperation.CooperationApplication) *CooperationApplicationItem {
|
...
|
...
|
@@ -97,8 +98,9 @@ func ToCooperationApplicationItem(param *allied_creation_cooperation.Cooperation |
|
|
CooperationApplicationDescription: param.CooperationApplicationDescription,
|
|
|
CooperationApplicationID: applicationID,
|
|
|
CooperationApplicationStatus: param.CooperationApplicationStatus,
|
|
|
CooperationApplyTime: int(param.CooperationApplyTime),
|
|
|
CooperationApplyTime: param.CooperationApplyTime,
|
|
|
CooperationApplicationAttachment: param.CooperationApplicationAttachment,
|
|
|
CooperationApplicationVerifyTime: param.CooperationApplicationVerifyTime,
|
|
|
}
|
|
|
data.CooperationApplicationApplicant.Company.CompanyID = param.Company.CompanyID
|
|
|
data.CooperationApplicationApplicant.Company.CompanyName = param.Company.CompanyName
|
...
|
...
|
|