【issues/I471XE】 钉钉人员同步时手机号未能正确同步

issues/2959 微服务版集成企业微信单点登录
【issues/2939】JEditable 下子表 addBefore()方法,在其中自定义调用其他方法不生效
This commit is contained in:
zhangdaiscott 2021-08-31 22:34:24 +08:00
parent d081ca0a46
commit e726be7440
4 changed files with 8 additions and 1 deletions

View File

@ -53,6 +53,7 @@ export const JEditableTableMixin = {
this.tableReset();
resolve();
}).then(() => {
if (typeof this.addBefore === 'function') this.addBefore()
// 默认新增空数据
let rowNum = this.addDefaultRowNum
if (typeof rowNum !== 'number') {

View File

@ -51,6 +51,7 @@ export const JEditableTableModelMixin = {
this.tableReset();
resolve();
}).then(() => {
if (typeof this.addBefore === 'function') this.addBefore()
// 默认新增空数据
let rowNum = this.addDefaultRowNum
if (typeof rowNum !== 'number') {

View File

@ -25,6 +25,12 @@ public class RestUtil {
public static String getDomain() {
if (domain == null) {
domain = SpringContextUtils.getDomain();
// issues/2959
// 微服务版集成企业微信单点登录
// 因为微服务版没有端口号导致 SpringContextUtils.getDomain() 方法获取的域名的端口号变成了:-1所以出问题了只需要把这个-1给去掉就可以了
if (domain.endsWith(":-1")) {
domain = domain.substring(0, domain.length() - 3);
}
}
return domain;
}

View File

@ -538,7 +538,6 @@ public class ThirdAppDingtalkServiceImpl implements IThirdAppService {
SysUser sysUser = new SysUser();
BeanUtils.copyProperties(oldSysUser, sysUser);
sysUser.setRealname(dtUser.getName());
sysUser.setPhone(dtUser.getMobile());
sysUser.setTelephone(dtUser.getTelephone());
// 因为唯一键约束的原因如果原数据和旧数据相同就不更新