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
740da820
Commit
740da820
authored
Jan 17, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
9269272c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
LogServiceImpl.java
.../java/com/egolm/film/api/service/impl/LogServiceImpl.java
+2
-2
Fc_logs_error.java
src/main/java/com/egolm/film/bean/Fc_logs_error.java
+1
-1
No files found.
src/main/java/com/egolm/film/api/service/impl/LogServiceImpl.java
View file @
740da820
...
...
@@ -11,7 +11,7 @@ import com.egolm.common.StringUtil;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.common.jdbc.Page
;
import
com.egolm.film.api.service.LogService
;
import
com.egolm.film.bean.Fc_error
;
import
com.egolm.film.bean.Fc_
logs_
error
;
import
com.egolm.film.util.SqlWhere
;
@Service
...
...
@@ -36,7 +36,7 @@ public class LogServiceImpl implements LogService {
for
(
StackTraceElement
elm
:
elms
)
{
stack
.
append
(
elm
.
getClassName
()
+
"."
+
elm
.
getMethodName
()
+
"("
+
elm
.
getFileName
()
+
" "
+
elm
.
getLineNumber
()
+
")"
).
append
(
"\n"
);
}
Fc_
error
error
=
new
Fc
_error
();
Fc_
logs_error
error
=
new
Fc_logs
_error
();
error
.
setError
(
stack
.
toString
());
error
.
setCreate_time
(
new
Date
());
jdbcTemplate
.
save
(
error
);
...
...
src/main/java/com/egolm/film/bean/Fc_error.java
→
src/main/java/com/egolm/film/bean/Fc_
logs_
error.java
View file @
740da820
...
...
@@ -9,7 +9,7 @@ import javax.persistence.Id;
import
java.util.Date
;
@Entity
(
name
=
"fc_error"
)
public
class
Fc_error
implements
java
.
io
.
Serializable
{
public
class
Fc_
logs_
error
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
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