diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WechatServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WechatServiceImpl.java index bb10279..e9282dd 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WechatServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WechatServiceImpl.java @@ -171,6 +171,8 @@ public class WechatServiceImpl implements IWechatService { tDoctor.setUpdateTime(new Date()); tDoctor.setUserId(sysUser.getUserId()); tDoctorMapper.insertTDoctor(tDoctor); + tDoctor.setIdentifier("10000000" + tDoctor.getId()); + tDoctorMapper.updateTDoctor(tDoctor); wechatUser.setUserId(tDoctor.getId()); }