|
|
@@ -68,7 +68,7 @@ public class DataScopeSqlConfigService {
|
|
|
* 刷新 所有添加数据范围注解的接口方法配置<class.method,DataScopeSqlConfigDTO></>
|
|
|
*/
|
|
|
private Map<String, DataScopeSqlConfig> refreshDataScopeMethodMap() {
|
|
|
- Reflections reflections = new Reflections(new ConfigurationBuilder().setUrls(ClasspathHelper.forPackage("com.wx.blink.*")).setScanners(new MethodAnnotationsScanner()));
|
|
|
+ Reflections reflections = new Reflections(new ConfigurationBuilder().setUrls(ClasspathHelper.forPackage("com.wx.blink")).setScanners(new MethodAnnotationsScanner()));
|
|
|
Set<Method> methods = reflections.getMethodsAnnotatedWith(DataScope.class);
|
|
|
for (Method method : methods) {
|
|
|
DataScope dataScopeAnnotation = method.getAnnotation(DataScope.class);
|