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
35d548ff
Commit
35d548ff
authored
Feb 18, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登记表生成代码优化 空指针处理
parent
a540d961
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/CommonServiceImpl.java
View file @
35d548ff
...
@@ -2337,10 +2337,10 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -2337,10 +2337,10 @@ public class CommonServiceImpl implements ICommonService {
LambdaQueryWrapper
<
TzBaseEnterpriseInfo
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
TzBaseEnterpriseInfo
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
TzBaseEnterpriseInfo:
:
getUseUnitCode
,
formData
.
getString
(
"useUnitCreditCode"
).
split
(
"_"
)[
0
]);
wrapper
.
eq
(
TzBaseEnterpriseInfo:
:
getUseUnitCode
,
formData
.
getString
(
"useUnitCreditCode"
).
split
(
"_"
)[
0
]);
String
address
=
enterpriseInfoMapper
.
selectOne
(
wrapper
).
getAddress
(
);
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
=
enterpriseInfoMapper
.
selectOne
(
wrapper
);
//使用单位地址
//使用单位地址
if
(
StringUtils
.
isNotEmpty
(
address
)){
if
(
Objects
.
nonNull
(
tzBaseEnterpriseInfo
)
&&
StringUtils
.
isNotEmpty
(
tzBaseEnterpriseInfo
.
getAddress
()
)){
formData
.
put
(
"useUnitAddress"
,
address
);
formData
.
put
(
"useUnitAddress"
,
tzBaseEnterpriseInfo
.
getAddress
()
);
}
}
}
}
//右下角日期
//右下角日期
...
...
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