plat_workflow.go 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package workflow
  5. import (
  6. "dashoo.cn/opms_libary/request"
  7. )
  8. // BizType 业务类型(10客户20项目创建30合同创建)
  9. const (
  10. CustomerReceive = "11" // 领取公海客户
  11. CustomerPublic = "12" // 客户移回公海
  12. CustomerTrans = "13" // 转移客户
  13. ProjectCreate = "20" // 项目创建
  14. ProjectUpGrade = "21" // 项目升级审批
  15. ProjectDownGrade = "22" // 项目降级审批
  16. ProjectTransfer = "23" // 项目转移项目审批
  17. ProjectToReserve = "24" // 项目转为储备项目审批
  18. ProjectPersonnel = "25" // 项目协同人员审批
  19. ContractCreate = "30" // 合同创建
  20. ContractInvoice = "31" // 申请发票
  21. PlatTaskApproval = "40" // 督办任务审批
  22. DistProxyCreate = "51" // 创建代理商
  23. DistToProxy = "52" // 经销商转代理商
  24. DistProxyRenew = "53" // 代理商续签
  25. DistToDist = "54" // 代理商转经销商
  26. WorkOrderCreate = "61" // 支持工单创建
  27. DeliverOrderCreate = "62" // 交付工单创建
  28. BidCloseLoop = "63" // 招标信息闭环
  29. )
  30. // PlatWorkflow is the golang structure for table plat_workflow.
  31. type PlatWorkflow internal.PlatWorkflow
  32. // Fill with you ideas below.
  33. // SearchWorkflowReq 查询
  34. type SearchWorkflowReq struct {
  35. BizCode string `json:"bizCode"`
  36. BizType string `son:"bizType"`
  37. MySelf string `json:"mySelf"` // 不为0时,查询自己的数据;为0时,查询全部数据
  38. request.PageReq
  39. }