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; }