新增一般材料的导入

This commit is contained in:
chenxudong 2025-07-03 11:06:35 +08:00
parent 276b4a0071
commit 3e96d36b36
1 changed files with 13 additions and 5 deletions

View File

@ -22,7 +22,7 @@
// // 辐射敏感均值曲线 // // 辐射敏感均值曲线
// @Test // @Test
// public void addFsmgjz() { // public void addFsmgjz() {
// List<String> parentIds = ListUtil.of("100424", "100436", "100437", "100438", "100439", "100440"); // List<String> parentIds = ListUtil.of("100574");
// String filePath = "D:\\datas\\struct\\辐射敏感均值曲线.txt"; // String filePath = "D:\\datas\\struct\\辐射敏感均值曲线.txt";
// add(parentIds, filePath); // add(parentIds, filePath);
// } // }
@ -30,7 +30,7 @@
// // 辐射敏感峰值曲线 // // 辐射敏感峰值曲线
// @Test // @Test
// public void addFsmgfz() { // public void addFsmgfz() {
// List<String> parentIds = ListUtil.of("100425", "100441", "100442", "100443", "100444", "100445"); // List<String> parentIds = ListUtil.of("100575");
// String filePath = "D:\\datas\\struct\\辐射敏感峰值曲线.txt"; // String filePath = "D:\\datas\\struct\\辐射敏感峰值曲线.txt";
// add(parentIds, filePath); // add(parentIds, filePath);
// } // }
@ -38,7 +38,7 @@
// // 传导敏感限值 // // 传导敏感限值
// @Test // @Test
// public void addCdmgxz() { // public void addCdmgxz() {
// List<String> parentIds = ListUtil.of("100423", "100431", "100432", "100433", "100434", "100435"); // List<String> parentIds = ListUtil.of("100573");
// String filePath = "D:\\datas\\struct\\传导敏感限值.txt"; // String filePath = "D:\\datas\\struct\\传导敏感限值.txt";
// add(parentIds, filePath); // add(parentIds, filePath);
// } // }
@ -46,7 +46,7 @@
// // PEC // // PEC
// @Test // @Test
// public void addPec() { // public void addPec() {
// List<String> parentIds = ListUtil.of("100060"); // List<String> parentIds = ListUtil.of("100578");
// String filePath = "D:\\datas\\struct\\PEC.txt"; // String filePath = "D:\\datas\\struct\\PEC.txt";
// add(parentIds, filePath); // add(parentIds, filePath);
// } // }
@ -70,11 +70,19 @@
// // 色散材料 // // 色散材料
// @Test // @Test
// public void addSscl() { // public void addSscl() {
// List<String> parentIds = ListUtil.of("100058"); // List<String> parentIds = ListUtil.of("100577");
// String filePath = "D:\\datas\\struct\\色散材料.txt"; // String filePath = "D:\\datas\\struct\\色散材料.txt";
// add(parentIds, filePath); // add(parentIds, filePath);
// } // }
// //
// // 一般材料
// @Test
// public void addybcl() {
// List<String> parentIds = ListUtil.of("100576");
// String filePath = "D:\\datas\\struct\\一般材料.txt";
// add(parentIds, filePath);
// }
//
// private void add(List<String> parentIds, String filePath) { // private void add(List<String> parentIds, String filePath) {
// List<String> lines = FileUtil.readLines(filePath, Charset.defaultCharset()); // List<String> lines = FileUtil.readLines(filePath, Charset.defaultCharset());
// for (String parendId : parentIds) { // for (String parendId : parentIds) {