提交 | 用户 | age
|
b692f6
|
1 |
package com.hz.crm.dto; |
W |
2 |
|
|
3 |
import lombok.Data; |
|
4 |
|
e35399
|
5 |
import java.math.BigDecimal; |
W |
6 |
|
b692f6
|
7 |
|
W |
8 |
/** |
|
9 |
* 用在封住或者事务层调用返回(退款返回dto) |
|
10 |
* @author cjh |
|
11 |
* */ |
|
12 |
@Data |
|
13 |
public class OrderServiceDto { |
|
14 |
/**是否成功*/ |
|
15 |
private boolean isSuccess = false; |
|
16 |
/**返回报错/返回提示信息*/ |
|
17 |
private String errMsg; |
|
18 |
|
|
19 |
/**退款退款状态*/ |
|
20 |
public int refundStatus; |
|
21 |
|
e35399
|
22 |
/***程序已退款数据,退掉的加进去***/ |
W |
23 |
/***已退款总金额***/ |
|
24 |
private BigDecimal refundTotal = BigDecimal.ZERO; |
|
25 |
/**已退款现金***/ |
|
26 |
private BigDecimal refundAmountTotal = BigDecimal.ZERO; |
|
27 |
/**已退款储值金*/ |
|
28 |
private BigDecimal refundRecharge = BigDecimal.ZERO; |
|
29 |
/**已退款增值金*/ |
|
30 |
private BigDecimal refundIncrement = BigDecimal.ZERO; |
|
31 |
/**已退款积分*/ |
|
32 |
private BigDecimal refundIntegral = BigDecimal.ZERO; |
|
33 |
|
|
34 |
|
b692f6
|
35 |
|
W |
36 |
/************************************/ |
|
37 |
/**最快状态-失败*/ |
|
38 |
public static final int REFUND_STATUS_FAIL = 1; |
|
39 |
/**最快状态-部分退款*/ |
|
40 |
public static final int REFUND_STATUS_PART = 2; |
|
41 |
/**最快状态-成功*/ |
|
42 |
public static final int REFUND_STATUS_SUECCESS = 3; |
|
43 |
|
|
44 |
} |