提交 e42b6a5d 编写于 作者: pengcheng.zhou's avatar pengcheng.zhou

修改获取医生微信信息接口

上级 db431a12
流水线 #30261 已失败 于阶段
in 1 second
...@@ -32,7 +32,7 @@ public class WechatServiceImpl implements WechatService { ...@@ -32,7 +32,7 @@ public class WechatServiceImpl implements WechatService {
public AccountWeChatInfoEntity getAccountWechatInfo(PicaUser user) { public AccountWeChatInfoEntity getAccountWechatInfo(PicaUser user) {
String unionId = doctorMapper.getUnionIdByDoctorId(user.getId()); String unionId = doctorMapper.getUnionIdByDoctorId(user.getId());
if(StringUtil.isEmpty(unionId)){ if(StringUtil.isEmpty(unionId)){
return null; return new AccountWeChatInfoEntity();
}else { }else {
return weChatInfoMapper.selectByUnionId(unionId); return weChatInfoMapper.selectByUnionId(unionId);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册