...
|
...
|
@@ -164,94 +164,80 @@ type ( |
|
|
// 用户基础数据id
|
|
|
UserBaseId int64 `cname:"用户基础数据ID" json:"userBaseId"`
|
|
|
}
|
|
|
|
|
|
DataCooperationProjectSearchItem struct {
|
|
|
CooperationProjectID string `json:"cooperationProjectId"`
|
|
|
CooperationProjectNumber string `json:"cooperationProjectNumber"`
|
|
|
CooperationProjectDescription string `json:"cooperationProjectDescription"`
|
|
|
CooperationProjectName string `json:"cooperationProjectName"`
|
|
|
CooperationProjectPublishTime jtime.TimeToUnixMsec `json:"cooperationProjectPublishTime"`
|
|
|
CooperationProjectPublisher struct {
|
|
|
UserID string `json:"userId"`
|
|
|
UserBaseID string `json:"userBaseId"`
|
|
|
Department interface{} `json:"department"`
|
|
|
UserInfo struct {
|
|
|
UserAvatar string `json:"userAvatar"`
|
|
|
UserEmail string `json:"userEmail"`
|
|
|
UserName string `json:"userName"`
|
|
|
UserPhone string `json:"userPhone"`
|
|
|
UserAccount string `json:"userAccount"`
|
|
|
} `json:"userInfo"`
|
|
|
//UserType int `json:"userType"`
|
|
|
//UserName string `json:"userName"`
|
|
|
//UserPhone string `json:"userPhone"`
|
|
|
//Status int `json:"status"`
|
|
|
} `json:"cooperationProjectPublisher"`
|
|
|
CooperationProjectSponsor struct {
|
|
|
UserID string `json:"userId"`
|
|
|
UserBaseID string `json:"userBaseId"`
|
|
|
Department interface{} `json:"department"`
|
|
|
UserInfo struct {
|
|
|
UserAvatar string `json:"userAvatar"`
|
|
|
UserEmail string `json:"userEmail"`
|
|
|
UserName string `json:"userName"`
|
|
|
UserPhone string `json:"userPhone"`
|
|
|
UserAccount string `json:"userAccount"`
|
|
|
} `json:"userInfo"`
|
|
|
} `json:"cooperationProjectSponsor"`
|
|
|
CooperationMode struct {
|
|
|
CooperationModeId int `json:"cooperationModeId,string"`
|
|
|
CooperationModeName string `json:"cooperationModeName"`
|
|
|
CooperationModeNumber string `json:"cooperationModeNumber"`
|
|
|
} `json:"cooperationMode"` //项目模式
|
|
|
Department struct {
|
|
|
DepartmentID string `json:"departmentId"`
|
|
|
DepartmentName string `json:"departmentName"`
|
|
|
DepartmentNumber string `json:"departmentNumber"`
|
|
|
} `json:"department"`
|
|
|
CooperationProjectUndertakerTypes []int `json:"cooperationProjectUndertakerTypes"`
|
|
|
CooperationProjectUndertakerType []int `json:"cooperationProjectUndertakerType"`
|
|
|
Org struct {
|
|
|
OrgID string `json:"orgId"`
|
|
|
OrgName string `json:"orgName"`
|
|
|
} `json:"org"`
|
|
|
Attachment interface{} `json:"attachment"`
|
|
|
Company struct {
|
|
|
CompanyID string `json:"companyId"`
|
|
|
CompanyLogo string `json:"companyLogo"`
|
|
|
CompanyName string `json:"companyName"`
|
|
|
} `json:"company"`
|
|
|
Operator struct {
|
|
|
UserID string `json:"userId"`
|
|
|
UserBaseID string `json:"userBaseId"`
|
|
|
Department interface{} `json:"department"`
|
|
|
UserInfo struct {
|
|
|
UserAvatar string `json:"userAvatar"`
|
|
|
UserEmail string `json:"userEmail"`
|
|
|
UserName string `json:"userName"`
|
|
|
UserPhone string `json:"userPhone"`
|
|
|
UserAccount string `json:"userAccount"`
|
|
|
} `json:"userInfo"`
|
|
|
} `json:"operator"`
|
|
|
//OperateTime time.Time `json:"operateTime"`
|
|
|
Status int `json:"status"`
|
|
|
}
|
|
|
DataCooperationProjectSearch struct {
|
|
|
//Total int64 `json:"total"`
|
|
|
//List []CooperationProject `json:"cooperationProjects"`
|
|
|
List []struct {
|
|
|
CooperationProjectID string `json:"cooperationProjectId"`
|
|
|
CooperationProjectNumber string `json:"cooperationProjectNumber"`
|
|
|
CooperationProjectDescription string `json:"cooperationProjectDescription"`
|
|
|
CooperationProjectName string `json:"cooperationProjectName"`
|
|
|
CooperationProjectPublishTime jtime.TimeToUnixMsec `json:"cooperationProjectPublishTime"`
|
|
|
CooperationProjectPublisher struct {
|
|
|
UserID string `json:"userId"`
|
|
|
UserBaseID string `json:"userBaseId"`
|
|
|
Department interface{} `json:"department"`
|
|
|
UserInfo struct {
|
|
|
UserAvatar string `json:"userAvatar"`
|
|
|
UserEmail string `json:"userEmail"`
|
|
|
UserName string `json:"userName"`
|
|
|
UserPhone string `json:"userPhone"`
|
|
|
UserAccount string `json:"userAccount"`
|
|
|
} `json:"userInfo"`
|
|
|
//UserType int `json:"userType"`
|
|
|
//UserName string `json:"userName"`
|
|
|
//UserPhone string `json:"userPhone"`
|
|
|
//Status int `json:"status"`
|
|
|
} `json:"cooperationProjectPublisher"`
|
|
|
CooperationProjectSponsor struct {
|
|
|
UserID string `json:"userId"`
|
|
|
UserBaseID string `json:"userBaseId"`
|
|
|
Department interface{} `json:"department"`
|
|
|
UserInfo struct {
|
|
|
UserAvatar string `json:"userAvatar"`
|
|
|
UserEmail string `json:"userEmail"`
|
|
|
UserName string `json:"userName"`
|
|
|
UserPhone string `json:"userPhone"`
|
|
|
UserAccount string `json:"userAccount"`
|
|
|
} `json:"userInfo"`
|
|
|
//UserType int `json:"userType"`
|
|
|
//UserName string `json:"userName"`
|
|
|
//UserPhone string `json:"userPhone"`
|
|
|
//Status int `json:"status"`
|
|
|
} `json:"cooperationProjectSponsor"`
|
|
|
CooperationMode struct {
|
|
|
CooperationModeId int `json:"cooperationModeId,string"`
|
|
|
CooperationModeName string `json:"cooperationModeName"`
|
|
|
CooperationModeNumber string `json:"cooperationModeNumber"`
|
|
|
} `json:"cooperationMode"` //项目模式
|
|
|
Department struct {
|
|
|
DepartmentID string `json:"departmentId"`
|
|
|
DepartmentName string `json:"departmentName"`
|
|
|
DepartmentNumber string `json:"departmentNumber"`
|
|
|
//IsOrganization bool `json:"isOrganization"`
|
|
|
} `json:"department"`
|
|
|
CooperationProjectUndertakerTypes []int `json:"cooperationProjectUndertakerTypes"`
|
|
|
CooperationProjectUndertakerType []int `json:"cooperationProjectUndertakerType"`
|
|
|
Org struct {
|
|
|
OrgID string `json:"orgId"`
|
|
|
OrgName string `json:"orgName"`
|
|
|
} `json:"org"`
|
|
|
Attachment interface{} `json:"attachment"`
|
|
|
Company struct {
|
|
|
CompanyID string `json:"companyId"`
|
|
|
CompanyLogo string `json:"companyLogo"`
|
|
|
CompanyName string `json:"companyName"`
|
|
|
} `json:"company"`
|
|
|
Operator struct {
|
|
|
UserID string `json:"userId"`
|
|
|
UserBaseID string `json:"userBaseId"`
|
|
|
Department interface{} `json:"department"`
|
|
|
UserInfo struct {
|
|
|
UserAvatar string `json:"userAvatar"`
|
|
|
UserEmail string `json:"userEmail"`
|
|
|
UserName string `json:"userName"`
|
|
|
UserPhone string `json:"userPhone"`
|
|
|
UserAccount string `json:"userAccount"`
|
|
|
} `json:"userInfo"`
|
|
|
//UserType int `json:"userType"`
|
|
|
//UserName string `json:"userName"`
|
|
|
//UserPhone string `json:"userPhone"`
|
|
|
//Status int `json:"status"`
|
|
|
} `json:"operator"`
|
|
|
//OperateTime time.Time `json:"operateTime"`
|
|
|
Status int `json:"status"`
|
|
|
//UpdatedAt time.Time `json:"updatedAt"`
|
|
|
//DeletedAt time.Time `json:"deletedAt"`
|
|
|
//CreatedAt time.Time `json:"createdAt"`
|
|
|
} `json:"list"`
|
|
|
Total int `json:"total"`
|
|
|
List []DataCooperationProjectSearchItem `json:"list"`
|
|
|
Total int `json:"total"`
|
|
|
}
|
|
|
)
|
|
|
|
...
|
...
|
|