...
|
...
|
@@ -9,7 +9,6 @@ type CooperationContractItem struct { |
|
|
CooperationContractId int `json:"cooperationContractId,string,"`
|
|
|
CooperationContractNumber string `json:"cooperationContractNumber"` //合约编号
|
|
|
CooperationProjectNumber string `json:"cooperationProjectNumber"` //项目编号
|
|
|
CooperationProjectId string `json:"cooperationProjectId"` //项目编号
|
|
|
CooperationContractName string `json:"cooperationContractName"` //合约名称
|
|
|
Status int `json:"status"` //合约状态
|
|
|
CreateTime int `json:"createTime"`
|
...
|
...
|
@@ -35,7 +34,6 @@ func ToCooperationContractItem(param *allied_creation_cooperation.CooperationCon |
|
|
CooperationContractDescription: param.CooperationContractDescription,
|
|
|
CooperationContractId: param.CooperationContractId,
|
|
|
CooperationProjectNumber: param.CooperationProjectNumber,
|
|
|
CooperationProjectId: param.CooperationProjectNumber,
|
|
|
CooperationContractName: param.CooperationContractName,
|
|
|
CooperationContractNumber: param.CooperationContractNumber,
|
|
|
Status: param.Status,
|
...
|
...
|
@@ -75,7 +73,7 @@ type DividendsIncentivesRule struct { |
|
|
ReferrerPercentage float64 `json:"referrerPercentage"` // 推荐人抽成比例
|
|
|
SalesmanPercentage float64 `json:"salesmanPercentage"` // 业务员抽成比例
|
|
|
DividendsPercentage float64 `json:"dividendsPercentage"` // 分红规则激励百分点
|
|
|
DividendsStage int `json:"dividendsStage,string"` // 分红规则激励阶段,
|
|
|
DividendsStage int `json:"dividendsStage"` // 分红规则激励阶段,
|
|
|
DividendsStageEnd int64 `json:"dividendsStageEnd"` // 分红规则激励阶段结束
|
|
|
DividendsStageStart int64 `json:"dividendsStageStart"` // 分红规则激励阶段开始
|
|
|
}
|
...
|
...
|
@@ -181,6 +179,7 @@ func ToCooperationContractInfo(param *allied_creation_cooperation.CooperationCon |
|
|
UsersName: v.UserInfo.UserName,
|
|
|
UsersId: v.UserId,
|
|
|
Phone: v.UserInfo.UserPhone,
|
|
|
UserCode: v.UserInfo.UserCode,
|
|
|
},
|
|
|
}
|
|
|
u.SalesmanUser.UserId = v.Salesman.UserId
|
...
|
...
|
|