作者 tangxvhui

修复

... ... @@ -70,6 +70,7 @@ func (repository OrderRepository) Save(orderInfo *domain.Order) error {
PartnerId: orderInfo.PartnerInfo.Id,
PartnerBonusPercent: orderInfo.PartnerBonusPercent,
SalesmanBonusPercent: orderInfo.SalesmanBonusPercent,
BonusStatus: 1,
}
if m.Id == 0 {
err = tx.Insert(m)
... ...