...
|
...
|
@@ -90,6 +90,7 @@ func (pay BusinessBonusNullPay) NullPayPartnerBonus(bonus *BusinessBonus) error |
|
|
bonus.BonusHas = 0
|
|
|
bonus.BonusNot = 0
|
|
|
bonus.Bonus = 0
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusNullPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
@@ -98,6 +99,7 @@ func (pay BusinessBonusNullPay) WartPayPartnerBonus(bonus *BusinessBonus) error |
|
|
bonus.BonusNot = bonus.Bonus
|
|
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
|
|
bonus.BonusHas = 0
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusWaitPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
@@ -106,6 +108,7 @@ func (pay BusinessBonusNullPay) PayPartnerBonus(bonus *BusinessBonus) error { |
|
|
bonus.BonusNot = 0
|
|
|
bonus.BonusHas = bonus.Bonus
|
|
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusHasPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
@@ -117,6 +120,7 @@ func (pay BusinessBonusWaitPay) NullPayPartnerBonus(bonus *BusinessBonus) error |
|
|
bonus.BonusHas = 0
|
|
|
bonus.BonusNot = 0
|
|
|
bonus.Bonus = 0
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusNullPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
@@ -125,6 +129,7 @@ func (pay BusinessBonusWaitPay) WartPayPartnerBonus(bonus *BusinessBonus) error |
|
|
bonus.BonusNot = bonus.Bonus
|
|
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
|
|
bonus.BonusHas = 0
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusWaitPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
@@ -133,6 +138,7 @@ func (pay BusinessBonusWaitPay) PayPartnerBonus(bonus *BusinessBonus) error { |
|
|
bonus.BonusNot = 0
|
|
|
bonus.BonusHas = bonus.Bonus
|
|
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusHasPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
@@ -144,6 +150,7 @@ func (pay BusinessBonusHasPay) NullPayPartnerBonus(bonus *BusinessBonus) error { |
|
|
bonus.BonusHas = 0
|
|
|
bonus.BonusNot = 0
|
|
|
bonus.Bonus = 0
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusNullPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
@@ -152,6 +159,7 @@ func (pay BusinessBonusHasPay) WartPayPartnerBonus(bonus *BusinessBonus) error { |
|
|
bonus.BonusNot = bonus.Bonus
|
|
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
|
|
bonus.BonusHas = 0
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusWaitPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
@@ -160,6 +168,7 @@ func (pay BusinessBonusHasPay) PayPartnerBonus(bonus *BusinessBonus) error { |
|
|
bonus.BonusNot = 0
|
|
|
bonus.BonusHas = bonus.Bonus
|
|
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
|
|
bonus.BusinessBonusPayStatus = &BusinessBonusHasPay{}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
|