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
5d39036d
Commit
5d39036d
authored
Jun 22, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出BUGFIX
parent
97218446
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+3
-3
JgTableDataExportServiceImpl.java
...ule/jg/biz/service/impl/JgTableDataExportServiceImpl.java
+2
-2
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
5d39036d
...
@@ -333,15 +333,15 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -333,15 +333,15 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
String
fieldName
=
field
.
getName
();
String
fieldName
=
field
.
getName
();
field
.
setAccessible
(
true
);
field
.
setAccessible
(
true
);
String
underscoreFieldName
=
StringUtils
.
camelToUnderline
(
fieldName
).
toUpperCase
();
String
underscoreFieldName
=
StringUtils
.
camelToUnderline
(
fieldName
).
toUpperCase
();
Object
value
;
Object
value
=
null
;
try
{
try
{
value
=
field
.
get
(
object
);
value
=
field
.
get
(
object
);
// 需要转为jsonArray的字段
// 需要转为jsonArray的字段
if
(!
ValidationUtil
.
isEmpty
(
strToJsonArrayFields
)
&&
Arrays
.
asList
(
strToJsonArrayFields
).
contains
(
underscoreFieldName
)
&&
value
instanceof
String
)
{
if
(!
ValidationUtil
.
isEmpty
(
strToJsonArrayFields
)
&&
Arrays
.
asList
(
strToJsonArrayFields
).
contains
(
underscoreFieldName
)
&&
value
instanceof
String
)
{
value
=
JSON
.
parse
((
String
)
field
.
get
(
object
));
value
=
JSON
.
parse
((
String
)
field
.
get
(
object
));
}
}
}
catch
(
IllegalAccess
Exception
e
)
{
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
log
.
warn
(
"JSON转化失败:{}"
,
e
.
getMessage
()
);
}
}
if
(!
ValidationUtil
.
isEmpty
(
value
))
{
if
(!
ValidationUtil
.
isEmpty
(
value
))
{
result
.
put
(
underscoreFieldName
.
toUpperCase
(),
value
);
result
.
put
(
underscoreFieldName
.
toUpperCase
(),
value
);
...
...
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/JgTableDataExportServiceImpl.java
View file @
5d39036d
...
@@ -844,7 +844,7 @@ public class JgTableDataExportServiceImpl implements IJgTableDataExportService {
...
@@ -844,7 +844,7 @@ public class JgTableDataExportServiceImpl implements IJgTableDataExportService {
int
totalPage
=
(
int
)
Math
.
ceil
((
double
)
pageResult
.
getTotal
()
/
PAGE_SIZE
);
int
totalPage
=
(
int
)
Math
.
ceil
((
double
)
pageResult
.
getTotal
()
/
PAGE_SIZE
);
List
<
CompletableFuture
<
List
<
String
>>>
futures
=
new
ArrayList
<>();
List
<
CompletableFuture
<
List
<
String
>>>
futures
=
new
ArrayList
<>();
List
<
String
>
idsCollected
=
pageResult
.
getRecords
().
stream
()
List
<
String
>
idsCollected
=
pageResult
.
getRecords
().
stream
()
.
map
(
item
->
i
sAdmin
?
item
.
getOrDefault
(
"uid"
,
null
)
:
i
tem
.
getOrDefault
(
"sequenceNbr"
,
null
))
.
map
(
item
->
item
.
getOrDefault
(
"sequenceNbr"
,
null
))
.
filter
(
Objects:
:
nonNull
)
.
filter
(
Objects:
:
nonNull
)
.
map
(
String:
:
valueOf
)
.
map
(
String:
:
valueOf
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
@@ -857,7 +857,7 @@ public class JgTableDataExportServiceImpl implements IJgTableDataExportService {
...
@@ -857,7 +857,7 @@ public class JgTableDataExportServiceImpl implements IJgTableDataExportService {
tcmServiceFeignClient
.
page
(
String
.
valueOf
(
pageIndex
),
String
.
valueOf
(
PAGE_SIZE
),
null
,
map
);
tcmServiceFeignClient
.
page
(
String
.
valueOf
(
pageIndex
),
String
.
valueOf
(
PAGE_SIZE
),
null
,
map
);
Page
<
Map
<
String
,
String
>>
resultPage
=
page1
.
getResult
();
Page
<
Map
<
String
,
String
>>
resultPage
=
page1
.
getResult
();
return
resultPage
.
getRecords
().
stream
()
return
resultPage
.
getRecords
().
stream
()
.
map
(
item
->
i
sAdmin
?
item
.
getOrDefault
(
"uid"
,
null
)
:
i
tem
.
getOrDefault
(
"sequenceNbr"
,
null
))
.
map
(
item
->
item
.
getOrDefault
(
"sequenceNbr"
,
null
))
.
filter
(
Objects:
:
nonNull
)
.
filter
(
Objects:
:
nonNull
)
.
map
(
String:
:
valueOf
)
.
map
(
String:
:
valueOf
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
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