|
@@ -184,12 +184,12 @@ func ToCooperationContractInfo(param *allied_creation_cooperation.CooperationCon |
|
@@ -184,12 +184,12 @@ func ToCooperationContractInfo(param *allied_creation_cooperation.CooperationCon |
184
|
}
|
184
|
}
|
185
|
u.SalesmanUser.UserId = v.Salesman.UserId
|
185
|
u.SalesmanUser.UserId = v.Salesman.UserId
|
186
|
u.SalesmanUser.UserInfo.UsersId = v.Salesman.UserId
|
186
|
u.SalesmanUser.UserInfo.UsersId = v.Salesman.UserId
|
187
|
- u.SalesmanUser.UserInfo.UsersName = v.Salesman.UserInfo.UserName
|
|
|
188
|
- u.SalesmanUser.UserInfo.Phone = v.Salesman.UserInfo.UserPhone
|
187
|
+ u.SalesmanUser.UserInfo.UsersName = v.Salesman.UserName
|
|
|
188
|
+ u.SalesmanUser.UserInfo.Phone = v.Salesman.UserPhone
|
189
|
u.ReferrerUser.UserId = v.Referrer.UserId
|
189
|
u.ReferrerUser.UserId = v.Referrer.UserId
|
190
|
u.ReferrerUser.UserInfo.UsersId = v.Referrer.UserId
|
190
|
u.ReferrerUser.UserInfo.UsersId = v.Referrer.UserId
|
191
|
- u.ReferrerUser.UserInfo.UsersName = v.Referrer.UserInfo.UserName
|
|
|
192
|
- u.ReferrerUser.UserInfo.Phone = v.Referrer.UserInfo.UserPhone
|
191
|
+ u.ReferrerUser.UserInfo.UsersName = v.Referrer.UserName
|
|
|
192
|
+ u.ReferrerUser.UserInfo.Phone = v.Referrer.UserPhone
|
193
|
contractUndertaker = append(contractUndertaker, u)
|
193
|
contractUndertaker = append(contractUndertaker, u)
|
194
|
}
|
194
|
}
|
195
|
undertakerTypesUncheckedAvailable := param.UndertakerTypesUncheckedAvailable
|
195
|
undertakerTypesUncheckedAvailable := param.UndertakerTypesUncheckedAvailable
|
|
@@ -235,7 +235,7 @@ type CooperationContractUndertake struct { |
|
@@ -235,7 +235,7 @@ type CooperationContractUndertake struct { |
235
|
Attachment []domain.Attachment `json:"attachment"`
|
235
|
Attachment []domain.Attachment `json:"attachment"`
|
236
|
}
|
236
|
}
|
237
|
|
237
|
|
238
|
-func ToCooperationContractUndertake(allied_creation_cooperation.DataCooperationContractSearchByUndertaker) *CooperationContractUndertake {
|
|
|
239
|
- data := CooperationContractUndertake{}
|
|
|
240
|
- return &data
|
|
|
241
|
-} |
238
|
+// func ToCooperationContractUndertake(allied_creation_cooperation.DataCooperationContractSearchByUndertaker) *CooperationContractUndertake {
|
|
|
239
|
+// data := CooperationContractUndertake{}
|
|
|
240
|
+// return &data
|
|
|
241
|
+// } |