Quellcode durchsuchen

feat: 可靠性预计

NickOooo vor 1 Monat
Ursprung
Commit
d11e55c57a

+ 5 - 0
nationrel-module-rp-api/src/main/java/com/nationrel/modules/rp/entity/PredictionCategoryOptions.java

@@ -51,4 +51,9 @@ public class PredictionCategoryOptions implements Serializable {
     @Excel(name = "父编号", width = 15)
     @Schema(description = "父编号")
     private String parentCode;
+
+    /**提示*/
+    @Excel(name = "提示", width = 15)
+    @Schema(description = "提示")
+    private String placeholder;
 }

+ 1 - 0
nationrel-module-rp-biz/src/main/java/com/nationrel/modules/rp/service/impl/PredictionCategoryServiceImpl.java

@@ -125,6 +125,7 @@ public class PredictionCategoryServiceImpl extends ServiceImpl<PredictionCategor
                         categoryChildrenModel.setName(options.getName());
                         categoryChildrenModel.setReference(options.getReference());
                         categoryChildrenModel.setParentCode(options.getParentCode());
+                        categoryChildrenModel.setSelectPlaceholder(options.getPlaceholder());
                         return categoryChildrenModel;
                     }).toList();
                     predictionCategoryModel.setChildren(childrenModelList);

+ 2 - 2
nationrel-module-rp-biz/src/main/java/com/nationrel/modules/rp/service/impl/PredictionStruTreeServiceImpl.java

@@ -898,8 +898,8 @@ public class PredictionStruTreeServiceImpl extends ServiceImpl<PredictionStruTre
 
     private void pushData() {
         String[] path = new String[] {
-            "/Users/nijun/Desktop/可靠性预计-GJB 299C应力法-1微电路-类别&字段名称.xlsx",
-//            "/Users/nijun/Desktop/可靠性预计-GJB 299C应力法-2~4晶体管、二极管、光电子器件-类别&字段名称.xlsx",
+//            "/Users/nijun/Desktop/可靠性预计-GJB 299C应力法-1微电路-类别&字段名称.xlsx",
+            "/Users/nijun/Desktop/可靠性预计-GJB 299C应力法-2~4晶体管、二极管、光电子器件-类别&字段名称.xlsx",
         };
 //        ExcelReader reader = ExcelUtil.getReader(new File("/Users/nijun/Documents/文档/可靠性预计/GJB299C-1.xlsx"), 0);
 //        ExcelReader reader = ExcelUtil.getReader(new File("/Users/nijun/Documents/文档/可靠性预计/GJB299C-2~5.xlsx"), 0);