1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.whyc.service;
 
import com.whyc.mapper.PermitGroupUserMapper;
import com.whyc.pojo.PermitGroup;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.List;
 
@Service
public class PermitGroupUserService {
 
    @Resource
    private PermitGroupUserMapper mapper;
 
    public List<PermitGroup> getPermitByUser(Long userId){
        return mapper.getPermitByUser(userId);
    }
 
}