fix:文件列表展示数据时,需要文件夹在前面,文件在后面

This commit is contained in:
2026-02-05 10:45:32 +08:00
parent a54c51e659
commit 4b152eb21b
4 changed files with 30 additions and 3 deletions

View File

@@ -49,9 +49,25 @@ public enum DirTypeEnum {
* 报告模板库
*/
@Schema(description = "报告模板库文件夹", example = "8")
REPORT_TEMPLATE_DIR("reportTemplate", 8);
REPORT_TEMPLATE_DIR("reportTemplate", 8),
/*
* 机器人库
*/
@Schema(description = "机器人库文件夹", example = "9")
ROBOT_DIR("robot", 9),
/**
* 工业设计库
*/
@Schema(description = "工业设计库文件夹", example = "10")
INDUSTRIAL_DESIGN_DIR("industrialDesign", 10),
/**
* 公差分析库
*/
@Schema(description = "公差分析库文件夹", example = "11")
TOLERANCE_ANALYSIS_DIR("toleranceAnalysis", 11);
String dirName;
int value;