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