作者 陈志颖

fix:合约变更记录

@@ -1226,7 +1226,7 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC @@ -1226,7 +1226,7 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC
1226 for _, moneyIncentivesRule := range cooperationContract.MoneyIncentivesRules { 1226 for _, moneyIncentivesRule := range cooperationContract.MoneyIncentivesRules {
1227 moneyIncentivesRuleChanged = moneyIncentivesRuleChanged + moneyIncentivesRule.MoneyIncentivesStageCN + 1227 moneyIncentivesRuleChanged = moneyIncentivesRuleChanged + moneyIncentivesRule.MoneyIncentivesStageCN +
1228 ":" + 1228 ":" +
1229 - "," + moneyIncentivesRule.MoneyIncentivesStageStart.Format("2006-01-02") + 1229 + "," + moneyIncentivesRule.MoneyIncentivesTime.Format("2006-01-02") +
1230 "," + fmt.Sprint(moneyIncentivesRule.ReferrerPercentage) + 1230 "," + fmt.Sprint(moneyIncentivesRule.ReferrerPercentage) +
1231 "," + fmt.Sprint(moneyIncentivesRule.SalesmanPercentage) + ";" 1231 "," + fmt.Sprint(moneyIncentivesRule.SalesmanPercentage) + ";"
1232 } 1232 }
@@ -1243,7 +1243,7 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC @@ -1243,7 +1243,7 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC
1243 for _, moneyIncentivesRule := range cooperationContractFound.MoneyIncentivesRules { 1243 for _, moneyIncentivesRule := range cooperationContractFound.MoneyIncentivesRules {
1244 moneyIncentivesRuleOriginal = moneyIncentivesRuleOriginal + moneyIncentivesRule.MoneyIncentivesStageCN + 1244 moneyIncentivesRuleOriginal = moneyIncentivesRuleOriginal + moneyIncentivesRule.MoneyIncentivesStageCN +
1245 ":" + 1245 ":" +
1246 - "," + moneyIncentivesRule.MoneyIncentivesStageStart.Format("2006-01-02") + 1246 + "," + moneyIncentivesRule.MoneyIncentivesTime.Format("2006-01-02") +
1247 "," + fmt.Sprint(moneyIncentivesRule.ReferrerPercentage) + 1247 "," + fmt.Sprint(moneyIncentivesRule.ReferrerPercentage) +
1248 "," + fmt.Sprint(moneyIncentivesRule.SalesmanPercentage) + ";" 1248 "," + fmt.Sprint(moneyIncentivesRule.SalesmanPercentage) + ";"
1249 } 1249 }
@@ -1304,7 +1304,7 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC @@ -1304,7 +1304,7 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC
1304 for _, moneyIncentivesRule := range cooperationContractFound.MoneyIncentivesRules { 1304 for _, moneyIncentivesRule := range cooperationContractFound.MoneyIncentivesRules {
1305 moneyIncentivesRuleOriginal = moneyIncentivesRuleOriginal + moneyIncentivesRule.MoneyIncentivesStageCN + 1305 moneyIncentivesRuleOriginal = moneyIncentivesRuleOriginal + moneyIncentivesRule.MoneyIncentivesStageCN +
1306 ":" + 1306 ":" +
1307 - "," + moneyIncentivesRule.MoneyIncentivesStageStart.Format("2006-01-02") + 1307 + "," + moneyIncentivesRule.MoneyIncentivesTime.Format("2006-01-02") +
1308 "," + fmt.Sprint(moneyIncentivesRule.ReferrerPercentage) + 1308 "," + fmt.Sprint(moneyIncentivesRule.ReferrerPercentage) +
1309 "," + fmt.Sprint(moneyIncentivesRule.SalesmanPercentage) + ";" 1309 "," + fmt.Sprint(moneyIncentivesRule.SalesmanPercentage) + ";"
1310 } 1310 }
@@ -1314,7 +1314,7 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC @@ -1314,7 +1314,7 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC
1314 for _, moneyIncentivesRule := range cooperationContract.MoneyIncentivesRules { 1314 for _, moneyIncentivesRule := range cooperationContract.MoneyIncentivesRules {
1315 moneyIncentivesRuleChanged = moneyIncentivesRuleChanged + moneyIncentivesRule.MoneyIncentivesStageCN + 1315 moneyIncentivesRuleChanged = moneyIncentivesRuleChanged + moneyIncentivesRule.MoneyIncentivesStageCN +
1316 ":" + 1316 ":" +
1317 - "," + moneyIncentivesRule.MoneyIncentivesStageStart.Format("2006-01-02") + 1317 + "," + moneyIncentivesRule.MoneyIncentivesTime.Format("2006-01-02") +
1318 "," + fmt.Sprint(moneyIncentivesRule.ReferrerPercentage) + 1318 "," + fmt.Sprint(moneyIncentivesRule.ReferrerPercentage) +
1319 "," + fmt.Sprint(moneyIncentivesRule.SalesmanPercentage) + ";" 1319 "," + fmt.Sprint(moneyIncentivesRule.SalesmanPercentage) + ";"
1320 } 1320 }