fix
wangpengfei
2023-07-25 7f8a45a749419c3da5b81c4683f0b8034f5280f3
pkg/ecode/code.go
@@ -287,10 +287,11 @@
   DepartmentDeleteErr  = 4000006 // 删除部门失败
   DepartmentDeleteErr1 = 4000007 // 该部门下存在用户,无法删除
   VettingExist    = 4100001 // 审批已存在
   VettingNotExist = 4100002 // 审批不存在
   VettingListErr  = 4100003 // 获取审批列表失败
   VettingSetErr   = 4100004 // 设置审批失败
   VettingExist           = 4100001 // 审批已存在
   VettingNotExist        = 4100002 // 审批不存在
   VettingListErr         = 4100003 // 获取审批列表失败
   VettingSetErr          = 4100004 // 设置审批失败
   VettingNotBelongToUser = 4100005 // 审批不属于当前用户
   SatisfactionExist     = 4200001 // 满意度已存在
   SatisfactionNotExist  = 4200002 // 满意度不存在
@@ -328,11 +329,58 @@
   OrderTypeSetErr    = 4700004 // 设置工单类型失败
   OrderTypeUpdateErr = 4700005 // 更新工单类型失败
   ServiceContractStatusExist     = 4400001 // 服务合同状态已存在
   ServiceContractStatusExist     = 4800001 // 服务合同状态已存在
   ServiceContractStatusNotExist  = 4400002 // 服务合同状态不存在
   ServiceContractStatusListErr   = 4400003 // 获取服务合同状态列表失败
   ServiceContractStatusSetErr    = 4400004 // 设置服务合同状态失败
   ServiceContractStatusUpdateErr = 4400005 // 更新服务合同状态失败
   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 // 更新币种失败
)