Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hp-smart
Commits
02a23e9c
Commit
02a23e9c
authored
Mar 28, 2024
by
wasx8023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加系统参数开启关闭菜单数据权限
parent
4ff4bee3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
SqlMapDaoLogProxy.java
...sight/iplat4j/core/data/ibatis/dao/SqlMapDaoLogProxy.java
+5
-0
No files found.
src/main/java/com/baosight/iplat4j/core/data/ibatis/dao/SqlMapDaoLogProxy.java
View file @
02a23e9c
...
@@ -9,6 +9,7 @@ import com.baosight.hpjx.hp.xs.domain.Org;
...
@@ -9,6 +9,7 @@ import com.baosight.hpjx.hp.xs.domain.Org;
import
com.baosight.hpjx.hp.xs.tools.HPXSTools
;
import
com.baosight.hpjx.hp.xs.tools.HPXSTools
;
import
com.baosight.hpjx.util.AssertUtils
;
import
com.baosight.hpjx.util.AssertUtils
;
import
com.baosight.hpjx.util.StringUtils
;
import
com.baosight.hpjx.util.StringUtils
;
import
com.baosight.iplat4j.core.ioc.spring.PlatApplicationContext
;
import
com.baosight.iplat4j.core.service.soa.DomainQuery.PageStatus
;
import
com.baosight.iplat4j.core.service.soa.DomainQuery.PageStatus
;
import
com.baosight.iplat4j.core.util.ExceptionUtil
;
import
com.baosight.iplat4j.core.util.ExceptionUtil
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
...
@@ -209,6 +210,10 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
...
@@ -209,6 +210,10 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
if
(!
ThreadLocalTools
.
DATA_AUTH
.
get
())
{
if
(!
ThreadLocalTools
.
DATA_AUTH
.
get
())
{
return
;
return
;
}
}
String
authEnable
=
PlatApplicationContext
.
getProperty
(
"iplat4j.page.auth.enable"
);
if
(
StringUtils
.
isNotBlank
(
authEnable
)
&&
"0"
.
equals
(
authEnable
))
{
return
;
}
// 页面英文名
// 页面英文名
String
pageEname
=
ThreadLocalTools
.
FORM_ENAME
.
get
();
String
pageEname
=
ThreadLocalTools
.
FORM_ENAME
.
get
();
if
(
StringUtils
.
isBlank
(
pageEname
))
{
if
(
StringUtils
.
isBlank
(
pageEname
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment