diff --git a/app/src/main/java/com/example/bpa/app/BusinessServer.java b/app/src/main/java/com/example/bpa/app/BusinessServer.java index f901a83..5ea1e6c 100644 --- a/app/src/main/java/com/example/bpa/app/BusinessServer.java +++ b/app/src/main/java/com/example/bpa/app/BusinessServer.java @@ -36,9 +36,9 @@ public class BusinessServer { @Override public void Run() throws InterruptedException { while (Commoditys.size() > 0) { - Commoditys.poll(); + String GoodId = Commoditys.poll(); + ArrayList goods = QueryDB.GetGoodsSrecipeList(GoodId); - ArrayList goods = QueryDB.GetGoodsSrecipeList(""); } Thread.sleep(1000); }