fix
wangpengfei
2023-07-25 7f8a45a749419c3da5b81c4683f0b8034f5280f3
pkg/ecode/code.go
@@ -253,4 +253,134 @@
   ServiceFollowupSetErr    = 3500004 // 设置服务跟进失败
   ServiceFollowupUpdateErr = 3500005 // 更新服务跟进失败
   ServiceFollowupDeleteErr = 3500006 // 删除服务跟进失败
   CustomerServiceSheetExist     = 3600001 // 客服单已存在
   CustomerServiceSheetNotExist  = 3600002 // 客服单不存在
   CustomerServiceSheetListErr   = 3600003 // 获取客服单列表失败
   CustomerServiceSheetSetErr    = 3600004 // 设置客服单失败
   CustomerServiceSheetUpdateErr = 3600005 // 更新客服单失败
   CustomerServiceSheetDeleteErr = 3600006 // 删除客服单失败
   ServiceFeeManageExist     = 3700001 // 服务费管理已存在
   ServiceFeeManageNotExist  = 3700002 // 服务费管理不存在
   ServiceFeeManageListErr   = 3700003 // 获取服务费管理列表失败
   ServiceFeeManageSetErr    = 3700004 // 设置服务费管理失败
   ServiceFeeManageUpdateErr = 3700005 // 更新服务费管理失败
   ServiceFeeManageDeleteErr = 3700006 // 删除服务费管理失败
   RoleExist      = 3800001 // 角色已存在
   RoleNotExist   = 3800002 // 角色不存在
   RoleListErr    = 3800003 // 获取角色列表失败
   RoleSetErr     = 3800004 // 设置角色失败
   RoleUpdateErr  = 3800005 // 更新角色失败
   RoleDeleteErr  = 3800006 // 删除角色失败
   RoleDeleteErr1 = 3800007 // 该角色下存在用户,无法删除
   MenuListErr         = 3900001 // 获取菜单列表失败
   SetMenuAuthorityErr = 3900002 // 设置菜单权限失败
   DepartmentExist      = 4000001 // 部门已存在
   DepartmentNotExist   = 4000002 // 部门不存在
   DepartmentListErr    = 4000003 // 获取部门列表失败
   DepartmentSetErr     = 4000004 // 设置部门失败
   DepartmentUpdateErr  = 4000005 // 更新部门失败
   DepartmentDeleteErr  = 4000006 // 删除部门失败
   DepartmentDeleteErr1 = 4000007 // 该部门下存在用户,无法删除
   VettingExist           = 4100001 // 审批已存在
   VettingNotExist        = 4100002 // 审批不存在
   VettingListErr         = 4100003 // 获取审批列表失败
   VettingSetErr          = 4100004 // 设置审批失败
   VettingNotBelongToUser = 4100005 // 审批不属于当前用户
   SatisfactionExist     = 4200001 // 满意度已存在
   SatisfactionNotExist  = 4200002 // 满意度不存在
   SatisfactionListErr   = 4200003 // 获取满意度列表失败
   SatisfactionSetErr    = 4200004 // 设置满意度失败
   SatisfactionUpdateErr = 4200005 // 更新满意度失败
   TimelyRateExist     = 4300001 // 及时率已存在
   TimelyRateNotExist  = 4300002 // 及时率不存在
   TimelyRateListErr   = 4300003 // 获取及时率列表失败
   TimelyRateSetErr    = 4300004 // 设置及时率失败
   TimelyRateUpdateErr = 4300005 // 更新及时率失败
   SolveRateExist     = 4400001 // 解决率已存在
   SolveRateNotExist  = 4400002 // 解决率不存在
   SolveRateListErr   = 4400003 // 获取解决率列表失败
   SolveRateSetErr    = 4400004 // 设置解决率失败
   SolveRateUpdateErr = 4400005 // 更新解决率失败
   IsVisitExist     = 4500001 // 服务人员是否来过已存在
   IsVisitNotExist  = 4500002 // 服务人员是否来过不存在
   IsVisitListErr   = 4500003 // 获取服务人员是否来过列表失败
   IsVisitSetErr    = 4500004 // 设置服务人员是否来过失败
   IsVisitUpdateErr = 4500005 // 更新服务人员是否来过失败
   ReportSourceExist     = 4600001 // 报表来源已存在
   ReportSourceNotExist  = 4600002 // 报表来源不存在
   ReportSourceListErr   = 4600003 // 获取报表来源列表失败
   ReportSourceSetErr    = 4600004 // 设置报表来源失败
   ReportSourceUpdateErr = 4600005 // 更新报表来源失败
   OrderTypeExist     = 4700001 // 工单类型已存在
   OrderTypeNotExist  = 4700002 // 工单类型不存在
   OrderTypeListErr   = 4700003 // 获取工单类型列表失败
   OrderTypeSetErr    = 4700004 // 设置工单类型失败
   OrderTypeUpdateErr = 4700005 // 更新工单类型失败
   ServiceContractStatusExist     = 4800001 // 服务合同状态已存在
   ServiceContractStatusNotExist  = 4400002 // 服务合同状态不存在
   ServiceContractStatusListErr   = 4800003 // 获取服务合同状态列表失败
   ServiceContractStatusSetErr    = 4800004 // 设置服务合同状态失败
   ServiceContractStatusUpdateErr = 4800005 // 更新服务合同状态失败
   ServiceContractTypeExist     = 4900001 // 服务合同类型已存在
   ServiceContractTypeNotExist  = 4900002 // 服务合同类型不存在
   ServiceContractTypeListErr   = 4900003 // 获取服务合同类型列表失败
   ServiceContractTypeSetErr    = 4900004 // 设置服务合同类型失败
   ServiceContractTypeUpdateErr = 4900005 // 更新服务合同类型失败
   RefundMethodExist     = 5000001 // 退款方式已存在
   RefundMethodNotExist  = 5000002 // 退款方式不存在
   RefundMethodListErr   = 5000003 // 获取退款方式列表失败
   RefundMethodSetErr    = 5000004 // 设置退款方式失败
   RefundMethodUpdateErr = 5000005 // 更新退款方式失败
   IsInvoiceExist     = 5100001 // 是否开票已存在
   IsInvoiceNotExist  = 5100002 // 是否开票不存在
   IsInvoiceListErr   = 5100003 // 获取是否开票列表失败
   IsInvoiceSetErr    = 5100004 // 设置是否开票失败
   IsInvoiceUpdateErr = 5100005 // 更新是否开票失败
   AccountIdExist     = 5200001 // 账户已存在
   AccountIdNotExist  = 5200002 // 账户不存在
   AccountIdListErr   = 5200003 // 获取账户列表失败
   AccountIdSetErr    = 5200004 // 设置账户失败
   AccountIdUpdateErr = 5200005 // 更新账户失败
   SalesReturnStatusExist     = 5300001 // 退货单状态已存在
   SalesReturnStatusNotExist  = 5300002 // 退货单状态不存在
   SalesReturnStatusListErr   = 5300003 // 获取退货单状态列表失败
   SalesReturnStatusSetErr    = 5300004 // 设置退货单状态失败
   SalesReturnStatusUpdateErr = 5300005 // 更新退货单状态失败
   RepositoryExist     = 5400001 // 退货仓库已存在
   RepositoryNotExist  = 5400002 // 退货仓库不存在
   RepositoryListErr   = 5400003 // 获取退货仓库列表失败
   RepositorySetErr    = 5400004 // 设置退货仓库失败
   RepositoryUpdateErr = 5400005 // 更新退货仓库失败
   QuotationStatusExist     = 5500001 // 报价单状态已存在
   QuotationStatusNotExist  = 5500002 // 报价单状态不存在
   QuotationStatusListErr   = 5500003 // 获取报价单状态列表失败
   QuotationStatusSetErr    = 5500004 // 设置报价单状态失败
   QuotationStatusUpdateErr = 5500005 // 更新报价单状态失败
   CurrencyExist     = 5600001 // 币种已存在
   CurrencyNotExist  = 5600002 // 币种不存在
   CurrencyListErr   = 5600003 // 获取币种列表失败
   CurrencySetErr    = 5600004 // 设置币种失败
   CurrencyUpdateErr = 5600005 // 更新币种失败
)