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