|
@@ -90,6 +90,7 @@ func (pay BusinessBonusNullPay) NullPayPartnerBonus(bonus *BusinessBonus) error |
|
@@ -90,6 +90,7 @@ func (pay BusinessBonusNullPay) NullPayPartnerBonus(bonus *BusinessBonus) error |
90
|
bonus.BonusHas = 0
|
90
|
bonus.BonusHas = 0
|
91
|
bonus.BonusNot = 0
|
91
|
bonus.BonusNot = 0
|
92
|
bonus.Bonus = 0
|
92
|
bonus.Bonus = 0
|
|
|
93
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusNullPay{}
|
93
|
return nil
|
94
|
return nil
|
94
|
}
|
95
|
}
|
95
|
|
96
|
|
|
@@ -98,6 +99,7 @@ func (pay BusinessBonusNullPay) WartPayPartnerBonus(bonus *BusinessBonus) error |
|
@@ -98,6 +99,7 @@ func (pay BusinessBonusNullPay) WartPayPartnerBonus(bonus *BusinessBonus) error |
98
|
bonus.BonusNot = bonus.Bonus
|
99
|
bonus.BonusNot = bonus.Bonus
|
99
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
100
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
100
|
bonus.BonusHas = 0
|
101
|
bonus.BonusHas = 0
|
|
|
102
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusWaitPay{}
|
101
|
return nil
|
103
|
return nil
|
102
|
}
|
104
|
}
|
103
|
|
105
|
|
|
@@ -106,6 +108,7 @@ func (pay BusinessBonusNullPay) PayPartnerBonus(bonus *BusinessBonus) error { |
|
@@ -106,6 +108,7 @@ func (pay BusinessBonusNullPay) PayPartnerBonus(bonus *BusinessBonus) error { |
106
|
bonus.BonusNot = 0
|
108
|
bonus.BonusNot = 0
|
107
|
bonus.BonusHas = bonus.Bonus
|
109
|
bonus.BonusHas = bonus.Bonus
|
108
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
110
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
|
|
111
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusHasPay{}
|
109
|
return nil
|
112
|
return nil
|
110
|
}
|
113
|
}
|
111
|
|
114
|
|
|
@@ -117,6 +120,7 @@ func (pay BusinessBonusWaitPay) NullPayPartnerBonus(bonus *BusinessBonus) error |
|
@@ -117,6 +120,7 @@ func (pay BusinessBonusWaitPay) NullPayPartnerBonus(bonus *BusinessBonus) error |
117
|
bonus.BonusHas = 0
|
120
|
bonus.BonusHas = 0
|
118
|
bonus.BonusNot = 0
|
121
|
bonus.BonusNot = 0
|
119
|
bonus.Bonus = 0
|
122
|
bonus.Bonus = 0
|
|
|
123
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusNullPay{}
|
120
|
return nil
|
124
|
return nil
|
121
|
}
|
125
|
}
|
122
|
|
126
|
|
|
@@ -125,6 +129,7 @@ func (pay BusinessBonusWaitPay) WartPayPartnerBonus(bonus *BusinessBonus) error |
|
@@ -125,6 +129,7 @@ func (pay BusinessBonusWaitPay) WartPayPartnerBonus(bonus *BusinessBonus) error |
125
|
bonus.BonusNot = bonus.Bonus
|
129
|
bonus.BonusNot = bonus.Bonus
|
126
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
130
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
127
|
bonus.BonusHas = 0
|
131
|
bonus.BonusHas = 0
|
|
|
132
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusWaitPay{}
|
128
|
return nil
|
133
|
return nil
|
129
|
}
|
134
|
}
|
130
|
|
135
|
|
|
@@ -133,6 +138,7 @@ func (pay BusinessBonusWaitPay) PayPartnerBonus(bonus *BusinessBonus) error { |
|
@@ -133,6 +138,7 @@ func (pay BusinessBonusWaitPay) PayPartnerBonus(bonus *BusinessBonus) error { |
133
|
bonus.BonusNot = 0
|
138
|
bonus.BonusNot = 0
|
134
|
bonus.BonusHas = bonus.Bonus
|
139
|
bonus.BonusHas = bonus.Bonus
|
135
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
140
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
|
|
141
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusHasPay{}
|
136
|
return nil
|
142
|
return nil
|
137
|
}
|
143
|
}
|
138
|
|
144
|
|
|
@@ -144,6 +150,7 @@ func (pay BusinessBonusHasPay) NullPayPartnerBonus(bonus *BusinessBonus) error { |
|
@@ -144,6 +150,7 @@ func (pay BusinessBonusHasPay) NullPayPartnerBonus(bonus *BusinessBonus) error { |
144
|
bonus.BonusHas = 0
|
150
|
bonus.BonusHas = 0
|
145
|
bonus.BonusNot = 0
|
151
|
bonus.BonusNot = 0
|
146
|
bonus.Bonus = 0
|
152
|
bonus.Bonus = 0
|
|
|
153
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusNullPay{}
|
147
|
return nil
|
154
|
return nil
|
148
|
}
|
155
|
}
|
149
|
|
156
|
|
|
@@ -152,6 +159,7 @@ func (pay BusinessBonusHasPay) WartPayPartnerBonus(bonus *BusinessBonus) error { |
|
@@ -152,6 +159,7 @@ func (pay BusinessBonusHasPay) WartPayPartnerBonus(bonus *BusinessBonus) error { |
152
|
bonus.BonusNot = bonus.Bonus
|
159
|
bonus.BonusNot = bonus.Bonus
|
153
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
160
|
bonus.BonusStatus = BUSINESS_BONUS_WAIT_PAY
|
154
|
bonus.BonusHas = 0
|
161
|
bonus.BonusHas = 0
|
|
|
162
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusWaitPay{}
|
155
|
return nil
|
163
|
return nil
|
156
|
}
|
164
|
}
|
157
|
|
165
|
|
|
@@ -160,6 +168,7 @@ func (pay BusinessBonusHasPay) PayPartnerBonus(bonus *BusinessBonus) error { |
|
@@ -160,6 +168,7 @@ func (pay BusinessBonusHasPay) PayPartnerBonus(bonus *BusinessBonus) error { |
160
|
bonus.BonusNot = 0
|
168
|
bonus.BonusNot = 0
|
161
|
bonus.BonusHas = bonus.Bonus
|
169
|
bonus.BonusHas = bonus.Bonus
|
162
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
170
|
bonus.BonusStatus = BUSINESS_BONUS_HAS_PAY
|
|
|
171
|
+ bonus.BusinessBonusPayStatus = &BusinessBonusHasPay{}
|
163
|
return nil
|
172
|
return nil
|
164
|
}
|
173
|
}
|
165
|
|
174
|
|