LAPTOP-5NTQJPUS\LT 1 year ago
parent
commit
a4aedc8211
1 changed files with 4 additions and 2 deletions
  1. 4 2
      DataFusion/src/com/zskk/control/ViewController.java

+ 4 - 2
DataFusion/src/com/zskk/control/ViewController.java

@@ -64,9 +64,11 @@ public class ViewController extends Controller {
 	
 	public void testDown() {
 		try {
+//			DataService dService = ServiceFactory.getService(DataService.class);
+//			dService.downloadFtpFile("20220112\\\\011122C0.img","011122C0.img");
 			DataService dService = ServiceFactory.getService(DataService.class);
-			dService.downloadFtpFile("20220112\\\\011122C0.img","011122C0.img");
-
+			Record recordfind = Db.use("local").findFirst("select * from study where status=1 order by createAt asc");
+			this.renderJson(recordfind);
 
 		} catch (Exception e) {
 			// TODO: handle exception