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
a566f92d
Commit
a566f92d
authored
Nov 26, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
35991217
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
FilmService.java
src/main/java/com/egolm/film/api/service/FilmService.java
+1
-1
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+3
-3
AdminFirstController.java
...va/com/egolm/film/api/web/admin/AdminFirstController.java
+4
-3
No files found.
src/main/java/com/egolm/film/api/service/FilmService.java
View file @
a566f92d
...
@@ -101,7 +101,7 @@ public interface FilmService {
...
@@ -101,7 +101,7 @@ public interface FilmService {
void
pass
(
Long
member_film_id
);
void
pass
(
Long
member_film_id
);
void
reject
(
Long
member_film_id
);
void
reject
(
Long
member_film_id
,
String
apply_state_intro
);
Fc_member_film
queryMemberFilmById
(
Long
member_film_id
);
Fc_member_film
queryMemberFilmById
(
Long
member_film_id
);
...
...
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
a566f92d
...
@@ -424,9 +424,9 @@ public class FilmServiceImpl implements FilmService {
...
@@ -424,9 +424,9 @@ public class FilmServiceImpl implements FilmService {
}
}
@Override
@Override
public
void
reject
(
Long
member_film_id
)
{
public
void
reject
(
Long
member_film_id
,
String
apply_state_intro
)
{
String
sql
=
"update fc_member_film set apply_state = ? where id = ?"
;
String
sql
=
"update fc_member_film set apply_state = ?
, apply_state_intro = ?
where id = ?"
;
jdbcTemplate
.
executeUpdate
(
sql
,
3
,
member_film_id
);
jdbcTemplate
.
executeUpdate
(
sql
,
3
,
apply_state_intro
,
member_film_id
);
}
}
@Override
@Override
...
...
src/main/java/com/egolm/film/api/web/admin/AdminFirstController.java
View file @
a566f92d
...
@@ -125,10 +125,11 @@ public class AdminFirstController {
...
@@ -125,10 +125,11 @@ public class AdminFirstController {
@PostMapping
(
"reject"
)
@PostMapping
(
"reject"
)
@ApiOperation
(
"初审拒绝"
)
@ApiOperation
(
"初审拒绝"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"申报影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"申报影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"apply_state_intro"
,
value
=
"拒绝理由,初审结论"
),
})
})
public
Object
reject
(
Long
member_film_id
)
{
public
Object
reject
(
Long
member_film_id
,
String
apply_state_intro
)
{
memberFilmService
.
reject
(
member_film_id
);
memberFilmService
.
reject
(
member_film_id
,
apply_state_intro
);
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
}
}
...
...
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