Skip to content

Commit

Permalink
fix: update code enum content
Browse files Browse the repository at this point in the history
  • Loading branch information
Jzow committed Nov 29, 2023
1 parent ffa39a5 commit b1f9f27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public enum FinancialCodeEnum {

DELETE_ACCOUNT_ERROR("F0502", "删除账户失败"),

UPDATE_ACCOUNT_STATUS_SUCCESS("F0004", "修改账号状态成功"),
UPDATE_ACCOUNT_STATUS_SUCCESS("F0004", "账户状态修改成功"),

UPDATE_ACCOUNT_STATUS_ERROR("F0503", "修改账号状态失败"),
UPDATE_ACCOUNT_STATUS_ERROR("F0503", "账户状态修改失败"),

ADD_ADVANCE_SUCCESS("F0005", "新增预收款成功"),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ package com.wansenai.utils.enums
*/
enum class CustomerCodeEnum(val code: String, val msg: String) {

ADD_CUSTOMER_SUCCESS("U0001", "供应商添加成功"),
ADD_CUSTOMER_ERROR("U0500", "供应商添加失败"),
ADD_CUSTOMER_SUCCESS("U0001", "客户添加成功"),
ADD_CUSTOMER_ERROR("U0500", "客户添加失败"),

UPDATE_CUSTOMER_SUCCESS("U0002", "供应商修改成功"),
UPDATE_CUSTOMER_ERROR("U0501", "供应商修改失败"),
UPDATE_CUSTOMER_SUCCESS("U0002", "客户资料修改成功"),
UPDATE_CUSTOMER_ERROR("U0501", "客户资料修改失败"),

DELETE_CUSTOMER_SUCCESS("U0003", "供应商删除成功"),
DELETE_CUSTOMER_ERROR("U0504", "供应商删除失败"),
DELETE_CUSTOMER_SUCCESS("U0003", "客户删除成功"),
DELETE_CUSTOMER_ERROR("U0504", "客户删除失败"),

UPDATE_CUSTOMER_STATUS_SUCCESS("U0004", "供应商状态修改成功"),
UPDATE_CUSTOMER_STATUS_ERROR("U0505", "供应商状态修改失败")
UPDATE_CUSTOMER_STATUS_SUCCESS("U0004", "客户状态修改成功"),
UPDATE_CUSTOMER_STATUS_ERROR("U0505", "客户状态修改失败")
}

0 comments on commit b1f9f27

Please sign in to comment.