Commit a6d6cb1b by gonglei

加入框架代码

1 parent 2e8088f6
......@@ -20,6 +20,7 @@ import org.summerframework.storage.converter.FileInfoConverter;
import org.summerframework.storage.domain.FileInfo;
import java.time.LocalDateTime;
import java.util.Collections;
import java.util.List;
import static jakarta.persistence.GenerationType.IDENTITY;
......@@ -114,7 +115,9 @@ public class AccountBean {
this.accountType = account.getAccountType();
this.frozenDeposit = account.getFrozenDeposit();
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);
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!