正在显示
2 个修改的文件
包含
4 行增加
和
1 行删除
@@ -28,6 +28,7 @@ type DividendsOrder struct { | @@ -28,6 +28,7 @@ type DividendsOrder struct { | ||
28 | } `json:"region"` | 28 | } `json:"region"` |
29 | Remarks string `json:"remarks"` | 29 | Remarks string `json:"remarks"` |
30 | Goods []allied_creation_cooperation.DividendsOrderGoods `json:"goods"` | 30 | Goods []allied_creation_cooperation.DividendsOrderGoods `json:"goods"` |
31 | + Returned bool `json:"returned"` | ||
31 | } | 32 | } |
32 | 33 | ||
33 | func ToDividendsOrder(param *allied_creation_cooperation.DividendsOrder) *DividendsOrder { | 34 | func ToDividendsOrder(param *allied_creation_cooperation.DividendsOrder) *DividendsOrder { |
@@ -45,6 +46,7 @@ func ToDividendsOrder(param *allied_creation_cooperation.DividendsOrder) *Divide | @@ -45,6 +46,7 @@ func ToDividendsOrder(param *allied_creation_cooperation.DividendsOrder) *Divide | ||
45 | Region: param.Region, | 46 | Region: param.Region, |
46 | Remarks: param.Remarks, | 47 | Remarks: param.Remarks, |
47 | Goods: param.Goods, | 48 | Goods: param.Goods, |
49 | + Returned: param.Returned, | ||
48 | } | 50 | } |
49 | return &data | 51 | return &data |
50 | } | 52 | } |
@@ -50,6 +50,7 @@ type DividendsOrder struct { | @@ -50,6 +50,7 @@ type DividendsOrder struct { | ||
50 | } `json:"region"` | 50 | } `json:"region"` |
51 | Remarks string `json:"remarks"` | 51 | Remarks string `json:"remarks"` |
52 | Goods []DividendsOrderGoods `json:"goods"` | 52 | Goods []DividendsOrderGoods `json:"goods"` |
53 | + Returned bool `json:"returned"` //是否有退货记录,true:有退货记录,false:无退货记录 | ||
53 | } | 54 | } |
54 | 55 | ||
55 | type ( | 56 | type ( |
@@ -64,7 +65,7 @@ type ( | @@ -64,7 +65,7 @@ type ( | ||
64 | OrderGoodName string `json:"orderGoodName"` //订单产品名称 | 65 | OrderGoodName string `json:"orderGoodName"` //订单产品名称 |
65 | OrderGoodPrice float64 `json:"orderGoodPrice"` //订单产品单价 | 66 | OrderGoodPrice float64 `json:"orderGoodPrice"` //订单产品单价 |
66 | OrderGoodQuantity int `json:"orderGoodQuantity,string"` //订单产品数量 | 67 | OrderGoodQuantity int `json:"orderGoodQuantity,string"` //订单产品数量 |
67 | - OrderGoodDividendsStatus int32 `json:"OrderGoodDividendsStatus"` // 订单产品分红状态, 1待分红,2已分红 | 68 | + OrderGoodDividendsStatus int32 `json:"orderGoodDividendsStatus"` // 订单产品分红状态, 1待分红,2已分红 |
68 | } | 69 | } |
69 | ReqDividendsOrderAdd struct { | 70 | ReqDividendsOrderAdd struct { |
70 | CompanyId int `json:"companyId,string"` | 71 | CompanyId int `json:"companyId,string"` |
-
请 注册 或 登录 后发表评论