Merge remote-tracking branch 'yx/250324-casebugfix-zsh' into test

This commit is contained in:
joshen
2025-03-24 17:49:26 +08:00

View File

@@ -59,6 +59,7 @@ public class DataUserSyncServiceImpl implements IDataUserSyncService {
a.setDeleted(user.getDeleted()); a.setDeleted(user.getDeleted());
} }
a.setLoginName(user.getCode()); a.setLoginName(user.getCode());
a.setMobile(user.getMobile());
log.info("更新账号code"); log.info("更新账号code");
accountDao.update(a); accountDao.update(a);
} else { } else {
@@ -71,6 +72,7 @@ public class DataUserSyncServiceImpl implements IDataUserSyncService {
a.setRegTime(LocalDateTime.now()); a.setRegTime(LocalDateTime.now());
a.setSysId(user.getKid()); a.setSysId(user.getKid());
a.setStatus(1); a.setStatus(1);
a.setMobile(user.getMobile());
accountDao.save(a); accountDao.save(a);
log.info("账号不存在,新添加账号【" + user.getId() + ""); log.info("账号不存在,新添加账号【" + user.getId() + "");
} }