|
@@ -4,9 +4,6 @@ import ( |
|
@@ -4,9 +4,6 @@ import ( |
4
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/service_gateway/allied_creation_cooperation"
|
4
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/service_gateway/allied_creation_cooperation"
|
5
|
)
|
5
|
)
|
6
|
|
6
|
|
7
|
-type DividendsReturnedOrderItem struct {
|
|
|
8
|
-}
|
|
|
9
|
-
|
|
|
10
|
type DividendsReturnedOrderInfo struct {
|
7
|
type DividendsReturnedOrderInfo struct {
|
11
|
// 公司
|
8
|
// 公司
|
12
|
Company struct {
|
9
|
Company struct {
|
|
@@ -23,7 +20,6 @@ type DividendsReturnedOrderInfo struct { |
|
@@ -23,7 +20,6 @@ type DividendsReturnedOrderInfo struct { |
23
|
DividendsReturnedOrderID string `json:"dividendsReturnedOrderId"` //分红退货单记录id
|
20
|
DividendsReturnedOrderID string `json:"dividendsReturnedOrderId"` //分红退货单记录id
|
24
|
DividendsReturnedOrderNumber string `json:"dividendsReturnedOrderNumber"` //分红退货单号
|
21
|
DividendsReturnedOrderNumber string `json:"dividendsReturnedOrderNumber"` //分红退货单号
|
25
|
DividendsReturnedOrderRefund float64 `json:"dividendsReturnedOrderRefund"` //退货金额
|
22
|
DividendsReturnedOrderRefund float64 `json:"dividendsReturnedOrderRefund"` //退货金额
|
26
|
- OperateTime string `json:"operateTime"` //操作时间
|
|
|
27
|
OriginalOrderNum string `json:"originalOrderNum"` //源单号(原始订单号)
|
23
|
OriginalOrderNum string `json:"originalOrderNum"` //源单号(原始订单号)
|
28
|
Remarks string `json:"remarks"` //备注
|
24
|
Remarks string `json:"remarks"` //备注
|
29
|
//更新时间
|
25
|
//更新时间
|
|
@@ -41,14 +37,21 @@ type DividendsReturnedOrderInfo struct { |
|
@@ -41,14 +37,21 @@ type DividendsReturnedOrderInfo struct { |
41
|
|
37
|
|
42
|
func ToDividendsReturnedOrderInfo(param *allied_creation_cooperation.DividendsReturnedOrder) *DividendsReturnedOrderInfo {
|
38
|
func ToDividendsReturnedOrderInfo(param *allied_creation_cooperation.DividendsReturnedOrder) *DividendsReturnedOrderInfo {
|
43
|
data := DividendsReturnedOrderInfo{
|
39
|
data := DividendsReturnedOrderInfo{
|
44
|
- Goods: param.Goods,
|
|
|
45
|
- Org: param.Org,
|
|
|
46
|
- Region: param.Region,
|
|
|
47
|
- Company: param.Company,
|
|
|
48
|
- CreatedAt: param.CreatedAt.Unix(),
|
|
|
49
|
- DividendStatus: param.DividendStatus,
|
|
|
50
|
- DividendTime: param.DividendTime.Unix(),
|
|
|
51
|
- DividendsOrderNumber: param.DividendsOrderNumber,
|
40
|
+ Goods: param.Goods,
|
|
|
41
|
+ Org: param.Org,
|
|
|
42
|
+ Region: param.Region,
|
|
|
43
|
+ Company: param.Company,
|
|
|
44
|
+ CreatedAt: param.CreatedAt.Unix(),
|
|
|
45
|
+ DividendStatus: param.DividendStatus,
|
|
|
46
|
+ DividendTime: param.DividendTime.Unix(),
|
|
|
47
|
+ DividendsOrderNumber: param.DividendsOrderNumber,
|
|
|
48
|
+ DividendsReturnedCustomerName: param.DividendsReturnedCustomerName,
|
|
|
49
|
+ DividendsReturnedDate: param.DividendsReturnedDate.Unix(),
|
|
|
50
|
+ DividendsReturnedOrderID: param.DividendsReturnedOrderID,
|
|
|
51
|
+ DividendsReturnedOrderNumber: param.DividendsReturnedOrderNumber,
|
|
|
52
|
+ DividendsReturnedOrderRefund: param.DividendsReturnedOrderRefund,
|
|
|
53
|
+ OriginalOrderNum: param.OriginalOrderNum,
|
|
|
54
|
+ Remarks: param.Remarks,
|
52
|
}
|
55
|
}
|
53
|
return &data
|
56
|
return &data
|
54
|
} |
57
|
} |