Commit 6bf5cd66 by 杨伟程

日睡眠图表

parent a60d208e
......@@ -99,6 +99,11 @@ public class PlatElderChildrenInfoServiceImpl extends ServiceImpl<PlatElderChild
}
private void check(PlatElderChildrenInfoEditVO dto) {
if (true) {
return;
}
PlatElderChildrenInfo old = getOne(new QueryWrapper<PlatElderChildrenInfo>().lambda()
.eq(PlatElderChildrenInfo::getPhone, dto.getPhone()));
......
......@@ -47,6 +47,8 @@ public class PlatElderChildrenInfoUserLoginWechatServiceImpl implements PlatElde
PlatElderChildrenInfo childrenInfo = platElderChildrenInfoService.getOne(new QueryWrapper<PlatElderChildrenInfo>().lambda()
.eq(PlatElderChildrenInfo::getOpenid, userInfo.getOpenId()));
//.eq(PlatElderChildrenInfo::getPhone, userInfo.getPhoneNumber()));
if (childrenInfo == null) {
childrenInfo = new PlatElderChildrenInfo();
......@@ -66,6 +68,7 @@ public class PlatElderChildrenInfoUserLoginWechatServiceImpl implements PlatElde
}
//childrenInfo.setOpenid(userInfo.getOpenId());
childrenInfo.setPhone(userInfo.getPhoneNumber());
childrenInfo.setAvatar(userInfo.getAvatarUrl());
......
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