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
ea93fa69
Commit
ea93fa69
authored
Sep 01, 2025
by
hcing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(tcm):风险报送接口
parent
aaa6cc97
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
RiskReportServiceImpl.java
...ot/module/tcm/biz/service/impl/RiskReportServiceImpl.java
+16
-2
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/RiskReportServiceImpl.java
View file @
ea93fa69
...
@@ -331,8 +331,22 @@ public class RiskReportServiceImpl extends BaseService<RiskReport, RiskReport, R
...
@@ -331,8 +331,22 @@ public class RiskReportServiceImpl extends BaseService<RiskReport, RiskReport, R
riskReportDto
.
setRiskDisposalUnitCode
(
null
);
riskReportDto
.
setRiskDisposalUnitCode
(
null
);
riskReportDto
.
setReportCompanyCode
(
null
);
riskReportDto
.
setReportCompanyCode
(
null
);
// 清除单位名称中的code(个人主体)
// 清除单位名称中的code(个人主体)
riskReportDto
.
setRiskCompanyName
(
ValidationUtil
.
isEmpty
(
riskReportDto
.
getRiskCompanyName
())
?
null
:
riskReportDto
.
getRiskCompanyName
().
split
(
"_"
)[
1
]);
riskReportDto
.
setRiskCompanyName
(
riskReportDto
.
setReportCompanyName
(
ValidationUtil
.
isEmpty
(
riskReportDto
.
getReportCompanyName
())
?
null
:
riskReportDto
.
getReportCompanyName
().
split
(
"_"
)[
1
]);
Optional
.
ofNullable
(
riskReportDto
.
getRiskCompanyName
())
.
filter
(
s
->
!
ValidationUtil
.
isEmpty
(
s
))
.
map
(
s
->
s
.
split
(
"_"
))
.
filter
(
arr
->
arr
.
length
>
1
)
.
map
(
arr
->
arr
[
1
])
.
orElse
(
riskReportDto
.
getRiskCompanyName
())
);
riskReportDto
.
setReportCompanyName
(
Optional
.
ofNullable
(
riskReportDto
.
getReportCompanyName
())
.
filter
(
s
->
!
ValidationUtil
.
isEmpty
(
s
))
.
map
(
s
->
s
.
split
(
"_"
))
.
filter
(
arr
->
arr
.
length
>
1
)
.
map
(
arr
->
arr
[
1
])
.
orElse
(
riskReportDto
.
getReportCompanyName
())
);
riskReportDto
.
setRiskProcesses
(
riskProcesses
);
riskReportDto
.
setRiskProcesses
(
riskProcesses
);
if
(
riskReport
.
getRiskCompanySeq
()
!=
null
)
{
if
(
riskReport
.
getRiskCompanySeq
()
!=
null
)
{
riskReportDto
.
setRiskCompany
(
riskReport
.
getRiskCompanySeq
()
+
"_"
+
riskReport
.
getRiskCompanyName
());
riskReportDto
.
setRiskCompany
(
riskReport
.
getRiskCompanySeq
()
+
"_"
+
riskReport
.
getRiskCompanyName
());
...
...
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