From ee3b89acf0575b6b4185707153f5a1624e15e46a Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Sat, 7 Jan 2023 23:52:39 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=AE=A2=E5=8D=95=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=9E=9A=E4=B8=BE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oms/common}/enums/OrderStatusEnum.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) rename mall-oms/{oms-api/src/main/java/com/youlai/mall/oms => oms-boot/src/main/java/com/youlai/mall/oms/common}/enums/OrderStatusEnum.java (61%) diff --git a/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/OrderStatusEnum.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/common/enums/OrderStatusEnum.java similarity index 61% rename from mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/OrderStatusEnum.java rename to mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/common/enums/OrderStatusEnum.java index bf6f00f56..6a790c861 100644 --- a/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/OrderStatusEnum.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/common/enums/OrderStatusEnum.java @@ -1,4 +1,4 @@ -package com.youlai.mall.oms.enums; +package com.youlai.mall.oms.common.enums; import com.youlai.common.base.IBaseEnum; import lombok.Getter; @@ -14,30 +14,30 @@ public enum OrderStatusEnum implements IBaseEnum { /** * 待付款 */ - WAIT_PAY(1, "待付款"), + UNPAID(0, "待付款"), /** - * 待发货 + * 已付款(待发货) */ - WAIT_SHIPPING(2, "待发货"), + PAID(1, "已付款"), /** * 已发货 */ - SHIPPED(3, "已发货"), + SHIPPED(2, "已发货"), /** * 已完成 */ - FINISHED(4, "已完成"), - /** - * 已关闭(退款完成) - */ - CLOSED(5, "已关闭"), + COMPLETE(3, "已完成"), /** * 已取消 */ - CANCELED(6, "已取消"); + CANCELED(4, "已取消"), + /** + * 售后中 + */ + SERVICING(5, "售后中") + ; - - OrderStatusEnum(int value, String label) { + OrderStatusEnum(Integer value, String label) { this.value = value; this.label = label; }