|
@@ -52,6 +52,7 @@ import com.fs.his.vo.FsUserVO;
|
|
|
import com.fs.his.vo.FsUserExportListVO;
|
|
|
import com.fs.his.vo.FsUserFollowDoctorVO;
|
|
|
import com.fs.his.vo.UserVo;
|
|
|
+import com.fs.im.service.OpenIMService;
|
|
|
import com.fs.qw.cache.IQwExternalContactCacheService;
|
|
|
import com.fs.qw.dto.FsUserTransferParamDTO;
|
|
|
import com.fs.qw.param.QwFsUserParam;
|
|
@@ -144,6 +145,8 @@ public class FsUserServiceImpl implements IFsUserService
|
|
|
@Autowired
|
|
|
private FsUserCourseCountMapper fsUserCourseCountMapper;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private OpenIMService openIMService;
|
|
|
|
|
|
/**
|
|
|
* 查询用户
|
|
@@ -1038,6 +1041,9 @@ public class FsUserServiceImpl implements IFsUserService
|
|
|
// this.setRepeatFansTag(param);
|
|
|
// }
|
|
|
|
|
|
+ // 与im账号绑定
|
|
|
+ openIMService.checkAndImportFriend(param.getCompanyUserId(), String.valueOf(param.getUserId()));
|
|
|
+
|
|
|
//如果是设置了需要进入小黑屋,则需要返回提示,否则正常返回
|
|
|
if(isDefaultBlack == 1){
|
|
|
return ResponseResult.fail(402, "已成功注册,待管理审核");
|