...
|
...
|
@@ -570,7 +570,12 @@ func (userService *UserService) UpdateCooperator(updateCooperatorCommand *comman |
|
|
Avatar: updateCooperatorCommand.Avatar,
|
|
|
Email: updateCooperatorCommand.Email,
|
|
|
}
|
|
|
|
|
|
user.CooperationInfo = &domain.CooperationInfo{
|
|
|
CooperationCompany: updateCooperatorCommand.CooperationCompany,
|
|
|
}
|
|
|
if !updateCooperatorCommand.CooperationDeadline.IsZero() {
|
|
|
user.CooperationInfo.CooperationDeadline = updateCooperatorCommand.CooperationDeadline
|
|
|
}
|
|
|
updateUserService, _ := factory.CreatePgUpdateUserService(map[string]interface{}{
|
|
|
"transactionContext": transactionContext,
|
|
|
})
|
...
|
...
|
|