...
|
...
|
@@ -53,9 +53,21 @@ type DividendsOrder struct { |
|
|
Returned bool `json:"returned"` //是否有退货记录,true:有退货记录,false:无退货记录
|
|
|
}
|
|
|
|
|
|
type DividendsOrderGoods struct {
|
|
|
// 订单产品
|
|
|
OrderGoodId int64 `json:"orderGoodId,string"`
|
|
|
CooperationContractNumber string `json:"cooperationContractNumber"` //关联的共创合约编号
|
|
|
DividendsOrderNumber string `json:"dividendsOrderNumber"` //关联分红订单号
|
|
|
OrderGoodAmount float64 `json:"orderGoodAmount"` //订单产品金额
|
|
|
OrderGoodExpense float64 `json:"orderGoodExpense"` //订单产品费用
|
|
|
OrderGoodName string `json:"orderGoodName"` //订单产品名称
|
|
|
OrderGoodPrice float64 `json:"orderGoodPrice"` //订单产品单价
|
|
|
OrderGoodQuantity int `json:"orderGoodQuantity,string"` //订单产品数量
|
|
|
OrderGoodDividendsStatus int32 `json:"orderGoodDividendsStatus"` // 订单产品分红状态, 1待分红,2已分红
|
|
|
}
|
|
|
|
|
|
type (
|
|
|
//订单产品
|
|
|
DividendsOrderGoods struct {
|
|
|
DividendsOrderGoodAdd struct {
|
|
|
// 订单产品
|
|
|
OrderGoodId int64 `json:"orderGoodId,string"`
|
|
|
CooperationContractNumber string `json:"cooperationContractNumber"` //关联的共创合约编号
|
...
|
...
|
@@ -64,20 +76,21 @@ type ( |
|
|
OrderGoodExpense float64 `json:"orderGoodExpense"` //订单产品费用
|
|
|
OrderGoodName string `json:"orderGoodName"` //订单产品名称
|
|
|
OrderGoodPrice float64 `json:"orderGoodPrice"` //订单产品单价
|
|
|
OrderGoodQuantity int `json:"orderGoodQuantity,string"` //订单产品数量
|
|
|
OrderGoodQuantity int `json:"orderGoodQuantity"` //订单产品数量
|
|
|
OrderGoodDividendsStatus int32 `json:"orderGoodDividendsStatus"` // 订单产品分红状态, 1待分红,2已分红
|
|
|
}
|
|
|
//订单产品
|
|
|
ReqDividendsOrderAdd struct {
|
|
|
CompanyId int `json:"companyId,string"`
|
|
|
CustomerName string `json:"customerName"` //客户名称
|
|
|
DividendsOriginalOrderNum string `json:"dividendsOriginalOrderNum"` //分红订单原单号
|
|
|
OperatorUid int `json:"operatorUid,string"` //订单操作人id
|
|
|
OrderGoods []DividendsOrderGoods `json:"orderGoods"` //订单产品列表
|
|
|
OrderTime string `json:"orderTime"` //订单日期,13位长度字符串类型时间戳
|
|
|
Remarks string `json:"remarks"` //备注
|
|
|
UserId int `json:"userId,string"` //
|
|
|
SalesmanUid string `json:"salesmanUid"` //订单业务员uid
|
|
|
RegionName string `json:"regionName"` //区域名称
|
|
|
CompanyId int `json:"companyId,string"`
|
|
|
CustomerName string `json:"customerName"` //客户名称
|
|
|
DividendsOriginalOrderNum string `json:"dividendsOriginalOrderNum"` //分红订单原单号
|
|
|
OperatorUid int `json:"operatorUid,string"` //订单操作人id
|
|
|
OrderGoods []DividendsOrderGoodAdd `json:"orderGoods"` //订单产品列表
|
|
|
OrderTime string `json:"orderTime"` //订单日期,13位长度字符串类型时间戳
|
|
|
Remarks string `json:"remarks"` //备注
|
|
|
UserId int `json:"userId,string"` //
|
|
|
SalesmanUid string `json:"salesmanUid"` //订单业务员uid
|
|
|
RegionName string `json:"regionName"` //区域名称
|
|
|
}
|
|
|
|
|
|
DataDividendsOrderAdd struct {
|
...
|
...
|
|