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 // 满意度不存在
@@ -352,11 +353,34 @@
   IsInvoiceSetErr    = 5100004 // 设置是否开票失败
   IsInvoiceUpdateErr = 5100005 // 更新是否开票失败
   AccountIdExist     = 5200001 // 账户已存在
   AccountIdNotExist  = 5200002 // 账户不存在
   AccountIdListErr   = 5200003 // 获取账户列表失败
   AccountIdSetErr    = 5200004 // 设置账户失败
   AccountIdUpdateErr = 5200005 // 更新账户失败
   AccountIdExist     = 5000001 // 账户已存在
   AccountIdNotExist  = 5000002 // 账户不存在
   AccountIdListErr   = 5000003 // 获取账户列表失败
   AccountIdSetErr    = 5000004 // 设置账户失败
   AccountIdUpdateErr = 5000005 // 更新账户失败
   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 // 更新币种失败
)