...
|
...
|
@@ -184,12 +184,12 @@ func ToCooperationContractInfo(param *allied_creation_cooperation.CooperationCon |
|
|
}
|
|
|
u.SalesmanUser.UserId = v.Salesman.UserId
|
|
|
u.SalesmanUser.UserInfo.UsersId = v.Salesman.UserId
|
|
|
u.SalesmanUser.UserInfo.UsersName = v.Salesman.UserInfo.UserName
|
|
|
u.SalesmanUser.UserInfo.Phone = v.Salesman.UserInfo.UserPhone
|
|
|
u.SalesmanUser.UserInfo.UsersName = v.Salesman.UserName
|
|
|
u.SalesmanUser.UserInfo.Phone = v.Salesman.UserPhone
|
|
|
u.ReferrerUser.UserId = v.Referrer.UserId
|
|
|
u.ReferrerUser.UserInfo.UsersId = v.Referrer.UserId
|
|
|
u.ReferrerUser.UserInfo.UsersName = v.Referrer.UserInfo.UserName
|
|
|
u.ReferrerUser.UserInfo.Phone = v.Referrer.UserInfo.UserPhone
|
|
|
u.ReferrerUser.UserInfo.UsersName = v.Referrer.UserName
|
|
|
u.ReferrerUser.UserInfo.Phone = v.Referrer.UserPhone
|
|
|
contractUndertaker = append(contractUndertaker, u)
|
|
|
}
|
|
|
undertakerTypesUncheckedAvailable := param.UndertakerTypesUncheckedAvailable
|
...
|
...
|
@@ -235,7 +235,7 @@ type CooperationContractUndertake struct { |
|
|
Attachment []domain.Attachment `json:"attachment"`
|
|
|
}
|
|
|
|
|
|
func ToCooperationContractUndertake(allied_creation_cooperation.DataCooperationContractSearchByUndertaker) *CooperationContractUndertake {
|
|
|
data := CooperationContractUndertake{}
|
|
|
return &data
|
|
|
} |
|
|
// func ToCooperationContractUndertake(allied_creation_cooperation.DataCooperationContractSearchByUndertaker) *CooperationContractUndertake {
|
|
|
// data := CooperationContractUndertake{}
|
|
|
// return &data
|
|
|
// } |
...
|
...
|
|