|
|
@@ -34,8 +34,11 @@ public class EnterpriseController {
|
|
|
// 为兼容以前模式,同时知会下管理系统。管理系统主要为了获取企业uu
|
|
|
try {
|
|
|
userSpace = syncToManager(userSpace, userSpaceDetail);
|
|
|
+ // 从管理系统保存完,dialectUID是管理系统masters.id
|
|
|
enterprise.setEnMasterId(Long.parseLong(userSpace.getDialectUID()));
|
|
|
enterpriseService.save(enterprise);
|
|
|
+ // 返回给账户中心的,dialectUID表示商务平台的en_uu
|
|
|
+ userSpace.setDialectUID(String.valueOf(enterprise.getUu()));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
throw e;
|