Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
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
data-hook
gic-cloud
Commits
337166ab
Commit
337166ab
authored
Jun 11, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取数平台权限
parent
abffde53
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletions
+17
-1
FlatQueryTable.java
.../java/com/gic/cloud/data/hook/api/dto/FlatQueryTable.java
+10
-0
FlatQueryTableDao.xml
...k-service/src/main/resources/mapper/FlatQueryTableDao.xml
+2
-1
FlatQueryController.java
...java/com/gic/cloud/data/hook/web/FlatQueryController.java
+5
-0
No files found.
gic-cloud-data-hook-api/src/main/java/com/gic/cloud/data/hook/api/dto/FlatQueryTable.java
View file @
337166ab
...
@@ -138,4 +138,14 @@ public class FlatQueryTable implements Serializable {
...
@@ -138,4 +138,14 @@ public class FlatQueryTable implements Serializable {
public
void
setAuthStoreId
(
String
authStoreId
)
{
public
void
setAuthStoreId
(
String
authStoreId
)
{
this
.
authStoreId
=
authStoreId
;
this
.
authStoreId
=
authStoreId
;
}
}
private
String
authDesc
;
public
String
getAuthDesc
()
{
return
authDesc
;
}
public
void
setAuthDesc
(
String
authDesc
)
{
this
.
authDesc
=
authDesc
;
}
}
}
gic-cloud-data-hook-service/src/main/resources/mapper/FlatQueryTableDao.xml
View file @
337166ab
...
@@ -19,7 +19,8 @@
...
@@ -19,7 +19,8 @@
q.click_count,
q.click_count,
q.download_count,
q.download_count,
f.is_favo,
f.is_favo,
q.auth_store_id
q.auth_store_id,
q.auth_desc
</sql>
</sql>
<sql
id=
"queryJoins"
>
<sql
id=
"queryJoins"
>
...
...
gic-cloud-data-hook/src/main/java/com/gic/cloud/data/hook/web/FlatQueryController.java
View file @
337166ab
...
@@ -74,6 +74,11 @@ public class FlatQueryController {
...
@@ -74,6 +74,11 @@ public class FlatQueryController {
List
<
String
>
tables
=
new
ArrayList
<>();
List
<
String
>
tables
=
new
ArrayList
<>();
if
(
org
.
apache
.
commons
.
collections
.
CollectionUtils
.
isNotEmpty
(
list
)){
if
(
org
.
apache
.
commons
.
collections
.
CollectionUtils
.
isNotEmpty
(
list
)){
for
(
RightMenuDTO
menuDTO
:
list
){
for
(
RightMenuDTO
menuDTO
:
list
){
if
(
SessionContextUtils
.
getLoginUser
().
getSuperAdmin
()
!=
1
){
if
(
"extract_integral_cost_bill_m"
.
equals
(
menuDTO
.
getMenuCode
())){
continue
;
}
}
tables
.
add
(
menuDTO
.
getMenuCode
());
tables
.
add
(
menuDTO
.
getMenuCode
());
}
}
}
}
...
...
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