Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
lijiahangmax
2024-06-30 01:14:58 +08:00
67 changed files with 497 additions and 310 deletions

View File

@@ -27,7 +27,7 @@ import java.util.Map;
public class PreferenceUpdatePartialRequest implements Serializable {
@NotBlank
@Size(max = 12)
@Size(max = 16)
@Schema(description = "类型")
private String type;

View File

@@ -25,7 +25,7 @@ import java.io.Serializable;
public class PreferenceUpdateRequest implements Serializable {
@NotBlank
@Size(max = 12)
@Size(max = 16)
@Schema(description = "类型")
private String type;

View File

@@ -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")

View File

@@ -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();