yangys
2024-03-31 53c8d3e3bd3596132b362f20e52aef380d493a84
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
package com.qianwen.smartman.modules.system.service.impl;
 
import java.util.Date;
import com.qianwen.smartman.common.constant.DncConstant;
import com.qianwen.core.datascope.annotation.DataAuth;
import com.qianwen.core.mp.base.BaseServiceImpl;
import com.qianwen.smartman.modules.system.entity.DataScope;
import com.qianwen.smartman.modules.system.mapper.DataScopeMapper;
import com.qianwen.smartman.modules.system.service.IDataScopeService;
import com.qianwen.smartman.modules.system.service.IMenuService;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Service;
 
@Service
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/service/impl/DataScopeServiceImpl.class */
public class DataScopeServiceImpl extends BaseServiceImpl<DataScopeMapper, DataScope> implements IDataScopeService {
    private ApplicationContext applicationContext;
    private IMenuService menuService;
 
    public DataScopeServiceImpl(final ApplicationContext applicationContext, final IMenuService menuService) {
        this.applicationContext = applicationContext;
        this.menuService = menuService;
    }
 
    public static void main(String[] args) {
        System.out.println(new Date().getClass().getPackage().getName().concat(DncConstant.POINT).concat(new Date().getClass().getSimpleName()));
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/service/impl/DataScopeServiceImpl$DataAuthCollect.class */
    public class DataAuthCollect {
        private DataAuth dataAuth;
        private String methodName;
        private String className;
 
        public void setDataAuth(final DataAuth dataAuth) {
            this.dataAuth = dataAuth;
        }
 
        public void setMethodName(final String methodName) {
            this.methodName = methodName;
        }
 
        public void setClassName(final String className) {
            this.className = className;
        }
 
        public boolean equals(final Object o) {
            if (o == this) {
                return true;
            }
            if (o instanceof DataAuthCollect) {
                DataAuthCollect other = (DataAuthCollect) o;
                if (other.canEqual(this)) {
                    Object this$dataAuth = getDataAuth();
                    Object other$dataAuth = other.getDataAuth();
                    if (this$dataAuth == null) {
                        if (other$dataAuth != null) {
                            return false;
                        }
                    } else if (!this$dataAuth.equals(other$dataAuth)) {
                        return false;
                    }
                    Object this$methodName = getMethodName();
                    Object other$methodName = other.getMethodName();
                    if (this$methodName == null) {
                        if (other$methodName != null) {
                            return false;
                        }
                    } else if (!this$methodName.equals(other$methodName)) {
                        return false;
                    }
                    Object this$className = getClassName();
                    Object other$className = other.getClassName();
                    return this$className == null ? other$className == null : this$className.equals(other$className);
                }
                return false;
            }
            return false;
        }
 
        protected boolean canEqual(final Object other) {
            return other instanceof DataAuthCollect;
        }
 
        public int hashCode() {
            Object $dataAuth = getDataAuth();
            int result = (1 * 59) + ($dataAuth == null ? 43 : $dataAuth.hashCode());
            Object $methodName = getMethodName();
            int result2 = (result * 59) + ($methodName == null ? 43 : $methodName.hashCode());
            Object $className = getClassName();
            return (result2 * 59) + ($className == null ? 43 : $className.hashCode());
        }
 
        public String toString() {
            return "DataScopeServiceImpl.DataAuthCollect(dataAuth=" + getDataAuth() + ", methodName=" + getMethodName() + ", className=" + getClassName() + ")";
        }
 
        public DataAuthCollect(final DataAuth dataAuth, final String methodName, final String className) {
            this.dataAuth = dataAuth;
            this.methodName = methodName;
            this.className = className;
        }
 
        public DataAuth getDataAuth() {
            return this.dataAuth;
        }
 
        public String getMethodName() {
            return this.methodName;
        }
 
        public String getClassName() {
            return this.className;
        }
    }
}