...
|
...
|
@@ -51,6 +51,16 @@ type DividendsEstimateMoneyItem struct { |
|
|
DepartmentName string `json:"departmentName"`
|
|
|
} `json:"department"` //发起部门
|
|
|
CooperationContractSponsorName string `json:"cooperationContractSponsorName"`
|
|
|
StageAndUndertaker struct {
|
|
|
Stage int `json:"stage"` // 分红阶段
|
|
|
Undertakers []struct {
|
|
|
UndertakerId int `json:"undertakerId,string"` // 承接人id
|
|
|
UserInfo struct {
|
|
|
UserName string `json:"userName"` // 共创人员姓名
|
|
|
UserPhone string `json:"userPhone"` // 用户手机号
|
|
|
} `json:"userInfo"`
|
|
|
} `json:"undertakers"` // 共创承接人
|
|
|
}
|
|
|
}
|
|
|
|
|
|
func ToDividendsEstimateMoneyItem(param *allied_creation_cooperation.DataDividendsEstimateSearchMoney) []DividendsEstimateMoneyItem {
|
...
|
...
|
@@ -62,6 +72,7 @@ func ToDividendsEstimateMoneyItem(param *allied_creation_cooperation.DataDividen |
|
|
CooperationContractNumber: v.CooperationContractNumber,
|
|
|
CreatedAt: v.CreatedAt.UnixNano() / 1e6,
|
|
|
CooperationModeName: v.CooperationModeName,
|
|
|
StageAndUndertaker: v.StageAndUndertaker,
|
|
|
}
|
|
|
item.Department.DepartmentId = v.Department.DepartmentId
|
|
|
item.Department.DepartmentName = v.Department.DepartmentName
|
...
|
...
|
|