|
...
|
...
|
@@ -2,12 +2,12 @@ package protocol |
|
|
|
|
|
|
|
//ProviderData 成果提供者
|
|
|
|
type AchievementProvider struct {
|
|
|
|
Id int64 `json:"id"` //前端需要的唯一id标识,使用user_department表的id
|
|
|
|
UserCompanyId int64 `json:"user_company_id"` //用户的id
|
|
|
|
UserName string `json:"user_name"`
|
|
|
|
DepartmentId int64 `json:"department_id"` //部门id
|
|
|
|
DepartmentName string `json:"department_name"`
|
|
|
|
UserGraspScore float64 `json:"user_grasp_score"` //把握人得分
|
|
|
|
UserDepartmentId int64 `json:"user_department_id"` //前端需要的唯一id标识,使用user_department表的id
|
|
|
|
UserCompanyId int64 `json:"user_company_id"` //用户的id
|
|
|
|
UserName string `json:"user_name"`
|
|
|
|
DepartmentId int64 `json:"department_id"` //部门id
|
|
|
|
DepartmentName string `json:"department_name"`
|
|
|
|
UserGraspScore float64 `json:"user_grasp_score"` //把握人得分
|
|
|
|
}
|
|
|
|
|
|
|
|
//AchievementChance 成果的机会列表
|
|
...
|
...
|
@@ -79,11 +79,12 @@ type ResponseAchievementInfo struct { |
|
|
|
DepartmentId int64 `json:"department_id"` //把握人的部门
|
|
|
|
DeparmentName string `json:"department_name"`
|
|
|
|
UserCompanyId int64 `json:"user_company_id"` //把握人的id
|
|
|
|
UserName string `json:"user_name"`
|
|
|
|
GraspScore float64 `json:"grasp_score"` //把握分
|
|
|
|
UserGraspScore float64 `json:"user_grasp_score"` //把握人总得分
|
|
|
|
Provider []AchievementProvider `json:"provider"` //机会提供者
|
|
|
|
SourceContent string `json:"source_content"` //成果描述文本
|
|
|
|
Images []AchievementImage `json:"image"` //图片
|
|
|
|
NickName string `json:"nick_name"`
|
|
|
|
UserDepartmentId int64 `json:"user_department_id"` //前端需要的把握人唯一id标识
|
|
|
|
GraspScore float64 `json:"grasp_score"` //把握分
|
|
|
|
UserGraspScore float64 `json:"user_grasp_score"` //把握人总得分
|
|
|
|
Provider []AchievementProvider `json:"provider"` //机会提供者
|
|
|
|
SourceContent string `json:"source_content"` //成果描述文本
|
|
|
|
Images []AchievementImage `json:"image"` //图片
|
|
|
|
CrreateAt string `json:"create_at"`
|
|
|
|
} |
...
|
...
|
|