...
|
...
|
@@ -17,7 +17,7 @@ type DividendsOrder struct { |
|
|
DividendsOrderID int `json:"dividendsOrderId,string,"` //分红订单
|
|
|
DividendsOrderNumber string `json:"dividendsOrderNumber"` //分红订单号
|
|
|
DividendsOriginalOrderNum string `json:"dividendsOriginalOrderNum"` //分红订单原单号
|
|
|
OrderTime int64 `json:"orderTime"`
|
|
|
OrderTime int64 `json:"orderTime"` //订单日日期 13位毫秒输出
|
|
|
Org struct {
|
|
|
OrgID int `json:"orgId,string"`
|
|
|
OrgName string `json:"orgName"`
|
...
|
...
|
@@ -26,6 +26,8 @@ type DividendsOrder struct { |
|
|
RegionName string `json:"regionName"`
|
|
|
RegionNumber string `json:"regionNumber"`
|
|
|
} `json:"region"`
|
|
|
Remark string `json:"remark"`
|
|
|
Goods []allied_creation_cooperation.DividendsOrderGoods
|
|
|
}
|
|
|
|
|
|
func ToDividendsOrder(param *allied_creation_cooperation.DividendsOrder) *DividendsOrder {
|
...
|
...
|
@@ -38,9 +40,11 @@ func ToDividendsOrder(param *allied_creation_cooperation.DividendsOrder) *Divide |
|
|
DividendsOrderID: param.DividendsOrderID,
|
|
|
DividendsOrderNumber: param.DividendsOrderNumber,
|
|
|
DividendsOriginalOrderNum: param.DividendsOriginalOrderNum,
|
|
|
OrderTime: param.OrderTime.Unix(),
|
|
|
OrderTime: param.OrderTime.UnixNano() / 1e6, //转为毫米输出
|
|
|
Org: param.Org,
|
|
|
Region: param.Region,
|
|
|
Remark: param.Remark,
|
|
|
Goods: param.Goods,
|
|
|
}
|
|
|
return &data
|
|
|
} |
...
|
...
|
|