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
d90b7d12
Commit
d90b7d12
authored
Oct 14, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(core): 调整officeRegion赋值
parent
94230c7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+2
-4
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 @
d90b7d12
...
@@ -211,8 +211,7 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -211,8 +211,7 @@ public class TzBaseEnterpriseInfoServiceImpl
.
seleteOne
(
Long
.
valueOf
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()));
.
seleteOne
(
Long
.
valueOf
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()));
if
(
result
.
getResult
()
!=
null
)
{
if
(
result
.
getResult
()
!=
null
)
{
tzBaseEnterpriseInfoDto
.
setSuperviseOrgCode
(
result
.
getResult
().
getOrgCode
());
tzBaseEnterpriseInfoDto
.
setSuperviseOrgCode
(
result
.
getResult
().
getOrgCode
());
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
=
this
.
baseMapper
.
selectOne
(
new
QueryWrapper
<
TzBaseEnterpriseInfo
>().
lambda
().
eq
(
TzBaseEnterpriseInfo:
:
getOrgCode
,
result
.
getResult
().
getOrgCode
()));
tzBaseEnterpriseInfoDto
.
setOfficeRegionStr
(
result
.
getResult
().
getCompanyCode
());
tzBaseEnterpriseInfoDto
.
setOfficeRegionStr
(
tzBaseEnterpriseInfo
.
getOfficeRegion
());
}
}
}
}
Page
<
TzBaseEnterpriseInfoDto
>
page
=
new
Page
<>(
pageParam
.
getCurrent
(),
pageParam
.
getSize
());
Page
<
TzBaseEnterpriseInfoDto
>
page
=
new
Page
<>(
pageParam
.
getCurrent
(),
pageParam
.
getSize
());
...
@@ -222,8 +221,7 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -222,8 +221,7 @@ public class TzBaseEnterpriseInfoServiceImpl
if
(!
ValidationUtil
.
isEmpty
(
companyType1
))
{
if
(!
ValidationUtil
.
isEmpty
(
companyType1
))
{
JSONObject
companyTypeJson
=
companyType1
.
get
(
0
);
JSONObject
companyTypeJson
=
companyType1
.
get
(
0
);
orgCode
=
companyTypeJson
.
getString
(
"orgCode"
);
orgCode
=
companyTypeJson
.
getString
(
"orgCode"
);
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
=
this
.
baseMapper
.
selectOne
(
new
QueryWrapper
<
TzBaseEnterpriseInfo
>().
lambda
().
eq
(
TzBaseEnterpriseInfo:
:
getOrgCode
,
orgCode
));
officeRegion
=
companyTypeJson
.
getString
(
"companyCode"
);
if
(!
ObjectUtils
.
isEmpty
(
tzBaseEnterpriseInfo
))
officeRegion
=
tzBaseEnterpriseInfo
.
getOfficeRegion
();
}
}
// if (!ValidationUtil.isEmpty(companyType1)) {
// if (!ValidationUtil.isEmpty(companyType1)) {
// for (JSONObject jsonObject : companyType1) {
// for (JSONObject jsonObject : companyType1) {
...
...
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