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
d7c00b74
Commit
d7c00b74
authored
Jul 31, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(开通):bug修改
1.导出异常信息不抛处修改
parent
ed83939d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+2
-6
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
View file @
d7c00b74
...
...
@@ -1321,7 +1321,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
inspectionCompanyPublicityDtos
.
forEach
(
c
->
{
c
.
setDetectionRegion
(
this
.
castRegionCode2Name
(
c
.
getDetectionRegion
()));
c
.
setApprovalInfo
(
this
.
breakNewLineForApprovalInfo
(
c
.
getApprovalInfo
()));
c
.
setOpenBizType
(
this
.
castOpenBizTypeCode2
Name
(
c
.
getOpenBizType
()));
c
.
setOpenBizType
(
this
.
getOpenBizType
Name
(
c
.
getOpenBizType
()));
});
return
inspectionCompanyPublicityDtos
;
}
...
...
@@ -1336,15 +1336,11 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
return
""
;
}
private
String
castOpenBizTypeCode2Name
(
String
openBizType
)
{
return
OpenBizTypeEnum
.
getOneByCode
(
openBizType
).
getName
();
}
public
void
exportData
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
JyjcOpeningApplicationVo
>
exportData
=
jyjcOpeningApplicationMapper
.
queryJyjcOpeningApplicationListByIds
(
ids
);
for
(
JyjcOpeningApplicationVo
data
:
exportData
)
{
data
.
setOpenBizType
(
this
.
castOpenBizTypeCode2
Name
(
data
.
getOpenBizType
()));
data
.
setOpenBizType
(
this
.
getOpenBizType
Name
(
data
.
getOpenBizType
()));
}
ExcelUtil
.
createTemplate
(
response
,
"检验检测开通列表数据"
,
"检验检测开通列表"
,
exportData
,
JyjcOpeningApplicationVo
.
class
,
null
,
false
);
}
...
...
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