From bf95078dab81dcd0639fdb1a41e998b31c940fb1 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 24 三月 2026 09:37:04 +0800
Subject: [PATCH] 采集器调整3

---
 src/main/java/com/chinaztt/mes/docx/controller/DocxController.java |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/main/java/com/chinaztt/mes/docx/controller/DocxController.java b/src/main/java/com/chinaztt/mes/docx/controller/DocxController.java
index a031ec0..7c4e04d 100644
--- a/src/main/java/com/chinaztt/mes/docx/controller/DocxController.java
+++ b/src/main/java/com/chinaztt/mes/docx/controller/DocxController.java
@@ -2,7 +2,7 @@
 
 import com.chinaztt.mes.docx.dto.GetFileDto;
 import com.chinaztt.mes.docx.service.DocxService;
-import com.chinaztt.mes.docx.util.R;
+import com.chinaztt.mes.docx.util.Result;
 import net.sourceforge.tess4j.TesseractException;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
@@ -21,19 +21,18 @@
     private DocxService docxService;
 
     @GetMapping("/getFile")
-    public R<?> getFile(GetFileDto getFileDto) throws IOException, SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException, TesseractException {
+    public Result<?> getFile(GetFileDto getFileDto) throws IOException, SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException, TesseractException {
         return docxService.getFile(getFileDto);
     }
 
     @GetMapping("/moveFile")
-    public R<?> moveFile(String startFilePath, String endFilePath, String fileType) {
+    public Result<?> moveFile(String startFilePath, String endFilePath, String fileType) {
         return docxService.moveFile(startFilePath, endFilePath, fileType);
     }
 
-
-    @GetMapping("/test")
-    public void test() {
-         docxService.test();
+    @GetMapping("/readXml")
+    public void readXml() {
+         docxService.readXml();
     }
 
 }

--
Gitblit v1.9.3