Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
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
曲欣亮
sentinel
Commits
88c04861
Commit
88c04861
authored
Dec 28, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
8d25c378
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
96 additions
and
55 deletions
+96
-55
AdminAuthService.java
...ain/java/com/egolm/film/api/service/AdminAuthService.java
+1
-1
AdminAuthServiceImpl.java
...com/egolm/film/api/service/impl/AdminAuthServiceImpl.java
+1
-13
AdminAuthController.java
...ava/com/egolm/film/api/web/admin/AdminAuthController.java
+2
-3
Enum_doubtful.java
src/main/java/com/egolm/film/bean/Enum_doubtful.java
+3
-1
Enum_enroll.java
src/main/java/com/egolm/film/bean/Enum_enroll.java
+3
-1
Enum_filmtype.java
src/main/java/com/egolm/film/bean/Enum_filmtype.java
+3
-1
Fc_admin.java
src/main/java/com/egolm/film/bean/Fc_admin.java
+3
-1
Fc_admin_group.java
src/main/java/com/egolm/film/bean/Fc_admin_group.java
+3
-1
Fc_admin_group_filmtype.java
...ain/java/com/egolm/film/bean/Fc_admin_group_filmtype.java
+3
-1
Fc_admin_group_menu.java
src/main/java/com/egolm/film/bean/Fc_admin_group_menu.java
+3
-1
Fc_admin_menu.java
src/main/java/com/egolm/film/bean/Fc_admin_menu.java
+3
-1
Fc_email_record.java
src/main/java/com/egolm/film/bean/Fc_email_record.java
+4
-2
Fc_film_group.java
src/main/java/com/egolm/film/bean/Fc_film_group.java
+3
-1
Fc_logs.java
src/main/java/com/egolm/film/bean/Fc_logs.java
+4
-2
Fc_logs_ext.java
src/main/java/com/egolm/film/bean/Fc_logs_ext.java
+3
-1
Fc_member.java
src/main/java/com/egolm/film/bean/Fc_member.java
+3
-1
Fc_member_film.java
src/main/java/com/egolm/film/bean/Fc_member_film.java
+4
-2
Fc_member_film_enroll.java
src/main/java/com/egolm/film/bean/Fc_member_film_enroll.java
+3
-1
Fc_member_film_issuer.java
src/main/java/com/egolm/film/bean/Fc_member_film_issuer.java
+3
-1
Fc_member_film_playactor.java
...in/java/com/egolm/film/bean/Fc_member_film_playactor.java
+3
-1
Fc_member_film_show.java
src/main/java/com/egolm/film/bean/Fc_member_film_show.java
+3
-1
Fc_review.java
src/main/java/com/egolm/film/bean/Fc_review.java
+4
-2
Fc_review_doubtful.java
src/main/java/com/egolm/film/bean/Fc_review_doubtful.java
+4
-2
Fc_review_history.java
src/main/java/com/egolm/film/bean/Fc_review_history.java
+4
-2
Fc_review_record.java
src/main/java/com/egolm/film/bean/Fc_review_record.java
+4
-2
Fc_review_record_ext.java
src/main/java/com/egolm/film/bean/Fc_review_record_ext.java
+3
-1
Fc_user.java
src/main/java/com/egolm/film/bean/Fc_user.java
+4
-2
Fc_user_group.java
src/main/java/com/egolm/film/bean/Fc_user_group.java
+4
-2
Fc_user_group_enroll.java
src/main/java/com/egolm/film/bean/Fc_user_group_enroll.java
+5
-3
Fc_user_group_fun.java
src/main/java/com/egolm/film/bean/Fc_user_group_fun.java
+3
-1
No files found.
src/main/java/com/egolm/film/api/service/AdminAuthService.java
View file @
88c04861
...
...
@@ -28,7 +28,7 @@ public interface AdminAuthService {
List
<
Integer
>
queryGroupEnrolltypeList
(
Integer
group_id
);
void
updateGroupAuth
(
Integer
group_id
,
Integer
[]
menu_ids
,
Integer
[]
film_types
,
Integer
[]
enroll_types
);
void
updateGroupAuth
(
Integer
group_id
,
Integer
[]
menu_ids
,
Integer
[]
film_types
);
void
saveOrUpdateMenu
(
Fc_admin_menu
menu
);
...
...
src/main/java/com/egolm/film/api/service/impl/AdminAuthServiceImpl.java
View file @
88c04861
...
...
@@ -14,7 +14,6 @@ import com.egolm.common.jdbc.Page;
import
com.egolm.film.api.service.AdminAuthService
;
import
com.egolm.film.bean.Fc_admin
;
import
com.egolm.film.bean.Fc_admin_group
;
import
com.egolm.film.bean.Fc_admin_group_enrolltype
;
import
com.egolm.film.bean.Fc_admin_group_filmtype
;
import
com.egolm.film.bean.Fc_admin_group_menu
;
import
com.egolm.film.bean.Fc_admin_menu
;
...
...
@@ -114,7 +113,7 @@ public class AdminAuthServiceImpl implements AdminAuthService {
@Override
@Transactional
public
void
updateGroupAuth
(
Integer
group_id
,
Integer
[]
menu_ids
,
Integer
[]
film_types
,
Integer
[]
enroll_types
)
{
public
void
updateGroupAuth
(
Integer
group_id
,
Integer
[]
menu_ids
,
Integer
[]
film_types
)
{
jdbcTemplate
.
executeUpdate
(
"delete from fc_admin_group_menu where group_id = ?"
,
group_id
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_admin_group_filmtype where group_id = ?"
,
group_id
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_admin_group_enrolltype where group_id = ?"
,
group_id
);
...
...
@@ -138,17 +137,6 @@ public class AdminAuthServiceImpl implements AdminAuthService {
}
jdbcTemplate
.
batchSave
(
gtypeList
);
}
if
(
enroll_types
!=
null
&&
enroll_types
.
length
>
0
)
{
List
<
Fc_admin_group_enrolltype
>
typeList
=
new
ArrayList
<
Fc_admin_group_enrolltype
>();
for
(
Integer
enrollType
:
enroll_types
)
{
Fc_admin_group_enrolltype
type
=
new
Fc_admin_group_enrolltype
();
type
.
setGroup_id
(
group_id
);
type
.
setEnroll_type_id
(
enrollType
);
typeList
.
add
(
type
);
}
jdbcTemplate
.
batchSave
(
typeList
);
}
}
@Override
...
...
src/main/java/com/egolm/film/api/web/admin/AdminAuthController.java
View file @
88c04861
...
...
@@ -222,10 +222,9 @@ public class AdminAuthController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
true
,
allowMultiple
=
false
,
name
=
"group_id"
,
value
=
"组ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
true
,
allowMultiple
=
true
,
name
=
"menu_id"
,
value
=
"菜单ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
true
,
allowMultiple
=
true
,
name
=
"film_type_id"
,
value
=
"影片类型ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
true
,
allowMultiple
=
true
,
name
=
"enroll_type_id"
,
value
=
"影片性质ID"
),
})
public
Object
groupAuthUpdate
(
Integer
group_id
,
Integer
state
,
Integer
[]
menu_id
,
Integer
[]
film_type_id
,
Integer
[]
enroll_type_id
)
{
service
.
updateGroupAuth
(
group_id
,
menu_id
,
film_type_id
,
enroll_type_id
);
public
Object
groupAuthUpdate
(
Integer
group_id
,
Integer
state
,
Integer
[]
menu_id
,
Integer
[]
film_type_id
)
{
service
.
updateGroupAuth
(
group_id
,
menu_id
,
film_type_id
);
return
Rjx
.
jsonOk
();
}
...
...
src/main/java/com/egolm/film/bean/Enum_doubtful.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"enum_doubtful"
)
...
...
src/main/java/com/egolm/film/bean/Enum_enroll.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"enum_enroll"
)
...
...
src/main/java/com/egolm/film/bean/Enum_filmtype.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"enum_filmtype"
)
...
...
src/main/java/com/egolm/film/bean/Fc_admin.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_admin"
)
...
...
src/main/java/com/egolm/film/bean/Fc_admin_group.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_admin_group"
)
...
...
src/main/java/com/egolm/film/bean/Fc_admin_group_filmtype.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_admin_group_filmtype"
)
...
...
src/main/java/com/egolm/film/bean/Fc_admin_group_menu.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_admin_group_menu"
)
...
...
src/main/java/com/egolm/film/bean/Fc_admin_menu.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_admin_menu"
)
...
...
src/main/java/com/egolm/film/bean/Fc_email_record.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_email_record"
)
public
class
Fc_email_record
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_film_group.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_film_group"
)
...
...
src/main/java/com/egolm/film/bean/Fc_logs.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_logs"
)
public
class
Fc_logs
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_logs_ext.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_logs_ext"
)
...
...
src/main/java/com/egolm/film/bean/Fc_member.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_member"
)
...
...
src/main/java/com/egolm/film/bean/Fc_member_film.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_member_film"
)
public
class
Fc_member_film
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_member_film_enroll.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_member_film_enroll"
)
...
...
src/main/java/com/egolm/film/bean/Fc_member_film_issuer.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_member_film_issuer"
)
...
...
src/main/java/com/egolm/film/bean/Fc_member_film_playactor.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_member_film_playactor"
)
...
...
src/main/java/com/egolm/film/bean/Fc_member_film_show.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_member_film_show"
)
...
...
src/main/java/com/egolm/film/bean/Fc_review.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_review"
)
public
class
Fc_review
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_review_doubtful.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_review_doubtful"
)
public
class
Fc_review_doubtful
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_review_history.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_review_history"
)
public
class
Fc_review_history
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_review_record.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_review_record"
)
public
class
Fc_review_record
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_review_record_ext.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_review_record_ext"
)
...
...
src/main/java/com/egolm/film/bean/Fc_user.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_user"
)
public
class
Fc_user
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_user_group.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
java
.util.Date
;
import
java
x.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
java.util.Date
;
@Entity
(
name
=
"fc_user_group"
)
public
class
Fc_user_group
implements
java
.
io
.
Serializable
{
...
...
src/main/java/com/egolm/film/bean/Fc_
admin_group_enrolltype
.java
→
src/main/java/com/egolm/film/bean/Fc_
user_group_enroll
.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_
admin_group_enrolltype
"
)
public
class
Fc_
admin_group_enrolltype
implements
java
.
io
.
Serializable
{
@Entity
(
name
=
"fc_
user_group_enroll
"
)
public
class
Fc_
user_group_enroll
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
src/main/java/com/egolm/film/bean/Fc_user_group_fun.java
View file @
88c04861
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
@Entity
(
name
=
"fc_user_group_fun"
)
...
...
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