From aa38e02e2b970070b85855a203dc1d157c3f0fc9 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Mon, 25 Jul 2022 14:09:29 +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..2e1a1c8a 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; }