From c97a9cd2fc453fcf3b7e7bc1f24e45fa318040a1 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期五, 08 十一月 2024 11:27:02 +0800 Subject: [PATCH] 解决mqtt会话无租户信息时数据查询问题 --- jeecg-module-dry/jeecg-module-dry-start/src/main/test/java/com/lanbao/AiTest.java | 54 +++++++++++++++++++++++++++--------------------------- 1 files changed, 27 insertions(+), 27 deletions(-) diff --git a/jeecg-module-dry/jeecg-module-dry-start/src/main/test/java/com/lanbao/AiTest.java b/jeecg-module-dry/jeecg-module-dry-start/src/main/test/java/com/lanbao/AiTest.java index 4f2a6c3..0c39a55 100644 --- a/jeecg-module-dry/jeecg-module-dry-start/src/main/test/java/com/lanbao/AiTest.java +++ b/jeecg-module-dry/jeecg-module-dry-start/src/main/test/java/com/lanbao/AiTest.java @@ -1,27 +1,27 @@ -package com.lanbao; - -import ai.djl.modality.Classifications; -import org.jeecg.modules.dry.util.HerbUtil; -import org.junit.Test; - -import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.InputStream; -import java.util.List; - -public class AiTest { - @Test - public void test() { - try { - String img = "E:\\testImg\\szp1.jpg"; - HerbUtil herbUtil = new HerbUtil(); - File file = new File(img); - InputStream is = new FileInputStream(file); - List<Classifications.Classification> predict = herbUtil.predict(is); - System.out.println(predict); - } catch (FileNotFoundException e) { - throw new RuntimeException(e); - } - } -} +//package com.lanbao; +// +//import ai.djl.modality.Classifications; +//import org.jeecg.modules.dry.util.HerbUtil; +//import org.junit.Test; +// +//import java.io.File; +//import java.io.FileInputStream; +//import java.io.FileNotFoundException; +//import java.io.InputStream; +//import java.util.List; +// +//public class AiTest { +// @Test +// public void test() { +// try { +// String img = "E:\\testImg\\szp1.jpg"; +// HerbUtil herbUtil = new HerbUtil(); +// File file = new File(img); +// InputStream is = new FileInputStream(file); +// List<Classifications.Classification> predict = herbUtil.predict(is); +// System.out.println(predict); +// } catch (FileNotFoundException e) { +// throw new RuntimeException(e); +// } +// } +//} -- Gitblit v1.9.3