From 2803ea6a5b38bb8403c19031e03e8f5d416b4cae Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Mon, 25 Jul 2022 14:08:41 +0800 Subject: [PATCH] 1 --- .../main/java/com/hai/service/impl/ApiProductServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hai-service/src/main/java/com/hai/service/impl/ApiProductServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/ApiProductServiceImpl.java index e9201c6f..917d30c3 100644 --- a/hai-service/src/main/java/com/hai/service/impl/ApiProductServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/ApiProductServiceImpl.java @@ -394,7 +394,7 @@ public class ApiProductServiceImpl implements ApiProductService { List apiKfcStores = apiKfcStoresMapper.selectByExample(example); if (apiKfcStores.size() > 0) { - apiKfcStores.get(0); + return apiKfcStores.get(0); } return null; }