枚举修改

This commit is contained in:
taozi
2022-01-28 22:59:04 +08:00
parent 5ccc963b2d
commit 519fc82dbc
2 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@ import java.util.stream.Stream;
@AllArgsConstructor @AllArgsConstructor
public enum OrderInfoEnum { public enum OrderInfoEnum {
STATUS_ne1(-1,"申请退款"), STATUS_NE1(-1,"申请退款"),
STATUS_ne2(-2,"退款成功"), STATUS_NE2(-2,"退款成功"),
STATUS_0(0,"默认"), STATUS_0(0,"默认"),
STATUS_1(1,"待收货"), STATUS_1(1,"待收货"),
STATUS_2(2,"已收货"), STATUS_2(2,"已收货"),

View File

@ -90,7 +90,7 @@ public class StoreAfterSalesServiceImpl extends BaseServiceImpl<StoreAfterSalesM
} }
} }
//更新订单状态 //更新订单状态
yxStoreOrder.setStatus(-1); yxStoreOrder.setStatus(OrderInfoEnum.STATUS_NE1.getValue());
yxStoreOrder.setRefundStatus(OrderInfoEnum.REFUND_STATUS_1.getValue()); yxStoreOrder.setRefundStatus(OrderInfoEnum.REFUND_STATUS_1.getValue());
yxStoreOrder.setRefundReasonWap(storeAfterSalesParam.getReasonForApplication()); yxStoreOrder.setRefundReasonWap(storeAfterSalesParam.getReasonForApplication());
yxStoreOrder.setRefundReasonWapExplain(storeAfterSalesParam.getApplicationInstructions()); yxStoreOrder.setRefundReasonWapExplain(storeAfterSalesParam.getApplicationInstructions());