...
|
...
|
@@ -26,19 +26,19 @@ type OrderBase struct { |
|
|
//订单对应的合伙人
|
|
|
PartnerId int64
|
|
|
//业务员抽成比例
|
|
|
SalesmanBonusPercent float64
|
|
|
SalesmanBonusPercent float64 `pg:",use_zero"`
|
|
|
//业务员抽成
|
|
|
SalesmanBonus float64
|
|
|
SalesmanBonus float64 `pg:",use_zero"`
|
|
|
//预计的订单内货品总数
|
|
|
PlanOrderCount int
|
|
|
PlanOrderCount int `pg:",use_zero"`
|
|
|
//预计的订单的总金额
|
|
|
PlanOrderAmount float64
|
|
|
PlanOrderAmount float64 `pg:",use_zero"`
|
|
|
//按需使用的订单内货品总数 (初始值=-1)
|
|
|
//业务判定时0是有效值,负值无效
|
|
|
UseOrderCount int
|
|
|
UseOrderCount int `pg:",use_zero"`
|
|
|
//按需使用的订单内货总金额 (初始值=-1)
|
|
|
//业务判定时0是有效值,负值无效
|
|
|
UseOrderAmount float64
|
|
|
UseOrderAmount float64 `pg:",use_zero"`
|
|
|
//订单的创建时间
|
|
|
CreateTime time.Time
|
|
|
//发货时间
|
...
|
...
|
@@ -46,16 +46,16 @@ type OrderBase struct { |
|
|
//更新时间
|
|
|
UpdateTime time.Time
|
|
|
//合伙人应收分红
|
|
|
PlanPartnerBonus float64
|
|
|
PlanPartnerBonus float64 `pg:",use_zero"`
|
|
|
//调整后的合伙人应收分红 (初始值=-1);
|
|
|
//业务判定时0是有效值,负值无效
|
|
|
UsePartnerBonus float64
|
|
|
UsePartnerBonus float64 `pg:",use_zero"`
|
|
|
//合伙人已收分红
|
|
|
PartnerBonusHas float64
|
|
|
PartnerBonusHas float64 `pg:",use_zero"`
|
|
|
//合伙人未收分红
|
|
|
PartnerBonusNot float64
|
|
|
//合伙人分红支出
|
|
|
PartnerBonusExpense float64
|
|
|
PartnerBonusExpense float64 `pg:",use_zero"`
|
|
|
//上一次查看时间 已读情况
|
|
|
LastViewTime time.Time
|
|
|
//是否关闭订单
|
...
|
...
|
|