Commit 35e87aeb authored by yangyang's avatar yangyang

fix(编辑企业信息): 移除同步单位下用户的逻辑,修复导致身份配置置空的bug

parent 99e7f983
...@@ -1183,7 +1183,6 @@ public class TzBaseEnterpriseInfoServiceImpl ...@@ -1183,7 +1183,6 @@ public class TzBaseEnterpriseInfoServiceImpl
log.info("更新企业信息, 注册用户 => {}", tzBaseEnterpriseInfo.getUseUnitCode()); log.info("更新企业信息, 注册用户 => {}", tzBaseEnterpriseInfo.getUseUnitCode());
updateUserInfo(newData, useCode); updateUserInfo(newData, useCode);
// 同步平台并且刷新历史数据 // 同步平台并且刷新历史数据
asyncPlatformAndRefreshHistoricalData(useCode);
TzBaseEnterpriseInfoDto tzBaseEnterpriseInfoDto = new TzBaseEnterpriseInfoDto(); TzBaseEnterpriseInfoDto tzBaseEnterpriseInfoDto = new TzBaseEnterpriseInfoDto();
BeanUtils.copyProperties(tzBaseEnterpriseInfo, tzBaseEnterpriseInfoDto); BeanUtils.copyProperties(tzBaseEnterpriseInfo, tzBaseEnterpriseInfoDto);
// 更新完成后清理缓存 // 更新完成后清理缓存
...@@ -1331,6 +1330,7 @@ public class TzBaseEnterpriseInfoServiceImpl ...@@ -1331,6 +1330,7 @@ public class TzBaseEnterpriseInfoServiceImpl
* @author yangyang * @author yangyang
* @date 2025/7/1 14:50 * @date 2025/7/1 14:50
*/ */
@Deprecated
public void asyncPlatformAndRefreshHistoricalData(String useCode) { public void asyncPlatformAndRefreshHistoricalData(String useCode) {
// 同步平台ORG_CODE // 同步平台ORG_CODE
LambdaQueryWrapper<TzsUserInfo> lambda = new QueryWrapper<TzsUserInfo>().lambda(); LambdaQueryWrapper<TzsUserInfo> lambda = new QueryWrapper<TzsUserInfo>().lambda();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment