刘韬 1 年之前
父节点
当前提交
44b0e0a042
共有 1 个文件被更改,包括 16 次插入1 次删除
  1. 16 1
      DataFusion/src/com/zskk/control/ViewController.java

+ 16 - 1
DataFusion/src/com/zskk/control/ViewController.java

@@ -118,7 +118,7 @@ public class ViewController extends Controller {
 		}
 	}
 	
-	public void testcdind() {
+	public void testcfind() {
 		try {
 			String dateString = "20230907";
 			String fileString = dateString.replace("0", "o");
@@ -133,6 +133,21 @@ public class ViewController extends Controller {
 		
 	}
 	
+	public void testcmove() {
+		try {
+			String dateString = "1.2.392.200036.9125.2.138612190166.20231012000329";
+			String fileString = dateString.replace("0", "o");
+			String execCmd = ExecUtil.execCmd("/zskk_system/other/cmove.sh " + dateString);
+			if (execCmd.contains("Connection refused")) {
+				return;
+			}
+		} catch (Exception e) {
+			// TODO: handle exception
+			this.renderText(e.toString());
+		}
+		
+	}
+	
 	public void tempmatch() {
 		
         String fileName2String ="";