/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.app.dto.UserCollectionShopDto;
import com.yami.shop.bean.model.UserCollectionShop;
import com.yami.shop.common.util.PageParam;
import com.yami.shop.dao.UserCollectionShopMapper;
import com.yami.shop.service.UserCollectionShopService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 用户店铺收藏记录
 *
 * @author LGH
 * @date 2019-09-25 15:38:30
 */
@Service
@AllArgsConstructor
public class UserCollectionShopServiceImpl extends ServiceImpl<UserCollectionShopMapper, UserCollectionShop> implements UserCollectionShopService {

    private final UserCollectionShopMapper userCollectionShopMapper;

    @Override
    public Page<UserCollectionShopDto> getUserCollectionShopPageByUserId(PageParam page, String userId, String shopName) {
        return userCollectionShopMapper.getUserCollectionShopPageByUserId(page,userId,shopName);
    }
}
