USVT-117 添加方法的注释

This commit is contained in:
YuCheng Hu 2022-12-01 13:13:56 -05:00
parent ebdb481fde
commit 727a1cb777
1 changed files with 8 additions and 2 deletions

View File

@ -11,9 +11,9 @@ import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
/** /**
* Created with IntelliJ IDEA. * VisaCase Service
* *
* @Author: XieYang * @author XieYang, YuCheng
* @Date: 2022/10/23/17:40 * @Date: 2022/10/23/17:40
* @Description: * @Description:
*/ */
@ -64,6 +64,12 @@ public class MyFavouredVisaCaseService {
return myFavouredVisaCaseRepository.findAllByUserId(userId).stream().collect(Collectors.toList()); return myFavouredVisaCaseRepository.findAllByUserId(userId).stream().collect(Collectors.toList());
} }
/**
* Get follow cases by userId
*
* @param userId
* @return
*/
public List<VisaCase> queryFavouredVisaCases(Long userId) { public List<VisaCase> queryFavouredVisaCases(Long userId) {
log.info("Query user: {} favoured visa cases", userId); log.info("Query user: {} favoured visa cases", userId);