From 727a1cb77772d2dfd4dc9f38a4b730058429c696 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Thu, 1 Dec 2022 13:13:56 -0500 Subject: [PATCH] =?UTF-8?q?USVT-117=20=E6=B7=BB=E5=8A=A0=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E7=9A=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/service/impl/MyFavouredVisaCaseService.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/northtecom/visatrack/api/service/impl/MyFavouredVisaCaseService.java b/src/main/java/com/northtecom/visatrack/api/service/impl/MyFavouredVisaCaseService.java index 77b5eff..317d8c0 100644 --- a/src/main/java/com/northtecom/visatrack/api/service/impl/MyFavouredVisaCaseService.java +++ b/src/main/java/com/northtecom/visatrack/api/service/impl/MyFavouredVisaCaseService.java @@ -11,9 +11,9 @@ import java.util.List; import java.util.stream.Collectors; /** - * Created with IntelliJ IDEA. + * VisaCase Service * - * @Author: XieYang + * @author XieYang, YuCheng * @Date: 2022/10/23/17:40 * @Description: */ @@ -64,6 +64,12 @@ public class MyFavouredVisaCaseService { return myFavouredVisaCaseRepository.findAllByUserId(userId).stream().collect(Collectors.toList()); } + /** + * Get follow cases by userId + * + * @param userId + * @return + */ public List queryFavouredVisaCases(Long userId) { log.info("Query user: {} favoured visa cases", userId);