task_finish_list_conditions.go 532 B

12345678910111213141516171819
  1. package pack
  2. import (
  3. "fmt"
  4. "youngee_b_api/model/common_model"
  5. "youngee_b_api/model/http_model"
  6. "github.com/issue9/conv"
  7. )
  8. func HttpTaskFinishListRequestToCondition(req *http_model.TaskFinishListRequest) *common_model.TalentConditions {
  9. fmt.Printf("初稿转换 %+v", req)
  10. return &common_model.TalentConditions{
  11. ProjectId: conv.MustInt64(req.ProjectId),
  12. StrategyIds: conv.MustString(req.StrategyIds),
  13. // TaskId: conv.MustString(req.TaskId),
  14. PlatformNickname: conv.MustString(req.PlatformNickname),
  15. }
  16. }