Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
c935701d
Commit
c935701d
authored
Jul 01, 2025
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(tcm): 更新企业注册逻辑
- 修改了企业类型判断逻辑,改为全部企业类型生成对接数据账号 - 添加了同步平台ORG_CODE的方法 - 优化了代码结构,提高了可读性和可维护性
parent
f63215e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
c935701d
...
@@ -1109,7 +1109,6 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -1109,7 +1109,6 @@ public class TzBaseEnterpriseInfoServiceImpl
regUnitInfo
.
setName
(
tzBaseEnterpriseInfo
.
getUseUnit
());
regUnitInfo
.
setName
(
tzBaseEnterpriseInfo
.
getUseUnit
());
regUnitInfo
.
setUnitCode
(
tzBaseEnterpriseInfo
.
getUseCode
());
regUnitInfo
.
setUnitCode
(
tzBaseEnterpriseInfo
.
getUseCode
());
regUnitInfo
.
setManagementUnit
(
tzBaseEnterpriseInfo
.
getGoverningBody
());
regUnitInfo
.
setManagementUnit
(
tzBaseEnterpriseInfo
.
getGoverningBody
());
// regUnitInfo.setManagementUnitId(tzBaseEnterpriseInfo.getGoverningBody());
regUnitInfo
.
setProvince
(
tzBaseEnterpriseInfo
.
getProvince
());
regUnitInfo
.
setProvince
(
tzBaseEnterpriseInfo
.
getProvince
());
regUnitInfo
.
setCity
(
tzBaseEnterpriseInfo
.
getCity
());
regUnitInfo
.
setCity
(
tzBaseEnterpriseInfo
.
getCity
());
regUnitInfo
.
setDistrict
(
tzBaseEnterpriseInfo
.
getDistrict
());
regUnitInfo
.
setDistrict
(
tzBaseEnterpriseInfo
.
getDistrict
());
...
@@ -1118,6 +1117,7 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -1118,6 +1117,7 @@ public class TzBaseEnterpriseInfoServiceImpl
regUnitInfo
.
setContactPerson
(
tzBaseEnterpriseInfo
.
getUseContact
());
regUnitInfo
.
setContactPerson
(
tzBaseEnterpriseInfo
.
getUseContact
());
// 处理单位信息
// 处理单位信息
handleUnitType
(
map
,
regUnitInfo
,
agencyUserModel
);
handleUnitType
(
map
,
regUnitInfo
,
agencyUserModel
);
String
[]
unitTypes
=
regUnitInfo
.
getUnitType
().
split
(
","
);
String
[]
unitTypes
=
regUnitInfo
.
getUnitType
().
split
(
","
);
regUnitInfoService
.
saveOrUpdate
(
regUnitInfo
);
regUnitInfoService
.
saveOrUpdate
(
regUnitInfo
);
...
@@ -1190,10 +1190,10 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -1190,10 +1190,10 @@ public class TzBaseEnterpriseInfoServiceImpl
}
}
updateUnit
(
map
,
regUnitInfo
,
agencyUserModel
,
updateModel
);
updateUnit
(
map
,
regUnitInfo
,
agencyUserModel
,
updateModel
);
updateUserInfo
(
newData
,
String
.
valueOf
(
map
.
get
(
"useCode"
)));
updateUserInfo
(
newData
,
String
.
valueOf
(
map
.
get
(
"useCode"
)));
asyncPlatformCompany
(
map
,
agencyUserModel
);
redisUtil
.
del
(
RedisKey
.
buildReginRoleKey
(
agencyUserModel
.
getUserId
()));
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
=
new
TzBaseEnterpriseInfoDto
();
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
=
new
TzBaseEnterpriseInfoDto
();
BeanUtils
.
copyProperties
(
tzBaseEnterpriseInfo
,
tzBaseEnterpriseInfoDto
);
BeanUtils
.
copyProperties
(
tzBaseEnterpriseInfo
,
tzBaseEnterpriseInfoDto
);
redisUtil
.
del
(
RedisKey
.
buildReginRoleKey
(
agencyUserModel
.
getUserId
()));
this
.
asyncPlatformCompany
(
map
,
agencyUserModel
);
return
tzBaseEnterpriseInfoDto
;
return
tzBaseEnterpriseInfoDto
;
}
else
{
}
else
{
return
null
;
return
null
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment