| | |
| | | package cn.gistack.sm.collect.service.impl; |
| | | |
| | | import cn.gistack.sm.collect.vo.CollectVO; |
| | | import cn.gistack.sm.collect.entity.UserCollect; |
| | | import cn.gistack.sm.collect.mapper.UserCollectMapper; |
| | | import cn.gistack.sm.collect.service.IUserCollectService; |
| | |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.ObjectUtil; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Service |
| | | public class UserCollectServiceImpl extends BaseServiceImpl<UserCollectMapper, UserCollect> implements IUserCollectService { |
| | |
| | | return baseMapper.getMyCollect(userCollect.getUserId()); |
| | | } |
| | | |
| | | @Override |
| | | public List<CollectVO> getMyCollectVO(String userId) { |
| | | return baseMapper.getMyCollectVO(userId); |
| | | } |
| | | |
| | | |
| | | } |