|
@@ -242,14 +242,14 @@ func (d LocalLifeTaskInfoDao) GetLocalLifeInfoByTalentId(talentid string, others
|
|
return nil, 0, err
|
|
return nil, 0, err
|
|
}
|
|
}
|
|
|
|
|
|
- // 选择字段(明确指定表名)
|
|
|
|
|
|
+ //// 选择字段(明确指定表名)
|
|
query = query.Select(`
|
|
query = query.Select(`
|
|
- youngee_local_task_info.local_id,
|
|
|
|
- youngee_local_task_info.task_id,
|
|
|
|
- ylli.local_name,
|
|
|
|
- youngee_local_task_info.commit_avg,
|
|
|
|
|
|
+ youngee_local_task_info.local_id,
|
|
|
|
+ youngee_local_task_info.task_id,
|
|
|
|
+ ylli.local_name,
|
|
|
|
+ youngee_local_task_info.commit_avg,
|
|
youngee_local_task_info.collect_num,
|
|
youngee_local_task_info.collect_num,
|
|
- youngee_local_task_info.vote_avg,`)
|
|
|
|
|
|
+ youngee_local_task_info.vote_avg`)
|
|
|
|
|
|
// 分页查询
|
|
// 分页查询
|
|
offset := (page - 1) * pageSize
|
|
offset := (page - 1) * pageSize
|