task_finish_list_conditions.go 480 B

12345678910111213141516
  1. package pack
  2. import (
  3. "github.com/caixw/lib.go/conv"
  4. "youngee_m_api/model/common_model"
  5. "youngee_m_api/model/http_model"
  6. )
  7. func HttpTaskFinishListRequestToCondition(req *http_model.TaskFinishListRequest) *common_model.TalentConditions {
  8. return &common_model.TalentConditions{
  9. ProjectId: req.ProjectId,
  10. StrategyId: conv.MustInt64(req.StrategyId, 0),
  11. // TaskId: conv.MustString(req.TaskId),
  12. PlatformNickname: conv.MustString(req.PlatformNickname, ""),
  13. }
  14. }