Commit 740da820 authored by Quxl's avatar Quxl

x

parent 9269272c
......@@ -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);
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment