/**
 * Copyright (c) 2022 雷掣 All rights reserved.
 *
 * https://www.lc_crm.com
 *
 * 版权所有，侵权必究！
 */

package io.renren.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import io.renren.common.service.impl.BaseServiceImpl;
import io.renren.dao.SysOssDao;
import io.renren.entity.SysOssEntity;
import io.renren.service.SysOssService;


@Service
public class SysOssServiceImpl extends BaseServiceImpl<SysOssDao, SysOssEntity> implements SysOssService {

	@Override
	public List<SysOssEntity> getFileByUser(Long userId) {
		return baseDao.selectList(new QueryWrapper<SysOssEntity>().eq("user_id", userId));
	}
}
