Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
Project
Project
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
曲欣亮
member-api
Commits
545cee8b
Commit
545cee8b
authored
Dec 28, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
923aa379
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
11 deletions
+1
-11
AdminAuthService.java
...ain/java/com/egolm/film/api/service/AdminAuthService.java
+0
-2
AdminAuthServiceImpl.java
...com/egolm/film/api/service/impl/AdminAuthServiceImpl.java
+0
-7
AdminAuthController.java
...ava/com/egolm/film/api/web/admin/AdminAuthController.java
+1
-2
No files found.
src/main/java/com/egolm/film/api/service/AdminAuthService.java
View file @
545cee8b
...
@@ -26,8 +26,6 @@ public interface AdminAuthService {
...
@@ -26,8 +26,6 @@ public interface AdminAuthService {
List
<
Integer
>
queryGroupFilmtypeList
(
Integer
group_id
);
List
<
Integer
>
queryGroupFilmtypeList
(
Integer
group_id
);
List
<
Integer
>
queryGroupEnrolltypeList
(
Integer
group_id
);
void
updateGroupAuth
(
Integer
group_id
,
Integer
[]
menu_ids
,
Integer
[]
film_types
);
void
updateGroupAuth
(
Integer
group_id
,
Integer
[]
menu_ids
,
Integer
[]
film_types
);
void
saveOrUpdateMenu
(
Fc_admin_menu
menu
);
void
saveOrUpdateMenu
(
Fc_admin_menu
menu
);
...
...
src/main/java/com/egolm/film/api/service/impl/AdminAuthServiceImpl.java
View file @
545cee8b
...
@@ -104,13 +104,6 @@ public class AdminAuthServiceImpl implements AdminAuthService {
...
@@ -104,13 +104,6 @@ public class AdminAuthServiceImpl implements AdminAuthService {
return
list
;
return
list
;
}
}
@Override
public
List
<
Integer
>
queryGroupEnrolltypeList
(
Integer
group_id
)
{
String
s
=
"select film_type_id from fc_admin_group_enrolltype where group_id = ?"
;
List
<
Integer
>
list
=
jdbcTemplate
.
queryForObjects
(
s
,
Integer
.
class
,
group_id
);
return
list
;
}
@Override
@Override
@Transactional
@Transactional
public
void
updateGroupAuth
(
Integer
group_id
,
Integer
[]
menu_ids
,
Integer
[]
film_types
)
{
public
void
updateGroupAuth
(
Integer
group_id
,
Integer
[]
menu_ids
,
Integer
[]
film_types
)
{
...
...
src/main/java/com/egolm/film/api/web/admin/AdminAuthController.java
View file @
545cee8b
...
@@ -184,8 +184,7 @@ public class AdminAuthController {
...
@@ -184,8 +184,7 @@ public class AdminAuthController {
public
Object
groupAuthQuery
(
Integer
group_id
)
throws
FileNotFoundException
{
public
Object
groupAuthQuery
(
Integer
group_id
)
throws
FileNotFoundException
{
List
<
Map
<
String
,
Object
>>
groupMenuList
=
service
.
queryGroupMenuList
(
group_id
);
List
<
Map
<
String
,
Object
>>
groupMenuList
=
service
.
queryGroupMenuList
(
group_id
);
List
<
Integer
>
groupFilmtypeList
=
service
.
queryGroupFilmtypeList
(
group_id
);
List
<
Integer
>
groupFilmtypeList
=
service
.
queryGroupFilmtypeList
(
group_id
);
List
<
Integer
>
groupEnrolltypeList
=
service
.
queryGroupEnrolltypeList
(
group_id
);
return
Rjx
.
jsonOk
().
set
(
"groupMenuList"
,
groupMenuList
).
set
(
"groupFilmtypeList"
,
groupFilmtypeList
);
return
Rjx
.
jsonOk
().
set
(
"groupMenuList"
,
groupMenuList
).
set
(
"groupFilmtypeList"
,
groupFilmtypeList
).
set
(
"groupEnrolltypeList"
,
groupEnrolltypeList
);
}
}
@ResponseBody
@ResponseBody
...
...
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