...
|
...
|
@@ -4,9 +4,6 @@ import ( |
|
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/service_gateway/allied_creation_cooperation"
|
|
|
)
|
|
|
|
|
|
type DividendsReturnedOrderItem struct {
|
|
|
}
|
|
|
|
|
|
type DividendsReturnedOrderInfo struct {
|
|
|
// 公司
|
|
|
Company struct {
|
...
|
...
|
@@ -23,7 +20,6 @@ type DividendsReturnedOrderInfo struct { |
|
|
DividendsReturnedOrderID string `json:"dividendsReturnedOrderId"` //分红退货单记录id
|
|
|
DividendsReturnedOrderNumber string `json:"dividendsReturnedOrderNumber"` //分红退货单号
|
|
|
DividendsReturnedOrderRefund float64 `json:"dividendsReturnedOrderRefund"` //退货金额
|
|
|
OperateTime string `json:"operateTime"` //操作时间
|
|
|
OriginalOrderNum string `json:"originalOrderNum"` //源单号(原始订单号)
|
|
|
Remarks string `json:"remarks"` //备注
|
|
|
//更新时间
|
...
|
...
|
@@ -41,14 +37,21 @@ type DividendsReturnedOrderInfo struct { |
|
|
|
|
|
func ToDividendsReturnedOrderInfo(param *allied_creation_cooperation.DividendsReturnedOrder) *DividendsReturnedOrderInfo {
|
|
|
data := DividendsReturnedOrderInfo{
|
|
|
Goods: param.Goods,
|
|
|
Org: param.Org,
|
|
|
Region: param.Region,
|
|
|
Company: param.Company,
|
|
|
CreatedAt: param.CreatedAt.Unix(),
|
|
|
DividendStatus: param.DividendStatus,
|
|
|
DividendTime: param.DividendTime.Unix(),
|
|
|
DividendsOrderNumber: param.DividendsOrderNumber,
|
|
|
Goods: param.Goods,
|
|
|
Org: param.Org,
|
|
|
Region: param.Region,
|
|
|
Company: param.Company,
|
|
|
CreatedAt: param.CreatedAt.Unix(),
|
|
|
DividendStatus: param.DividendStatus,
|
|
|
DividendTime: param.DividendTime.Unix(),
|
|
|
DividendsOrderNumber: param.DividendsOrderNumber,
|
|
|
DividendsReturnedCustomerName: param.DividendsReturnedCustomerName,
|
|
|
DividendsReturnedDate: param.DividendsReturnedDate.Unix(),
|
|
|
DividendsReturnedOrderID: param.DividendsReturnedOrderID,
|
|
|
DividendsReturnedOrderNumber: param.DividendsReturnedOrderNumber,
|
|
|
DividendsReturnedOrderRefund: param.DividendsReturnedOrderRefund,
|
|
|
OriginalOrderNum: param.OriginalOrderNum,
|
|
|
Remarks: param.Remarks,
|
|
|
}
|
|
|
return &data
|
|
|
} |
...
|
...
|
|