|
@@ -52,6 +52,7 @@ import com.fs.his.service.IFsStorePaymentService;
|
|
|
import com.fs.his.service.IFsUserService;
|
|
import com.fs.his.service.IFsUserService;
|
|
|
import com.fs.his.service.IFsUserWxService;
|
|
import com.fs.his.service.IFsUserWxService;
|
|
|
import com.fs.his.utils.ConfigUtil;
|
|
import com.fs.his.utils.ConfigUtil;
|
|
|
|
|
+import com.fs.his.utils.PhoneUtil;
|
|
|
import com.fs.his.vo.OptionsVO;
|
|
import com.fs.his.vo.OptionsVO;
|
|
|
import com.fs.qw.domain.*;
|
|
import com.fs.qw.domain.*;
|
|
|
import com.fs.qw.mapper.*;
|
|
import com.fs.qw.mapper.*;
|
|
@@ -580,6 +581,17 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ try {
|
|
|
|
|
+ //更新小程序用户手机号
|
|
|
|
|
+ if(StringUtils.isEmpty(user.getPhone()) && StringUtils.isNotEmpty(UnionEXt.getFsUserPhone())) {
|
|
|
|
|
+ FsUser mapUser = new FsUser();
|
|
|
|
|
+ mapUser.setUserId(user.getUserId());
|
|
|
|
|
+ mapUser.setPhone(UnionEXt.getFsUserPhone());
|
|
|
|
|
+ fsUserMapper.updateFsUser(mapUser);
|
|
|
|
|
+ }
|
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
|
+ log.error("更新小程序用户手机号失败,fsUserId:{}",user.getUserId());
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
log.info("匹配到的第一个企微用户:"+UnionEXt.getUserId());
|
|
log.info("匹配到的第一个企微用户:"+UnionEXt.getUserId());
|
|
@@ -739,6 +751,10 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
user.setUserId(param.getUserId());
|
|
user.setUserId(param.getUserId());
|
|
|
user.setIsAddQw(1);
|
|
user.setIsAddQw(1);
|
|
|
user.setQwExtId(param.getQwExternalId());
|
|
user.setQwExtId(param.getQwExternalId());
|
|
|
|
|
+ //小程序用户手机号
|
|
|
|
|
+ if (StringUtils.isEmpty(fsUser.getPhone())) {
|
|
|
|
|
+ user.setPhone(externalContact.getFsUserPhone());
|
|
|
|
|
+ }
|
|
|
fsUserMapper.updateFsUser(user);
|
|
fsUserMapper.updateFsUser(user);
|
|
|
|
|
|
|
|
|
|
|