Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a6d6cb1b
authored
Jan 19, 2026
by
gonglei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加入框架代码
1 parent
2e8088f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
aus-admin/src/main/java/com/glsx/usedcar/export/AccountBean.java
aus-admin/src/main/java/com/glsx/usedcar/export/AccountBean.java
View file @
a6d6cb1
...
@@ -20,6 +20,7 @@ import org.summerframework.storage.converter.FileInfoConverter;
...
@@ -20,6 +20,7 @@ import org.summerframework.storage.converter.FileInfoConverter;
import
org.summerframework.storage.domain.FileInfo
;
import
org.summerframework.storage.domain.FileInfo
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.List
;
import
static
jakarta
.
persistence
.
GenerationType
.
IDENTITY
;
import
static
jakarta
.
persistence
.
GenerationType
.
IDENTITY
;
...
@@ -114,7 +115,9 @@ public class AccountBean {
...
@@ -114,7 +115,9 @@ public class AccountBean {
this
.
accountType
=
account
.
getAccountType
();
this
.
accountType
=
account
.
getAccountType
();
this
.
frozenDeposit
=
account
.
getFrozenDeposit
();
this
.
frozenDeposit
=
account
.
getFrozenDeposit
();
if
(!
CollectionUtils
.
isEmpty
(
account
.
getAccountTags
()))
{
if
(!
CollectionUtils
.
isEmpty
(
account
.
getAccountTags
()))
{
List
<
String
>
list
=
account
.
getAccountTags
().
stream
().
map
(
AccountTag:
:
getTagName
).
toList
();
List
<
String
>
list
=
new
java
.
util
.
ArrayList
<>(
account
.
getAccountTags
().
stream
().
map
(
AccountTag:
:
getTagName
).
toList
());
// 1. 基础排序(自然顺序,大小写敏感)
Collections
.
sort
(
list
);
tags
=
String
.
join
(
"、"
,
list
);
tags
=
String
.
join
(
"、"
,
list
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment