|
@@ -68,24 +68,28 @@ public class ArchiveAutoPdfServiceImpl implements IArchiveAutoPdfService {
|
|
|
public void test1() {
|
|
|
|
|
|
Long pkeyId = SnowFlakeUtil.getId();
|
|
|
-
|
|
|
- String file_path = "D:\\tmp";
|
|
|
- String excelUrl = file_path + "\\备考表.xlsx";
|
|
|
-
|
|
|
- Map<String, Object> DataInfo = new HashMap<>();
|
|
|
-
|
|
|
- DataVO dataVO = FormulaUtil.convertCellToIndex("C2");
|
|
|
- String key = "1__"+ dataVO.getY() + "_" + dataVO.getX();
|
|
|
- DataInfo.put(key,"档号123456");
|
|
|
-
|
|
|
- DataVO dataVO1 = FormulaUtil.convertCellToIndex("A9");
|
|
|
- String key1 = "2__"+ dataVO1.getY() + "_" + dataVO1.getX();
|
|
|
- DataInfo.put(key1,"hahahahaa");
|
|
|
- try {
|
|
|
- String url = getBussPdfInfo(pkeyId.toString(),DataInfo,excelUrl,file_path);
|
|
|
- } catch (Exception e) {
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
+ String file2 = "upload/20230413/306c87ffc640699aa92d53a5f4e6d632.xlsx";
|
|
|
+ List<String> files = new ArrayList<>();
|
|
|
+ files.add(file2);
|
|
|
+ BladeFile bladeFile = newIOSSClient.uploadFile1(file2,"123");
|
|
|
+
|
|
|
+// String file_path = "D:\\tmp";
|
|
|
+// String excelUrl = file_path + "\\备考表.xlsx";
|
|
|
+//
|
|
|
+// Map<String, Object> DataInfo = new HashMap<>();
|
|
|
+//
|
|
|
+// DataVO dataVO = FormulaUtil.convertCellToIndex("C2");
|
|
|
+// String key = "1__"+ dataVO.getY() + "_" + dataVO.getX();
|
|
|
+// DataInfo.put(key,"档号123456");
|
|
|
+//
|
|
|
+// DataVO dataVO1 = FormulaUtil.convertCellToIndex("A9");
|
|
|
+// String key1 = "2__"+ dataVO1.getY() + "_" + dataVO1.getX();
|
|
|
+// DataInfo.put(key1,"hahahahaa");
|
|
|
+// try {
|
|
|
+// String url = getBussPdfInfo(pkeyId.toString(),DataInfo,excelUrl,file_path);
|
|
|
+// } catch (Exception e) {
|
|
|
+// e.printStackTrace();
|
|
|
+// }
|
|
|
|
|
|
System.out.println();
|
|
|
|