fix
Helius
2021-07-15 cd657f34271f387edb8d72befbcdad37f7bed77a
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
package com.xzx.gc.role.rbac.da;
 
 
import com.xzx.gc.role.rbac.AccessType;
import com.xzx.gc.role.rbac.DataAccess;
import com.xzx.gc.role.rbac.DataAccessResullt;
import com.xzx.gc.role.service.CorePlatformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
/**
 * 所有机构
 * @author lijiazhi
 *
 */
@Component
public class AllGroupAccess implements DataAccess {
    
    @Autowired
    CorePlatformService platformService;
 
    @Override
    public DataAccessResullt getOrg(Long userId, Long orgId) {
    
        
        DataAccessResullt ret = new DataAccessResullt();
        ret.setStatus(AccessType.AllOrg);
        return ret;
        
    }
 
    @Override
    public String getName() {
        return "所有机构";
    }
 
    @Override
    public Integer getType() {
        return 5;
    }
 
}