...
|
...
|
@@ -6,7 +6,7 @@ import "time" |
|
|
|
|
|
type DividendsOrder struct {
|
|
|
Company struct {
|
|
|
CompanyID int `json:"companyId"`
|
|
|
CompanyID int `json:"companyId,string"`
|
|
|
CompanyLogo string `json:"companyLogo"`
|
|
|
CompanyName string `json:"companyName"`
|
|
|
} `json:"company"`
|
...
|
...
|
@@ -14,22 +14,22 @@ type DividendsOrder struct { |
|
|
DividendStatus int `json:"dividendStatus"` //分红订单分红状态,1待分红,2已分红,3部分分红
|
|
|
DividendTime time.Time `json:"dividendTime"` //分红订单分红时间
|
|
|
DividendsOrderAmount float64 `json:"dividendsOrderAmount"` //分红订单金额
|
|
|
DividendsOrderID int `json:"dividendsOrderId"` //分红订单
|
|
|
DividendsOrderID int `json:"dividendsOrderId,string"` //分红订单
|
|
|
DividendsOrderNumber string `json:"dividendsOrderNumber"` //分红订单号
|
|
|
DividendsOriginalOrderNum string `json:"dividendsOriginalOrderNum"` //分红订单原单号
|
|
|
OrderSalesman struct { //订单业务员
|
|
|
Department struct {
|
|
|
DepartmentID int `json:"departmentId"`
|
|
|
DepartmentID int `json:"departmentId,string"`
|
|
|
DepartmentName string `json:"departmentName"`
|
|
|
DepartmentNumber string `json:"departmentNumber"`
|
|
|
IsOrganization bool `json:"isOrganization"`
|
|
|
} `json:"department"`
|
|
|
Org struct {
|
|
|
OrgID int `json:"orgId"`
|
|
|
OrgID int `json:"orgId,string"`
|
|
|
OrgName string `json:"orgName"`
|
|
|
} `json:"org"`
|
|
|
UserBaseID int `json:"userBaseId"`
|
|
|
UserID int `json:"userId"`
|
|
|
UserBaseID int `json:"userBaseId,string"`
|
|
|
UserID int `json:"userId,string"`
|
|
|
UserInfo struct {
|
|
|
UserAccount string `json:"userAccount"`
|
|
|
UserAvatar string `json:"userAvatar"`
|
...
|
...
|
@@ -41,7 +41,7 @@ type DividendsOrder struct { |
|
|
} `json:"orderSalesman"`
|
|
|
OrderTime time.Time `json:"orderTime"`
|
|
|
Org struct {
|
|
|
OrgID int `json:"orgId"`
|
|
|
OrgID int `json:"orgId,string"`
|
|
|
OrgName string `json:"orgName"`
|
|
|
} `json:"org"`
|
|
|
Region struct {
|
...
|
...
|
@@ -62,14 +62,15 @@ type ( |
|
|
OrderGoodQuantity int `json:"orderGoodQuantity"` //订单产品数量
|
|
|
}
|
|
|
ReqDividendsOrderAdd struct {
|
|
|
CompanyId int `json:"companyId"`
|
|
|
CompanyId int `json:"companyId,string"`
|
|
|
CustomerName string `json:"customerName"` //客户名称
|
|
|
DividendsOriginalOrderNum string `json:"dividendsOriginalOrderNum"` //分红订单原单号
|
|
|
OperatorUid int `json:"operatorUid"` //订单操作人id
|
|
|
OperatorUid int `json:"operatorUid,string"` //订单操作人id
|
|
|
OrderGoods []DividendsOrderGoods `json:"orderGoods"` //订单产品列表
|
|
|
OrderTime time.Time `json:"orderTime"` //订单产生时间
|
|
|
OrderTime string `json:"orderTime"` //订单日期,13位长度字符串类型时间戳
|
|
|
Remarks string `json:"remarks"` //备注
|
|
|
UserId int `json:"userId"` //
|
|
|
UserId int `json:"userId,string"` //
|
|
|
SalesmanUid string `json:"salesmanUid"` //订单业务员uid
|
|
|
RegionName string `json:"regionName"` //区域名称
|
|
|
}
|
|
|
|
...
|
...
|
@@ -81,18 +82,18 @@ type ( |
|
|
//更新分红订单
|
|
|
type (
|
|
|
ReqDividendsOrderUpdate struct {
|
|
|
DividendsOrderId int `json:"dividendsOrderId"`
|
|
|
CompanyId int `json:"companyId"`
|
|
|
DividendsOrderId int `json:"dividendsOrderId,string"`
|
|
|
CompanyId int `json:"companyId,string"`
|
|
|
CustomerName string `json:"customerName"` //客户名称
|
|
|
DividendsOrderAmount float64 `json:"dividendsOrderAmount"` //分红订单金额
|
|
|
DividendsOrderNumber string `json:"dividendsOrderNumber"` //分红订单号
|
|
|
DividendsOriginalOrderNum string `json:"dividendsOriginalOrderNum"` //分红订单原单号
|
|
|
OperatorUid int `json:"operatorUid"` //订单操作人id
|
|
|
OperatorUid int `json:"operatorUid,string"` //订单操作人id
|
|
|
OrderGoods []DividendsOrderGoods `json:"orderGoods"` //订单产品列表
|
|
|
OrderTime time.Time `json:"orderTime"` //订单产生时间
|
|
|
OrderTime string `json:"orderTime"` //订单日期,13位长度字符串类型时间戳
|
|
|
Remarks string `json:"remarks"` //备注
|
|
|
SalesmanUid string `json:"salesmanUid"` //订单业务员uid
|
|
|
UserId int `json:"userId"` //
|
|
|
UserId int `json:"userId,string"` //
|
|
|
RegionName string `json:"regionName"` //区域名称
|
|
|
}
|
|
|
|
...
|
...
|
|