记得上下班打卡 | git大法好,push需谨慎

Commit b76df422 authored by 胡佳晨's avatar 胡佳晨

订单详情 退款逻辑修改

退款订单列表 状态文档
parent 6c3018a9
...@@ -44,7 +44,7 @@ public class GoblinBackOrderVo implements Serializable, Cloneable { ...@@ -44,7 +44,7 @@ public class GoblinBackOrderVo implements Serializable, Cloneable {
private List<GoblinBackOrderSkuVo> backOrderSkuVos; private List<GoblinBackOrderSkuVo> backOrderSkuVos;
@ApiModelProperty(value = "类型[1-退款|2-退货]") @ApiModelProperty(value = "类型[1-退款|2-退货]")
private Integer type; private Integer type;
@ApiModelProperty(value = "退款/退货原因[1-不想买了|2-收货人信息有误|3-未按指定时间发货|4-其他|5-不想买了|6-商品质量问题|7-收到商品与描述不符|8-商铺发起|9-系统自动申请]") @ApiModelProperty(value = "退款/退货原因[1-不想买了|2-收货人信息有误|3-未按指定时间发货|4-其他|5-不想买了|6-商品质量问题|7-收到商品与描述不符|8-商铺发起|9-系统自动申请|10-退款失败|11-取消退款]")
private String reason; private String reason;
@ApiModelProperty(value = "退款拒绝原因") @ApiModelProperty(value = "退款拒绝原因")
private String refuseReason; private String refuseReason;
......
...@@ -18,7 +18,7 @@ public class GoblinStoreBackOrderListVo implements Cloneable { ...@@ -18,7 +18,7 @@ public class GoblinStoreBackOrderListVo implements Cloneable {
private String orderCode; private String orderCode;
@ApiModelProperty(value = "类型[1-退款|2-退货]") @ApiModelProperty(value = "类型[1-退款|2-退货]")
private Integer type; private Integer type;
@ApiModelProperty(value = "退款/退货状态[0-商铺发起退款|1-退款申请(用户发送退款请求)|2-退款成功(商家同意退款)|3-退款拒绝(商家拒绝退款)|4-退货申请(用户发起退货请求)|5-退货拒绝(商家拒绝退货)|6-退货审核通过等待用户填写物流(商家审核通过,等待用户寄回商品)|7-待收货(用户已确认)|8-退货完成(商家收货并且同意退款给用户)|9-退货失败(商家不同意退款)") @ApiModelProperty(value = "退款/退货状态[0-商铺发起退款|1-退款申请(用户发送退款请求)|2-退款成功(商家同意退款)|3-退款拒绝(商家拒绝退款)|4-退货申请(用户发起退货请求)|5-退货拒绝(商家拒绝退货)|6-退货审核通过等待用户填写物流(商家审核通过,等待用户寄回商品)|7-待收货(用户已确认)|8-退货完成(商家收货并且同意退款给用户)|9-退货失败(商家不同意退款)|10-退款失败|11-取消退款")
private Integer status; private Integer status;
@ApiModelProperty(value = " 退款金额") @ApiModelProperty(value = " 退款金额")
private BigDecimal realBackPrice; private BigDecimal realBackPrice;
......
...@@ -614,7 +614,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService { ...@@ -614,7 +614,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
//获取 可申请退款时间 //获取 可申请退款时间
private LocalDateTime getCanRefundTime(GoblinStoreOrderVo orderVo) { private LocalDateTime getCanRefundTime(GoblinStoreOrderVo orderVo) {
LocalDateTime canRefundTimeDateTime = null; LocalDateTime canRefundTimeDateTime = null;
if (orderVo.getStatus() == GoblinStatusConst.Status.ORDER_STATUS_2.getValue()) { if (orderVo.getStatus() == GoblinStatusConst.Status.ORDER_STATUS_2.getValue() || orderVo.getStatus() == GoblinStatusConst.Status.ORDER_STATUS_4.getValue()) {
try { try {
canRefundTimeDateTime = LocalDateTime.parse(orderVo.getPayTime(), DTF_YMD_HMS).plusDays(7); canRefundTimeDateTime = LocalDateTime.parse(orderVo.getPayTime(), DTF_YMD_HMS).plusDays(7);
} catch (Exception e) { } catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment