Commit 9a527dcf by 杨伟程

老人增删改查

parent c62be521
...@@ -543,6 +543,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder ...@@ -543,6 +543,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
private void addOrEditExt(PlatElderDTOVO dto) { private void addOrEditExt(PlatElderDTOVO dto) {
List<PlatElderSocialRelation> relationList = BeanDtoVoUtils.listVo(dto.getRelationList(), PlatElderSocialRelation.class); List<PlatElderSocialRelation> relationList = BeanDtoVoUtils.listVo(dto.getRelationList(), PlatElderSocialRelation.class);
relationList.forEach(e -> { relationList.forEach(e -> {
e.setId(null);
e.setElderId(dto.getId()); e.setElderId(dto.getId());
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment