|
@@ -32,6 +32,7 @@ public class LoginHistoryRepository {
|
|
insert into mxk_history_login
|
|
insert into mxk_history_login
|
|
( id ,
|
|
( id ,
|
|
sessionid ,
|
|
sessionid ,
|
|
|
|
+ category ,
|
|
userid ,
|
|
userid ,
|
|
username ,
|
|
username ,
|
|
displayname ,
|
|
displayname ,
|
|
@@ -49,7 +50,7 @@ public class LoginHistoryRepository {
|
|
application ,
|
|
application ,
|
|
sessionstatus ,
|
|
sessionstatus ,
|
|
instid)
|
|
instid)
|
|
- values( ? , ? , ? , ? , ? , ? , ? , ?, ? , ? , ? , ?, ?, ? , ? , ?, ? , ? , ?)
|
|
|
|
|
|
+ values( ? , ? , ? , ? , ? , ? , ? , ?, ? , ? , ? , ?, ?, ? , ? , ?, ? , ? , ? , ?)
|
|
""";
|
|
""";
|
|
|
|
|
|
protected JdbcTemplate jdbcTemplate;
|
|
protected JdbcTemplate jdbcTemplate;
|
|
@@ -84,6 +85,7 @@ public class LoginHistoryRepository {
|
|
new Object[] {
|
|
new Object[] {
|
|
historyLogin.getId(),
|
|
historyLogin.getId(),
|
|
historyLogin.getSessionId(),
|
|
historyLogin.getSessionId(),
|
|
|
|
+ historyLogin.getCategory(),
|
|
historyLogin.getUserId(),
|
|
historyLogin.getUserId(),
|
|
historyLogin.getUsername(),
|
|
historyLogin.getUsername(),
|
|
historyLogin.getDisplayName(),
|
|
historyLogin.getDisplayName(),
|
|
@@ -105,6 +107,7 @@ public class LoginHistoryRepository {
|
|
new int[] {
|
|
new int[] {
|
|
Types.VARCHAR,
|
|
Types.VARCHAR,
|
|
Types.VARCHAR,
|
|
Types.VARCHAR,
|
|
|
|
+ Types.INTEGER,
|
|
Types.VARCHAR,
|
|
Types.VARCHAR,
|
|
Types.VARCHAR,
|
|
Types.VARCHAR,
|
|
Types.VARCHAR,
|
|
Types.VARCHAR,
|