|
|
@@ -94,6 +94,17 @@ import java.util.regex.Pattern;
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
+ // 函数名过滤
|
|
|
+ String methodName = mappedStatementId.substring(mappedStatementId.lastIndexOf(".") + 1);
|
|
|
+ List<String> ignoreFunctionList = dataScopeProperties.getIgnoreFunction();
|
|
|
+ if (ignoreFunctionList != null && !ignoreFunctionList.isEmpty()) {
|
|
|
+ for (String ignoreFunction : ignoreFunctionList) {
|
|
|
+ if (methodName.equals(ignoreFunction)) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
String currentUserDeptId = baseController.getUserDeptId();
|
|
|
String userDataScope = baseController.getUserDataScope();
|
|
|
String userSystemCode = baseController.getUserSystemCode();
|