🐛 字典值排序无效.
This commit is contained in:
@@ -29,7 +29,7 @@ public class TerminalPreferenceStrategy extends AbstractGenericsDataStrategy<Ter
|
||||
.builder()
|
||||
.fontFamily("_")
|
||||
.fontSize(14)
|
||||
.lineHeight(1.12)
|
||||
.lineHeight(1.20)
|
||||
.letterSpacing(0)
|
||||
.fontWeight("normal")
|
||||
.fontWeightBold("bold")
|
||||
|
||||
@@ -396,6 +396,7 @@ public class DictValueServiceImpl implements DictValueService {
|
||||
Map<String, String> schema = dictKeyService.getDictSchema(key);
|
||||
// 转换
|
||||
return values.stream()
|
||||
.sorted(Comparator.comparing(DictValueDO::getSort))
|
||||
.map(s -> {
|
||||
// 设置值
|
||||
JSONObject item = new JSONObject();
|
||||
|
||||
Reference in New Issue
Block a user