|
@@ -115,6 +115,7 @@ public class ChildService extends BaseService {
|
|
|
ContactModel contactModel = new ContactModel();
|
|
|
contactModel.setChildId(childId.getId());
|
|
|
contactModel.setRefId(userId.getId());
|
|
|
+ contactModel.setRemarkName(request.appellation());
|
|
|
contactModel.setRefType(UserType.USER.getValue());
|
|
|
contactModel.setRefRole(ContactRole.SUPER_ADMIN.getValue());
|
|
|
contactRepository.save(contactModel);
|
|
@@ -218,6 +219,7 @@ public class ChildService extends BaseService {
|
|
|
.setPhoneNumber(child.getPhoneNumber().number())
|
|
|
.setAreaCode(child.getPhoneNumber().areaCode())
|
|
|
.setBirthday(child.getBirthday())
|
|
|
+ .setGender(child.getGender().getValue())
|
|
|
.setWeight(child.getWeight())
|
|
|
.setHeight(child.getHeight())
|
|
|
.setAvatar(child.getAvatar())
|