Commit 756e8dd7 by huangjy

fix:子女端登陆问题

parent 7206b73a
...@@ -247,6 +247,9 @@ public class PlatElderChildrenInfoServiceImpl extends ServiceImpl<PlatElderChild ...@@ -247,6 +247,9 @@ public class PlatElderChildrenInfoServiceImpl extends ServiceImpl<PlatElderChild
PlatElderChildrenInfo newChildrenInfo = new PlatElderChildrenInfo(); PlatElderChildrenInfo newChildrenInfo = new PlatElderChildrenInfo();
PlatElder platElder = platElderService.getById(elderId); PlatElder platElder = platElderService.getById(elderId);
if (platElder == null) {
throw new RuntimeException("找不到要绑定的长者");
}
newChildrenInfo.setTenantId(platElder.getTenantId()); newChildrenInfo.setTenantId(platElder.getTenantId());
newChildrenInfo.setOpenid(childrenInfo.getOpenid()); newChildrenInfo.setOpenid(childrenInfo.getOpenid());
newChildrenInfo.setPhone(childrenInfo.getPhone()); newChildrenInfo.setPhone(childrenInfo.getPhone());
......
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