Commit b18702bc authored by yangyang's avatar yangyang

fix(tcm): 更新企业信息时同步更新 appid

- 在更新企业基本信息时,将 regUnitInfo 的 appId 设置到 tzBaseEnterpriseInfo 中 - 确保企业信息的 appId 与注册单位信息保持一致
parent 7536eb34
......@@ -1170,6 +1170,7 @@ public class TzBaseEnterpriseInfoServiceImpl
JSONArray objects = JSON.parseArray(tzBaseEnterpriseInfo.getEquipCategory());
objects.forEach(item -> newData.add(item.toString()));
tzBaseEnterpriseInfo.setAppId(regUnitInfo.getAppId());
tzBaseEnterpriseInfo.setUnitType(String.join("#", unitTypes));
boolean b = tzBaseEnterpriseInfoService.updateById(tzBaseEnterpriseInfo);
......
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