【issues/I471XE】 钉钉人员同步时手机号未能正确同步
issues/2959 微服务版集成企业微信单点登录 【issues/2939】JEditable 下子表 addBefore()方法,在其中自定义调用其他方法不生效
This commit is contained in:
parent
d081ca0a46
commit
e726be7440
|
@ -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') {
|
||||
|
|
|
@ -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') {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
|
||||
// 因为唯一键约束的原因,如果原数据和旧数据相同,就不更新
|
||||
|
|
Loading…
Reference in New Issue