月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-06-02 c31e03f0e51214a524d3fc34d30f3459698ff625
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package com.moon.server.service.sys;
 
import com.moon.server.entity.sys.AuthEntity;
import com.moon.server.mapper.sys.AuthMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * 权限表
 * @author sws
 * @date 2022-09-28
 */
@Service
public class AuthService implements AuthMapper {
    @Autowired
    AuthMapper authMapper;
 
    @Override
    public Integer selectCount(String name) {
        return authMapper.selectCount(name);
    }
 
    @Override
    public List<AuthEntity> selectByPage(String name, Integer limit, Integer offset) {
        return authMapper.selectByPage(name, limit, offset);
    }
 
    @Override
    public Integer selectCountForMenu(Integer menuid) {
        return authMapper.selectCountForMenu(menuid);
    }
 
    @Override
    public List<AuthEntity> selectByPageForMenu(Integer menuid, Integer limit, Integer offset) {
        return authMapper.selectByPageForMenu(menuid, limit, offset);
    }
 
    @Override
    public Integer insertAuth(AuthEntity authEntity) {
        return authMapper.insertAuth(authEntity);
    }
 
    @Override
    public Integer insertAuths(List<AuthEntity> authEntity) {
        return authMapper.insertAuths(authEntity);
    }
 
    @Override
    public Integer deleteAuth(int id) {
        return authMapper.deleteAuth(id);
    }
 
    @Override
    public Integer deleteAuths(List<Integer> ids) {
        return authMapper.deleteAuths(ids);
    }
 
    @Override
    public Integer updateAuth(AuthEntity authEntity) {
        return authMapper.updateAuth(authEntity);
    }
 
    @Override
    public AuthEntity selectAuth(int id) {
        return authMapper.selectAuth(id);
    }
 
    @Override
    public List<AuthEntity> selectAuthAll() {
        return authMapper.selectAuthAll();
    }
}