Commit 7f06a836 authored by fshenye's avatar fshenye

补充用户ID

parent f7780f60
......@@ -61,6 +61,7 @@ public class HphyPatientBaseController {
patient.setId(base.getId());
} else {
patient.setPhone(current.getPhone());
patient.setUserId(current.getId());
}
// 身份证验证
if (StrUtil.isBlank(patient.getCertId())) {
......
......@@ -37,6 +37,7 @@ public class HphyPatientBaseServiceImpl extends ServiceImpl<HphyPatientBaseMappe
public HphyPatientBase saveSSbInfo(CurrentUser current, WDUserInfo userInfo, List<WDUserCardInfo> cardList) {
if (ObjectUtil.isNotNull(userInfo)) {
HphyPatientBase base = new HphyPatientBase();
base.setUserId(current.getId());
base.setOpenId(current.getOpenId());
base.setPhone(userInfo.getMobile());
base.setName(userInfo.getUsername());
......
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 to comment