Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
a14b128d
Commit
a14b128d
authored
Jun 18, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.12-瓜子导出档案
parent
516c44a6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
TGzEmpInfoServiceImpl.java
.../v1/yifu/archives/service/impl/TGzEmpInfoServiceImpl.java
+2
-2
TGzOfferInfoServiceImpl.java
...1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
+1
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzEmpInfoServiceImpl.java
View file @
a14b128d
...
@@ -260,8 +260,8 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
...
@@ -260,8 +260,8 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
redisLabelMap
.
putAll
(
idLabelMap
);
redisLabelMap
.
putAll
(
idLabelMap
);
}
}
Map
<
String
,
String
>
nameAndDicTypeMap
=
new
HashMap
<>();
Map
<
String
,
String
>
nameAndDicTypeMap
=
new
HashMap
<>();
ExcelUtil
.
getDictMapAndExp
(
TGz
OfferInfoExportDetailVo
.
class
,
nameAndDicTypeMap
,
redisLabelMap
);
ExcelUtil
.
getDictMapAndExp
(
TGz
EmpInfoExportMain
.
class
,
nameAndDicTypeMap
,
redisLabelMap
);
ExcelWriter
excelWriter
=
EasyExcelFactory
.
write
(
out
,
TGz
OfferInfoExportMainVo
.
class
).
registerConverter
(
new
DictConverter
(
nameAndDicTypeMap
,
redisLabelMap
)).
build
();
ExcelWriter
excelWriter
=
EasyExcelFactory
.
write
(
out
,
TGz
EmpInfoExportMain
.
class
).
registerConverter
(
new
DictConverter
(
nameAndDicTypeMap
,
redisLabelMap
)).
build
();
int
index
=
0
;
int
index
=
0
;
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
WriteSheet
writeSheet
;
WriteSheet
writeSheet
;
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
View file @
a14b128d
...
@@ -579,7 +579,7 @@ public class TGzOfferInfoServiceImpl extends ServiceImpl<TGzOfferInfoMapper, TGz
...
@@ -579,7 +579,7 @@ public class TGzOfferInfoServiceImpl extends ServiceImpl<TGzOfferInfoMapper, TGz
response
.
setHeader
(
CommonConstants
.
CONTENT_DISPOSITION
,
CommonConstants
.
ATTACHMENT_FILENAME
+
URLEncoder
.
encode
(
fileName
,
CommonConstants
.
UTF8
));
response
.
setHeader
(
CommonConstants
.
CONTENT_DISPOSITION
,
CommonConstants
.
ATTACHMENT_FILENAME
+
URLEncoder
.
encode
(
fileName
,
CommonConstants
.
UTF8
));
Map
<
String
,
String
>
redisLabelMap
=
(
Map
<
String
,
String
>)
RedisUtil
.
redis
.
opsForValue
().
get
(
CacheConstants
.
REDIS_DICT_LABLE
);
Map
<
String
,
String
>
redisLabelMap
=
(
Map
<
String
,
String
>)
RedisUtil
.
redis
.
opsForValue
().
get
(
CacheConstants
.
REDIS_DICT_LABLE
);
Map
<
String
,
String
>
nameAndDicTypeMap
=
new
HashMap
<>();
Map
<
String
,
String
>
nameAndDicTypeMap
=
new
HashMap
<>();
ExcelUtil
.
getDictMapAndExp
(
TGzOfferInfoExport
Detail
Vo
.
class
,
nameAndDicTypeMap
,
redisLabelMap
);
ExcelUtil
.
getDictMapAndExp
(
TGzOfferInfoExport
Main
Vo
.
class
,
nameAndDicTypeMap
,
redisLabelMap
);
ExcelWriter
excelWriter
=
EasyExcelFactory
.
write
(
out
,
TGzOfferInfoExportMainVo
.
class
).
registerConverter
(
new
DictConverter
(
nameAndDicTypeMap
,
redisLabelMap
)).
build
();
ExcelWriter
excelWriter
=
EasyExcelFactory
.
write
(
out
,
TGzOfferInfoExportMainVo
.
class
).
registerConverter
(
new
DictConverter
(
nameAndDicTypeMap
,
redisLabelMap
)).
build
();
int
index
=
0
;
int
index
=
0
;
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
...
...
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