xuefei
2020-12-10 eeeb7233935ea9b10e99043bdbf740ef86c9bf20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package cn.cetc54.platform.core.serviceimpl.mybatis;
 
import cn.cetc54.platform.core.dao.mapper.PermissionMapper;
import cn.cetc54.platform.core.service.mybatis.IPermissionService;
import cn.cetc54.platform.core.entity.Permission;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * @author
 */
@Service
public class IPermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {
 
    @Autowired
    private PermissionMapper permissionMapper;
 
    @Override
    public List<Permission> findByUserId(String userId) {
 
        return permissionMapper.findByUserId(userId);
    }
}