|
@@ -245,6 +245,7 @@ func (*project) GetPorjectDetail(ctx context.Context, projectID int64) (*http_mo
|
|
FollowersUp: conv.MustString(strategy.FollowersUp),
|
|
FollowersUp: conv.MustString(strategy.FollowersUp),
|
|
RecruitNumber: conv.MustString(strategy.RecruitNumber),
|
|
RecruitNumber: conv.MustString(strategy.RecruitNumber),
|
|
Offer: conv.MustString(strategy.Offer),
|
|
Offer: conv.MustString(strategy.Offer),
|
|
|
|
+ WaitingNumber: strategy.WaitingNumber,
|
|
}
|
|
}
|
|
ProjectDetail.RecruitStrategys = append(ProjectDetail.RecruitStrategys, RecruitStrategy)
|
|
ProjectDetail.RecruitStrategys = append(ProjectDetail.RecruitStrategys, RecruitStrategy)
|
|
}
|
|
}
|
|
@@ -263,7 +264,7 @@ func (*project) GetPorjectDetail(ctx context.Context, projectID int64) (*http_mo
|
|
return &ProjectDetail, nil
|
|
return &ProjectDetail, nil
|
|
}
|
|
}
|
|
|
|
|
|
-func (*project) GetProjectTalentList(ctx context.Context, projectID string, pageSize, pageNum int64, conditions *common_model.TaskConditions) (*http_model.ProjectTalentListData, error) {
|
|
|
|
|
|
+func (*project) GetProjectTalentList(ctx context.Context, projectID string, pageSize, pageNum int64, conditions *common_model.TalentConditions) (*http_model.ProjectTalentListData, error) {
|
|
projectTalents, total, err := db.GetProjectTalentList(ctx, projectID, pageSize, pageNum, conditions)
|
|
projectTalents, total, err := db.GetProjectTalentList(ctx, projectID, pageSize, pageNum, conditions)
|
|
if err != nil {
|
|
if err != nil {
|
|
logrus.WithContext(ctx).Errorf("[project service] call GetProjectTalentList error,err:%+v", err)
|
|
logrus.WithContext(ctx).Errorf("[project service] call GetProjectTalentList error,err:%+v", err)
|