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
8856f648
Commit
8856f648
authored
Dec 08, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xx
parent
97ed5c47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+6
-1
No files found.
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
8856f648
...
...
@@ -531,7 +531,12 @@ public class FilmServiceImpl implements FilmService {
if
(
count
>
0
)
{
Fc_member_film
film
=
list
.
get
(
0
);
Long
passtime
=
film
.
getPass_time
();
throw
new
XException
(
"该片名已经在"
+
DateUtil
.
format
(
new
Date
(
passtime
*
1000
),
"yyyy年MM月dd日HH"
)
+
"时被管理员通过,通过的影片ID号为"
+
film
.
getFilm_no
());
String
no
=
StringUtil
.
formatLength
(
film
.
getFilm_no
(),
"0000"
);
String
str
=
"通过"
;
if
(
film
.
getApply_state
().
intValue
()
==
3
)
{
str
=
"否决"
;
}
throw
new
XException
(
"该片名已经在"
+
DateUtil
.
format
(
new
Date
(
passtime
*
1000
),
"yyyy年MM月dd日HH"
)
+
"时被管理员"
+
str
+
",通过的影片ID号为"
+
no
);
}
}
}
...
...
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