...
|
...
|
@@ -49,11 +49,11 @@ func (cooperationContractService *CooperationContractService) CreateCooperationC |
|
|
underTakers := []allied_creation_cooperation.Undertaker{}
|
|
|
for _, v := range createCooperationContractCommand.Undertakers {
|
|
|
u := allied_creation_cooperation.Undertaker{
|
|
|
UndertakerId: v.UndertakerId,
|
|
|
UserId: v.UserId,
|
|
|
ReferrerId: v.RerferrerId,
|
|
|
SalesmanId: v.SalesmanId,
|
|
|
Attachment: v.Attachment,
|
|
|
UndertakerId: v.UndertakerId,
|
|
|
UserId: v.UserId,
|
|
|
ReferrerId: v.RerferrerId,
|
|
|
SalesmanId: v.SalesmanId,
|
|
|
ContractAttachment: v.Attachment,
|
|
|
}
|
|
|
underTakers = append(underTakers, u)
|
|
|
}
|
...
|
...
|
@@ -172,11 +172,11 @@ func (cooperationContractService *CooperationContractService) UpdateCooperationC |
|
|
underTakers := []allied_creation_cooperation.Undertaker{}
|
|
|
for _, v := range updateCooperationContractCommand.Undertakers {
|
|
|
u := allied_creation_cooperation.Undertaker{
|
|
|
UndertakerId: v.UndertakerId,
|
|
|
UserId: v.UserId,
|
|
|
ReferrerId: v.RerferrerId,
|
|
|
SalesmanId: v.SalesmanId,
|
|
|
Attachment: v.Attachment,
|
|
|
UndertakerId: v.UndertakerId,
|
|
|
UserId: v.UserId,
|
|
|
ReferrerId: v.RerferrerId,
|
|
|
SalesmanId: v.SalesmanId,
|
|
|
ContractAttachment: v.Attachment,
|
|
|
}
|
|
|
underTakers = append(underTakers, u)
|
|
|
}
|
...
|
...
|
|