|
@@ -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
|