Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
8952fac0
Commit
8952fac0
authored
Dec 10, 2017
by
naan1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改表名-login_log
parent
843fedab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
guns-admin/src/main/java/com/stylefeng/guns/common/persistence/model/LoginLog.java
+1
-1
guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/LoginLogController.java
+1
-1
guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/LogDao.xml
+1
-1
No files found.
guns-admin/src/main/java/com/stylefeng/guns/common/persistence/model/LoginLog.java
View file @
8952fac0
...
...
@@ -16,7 +16,7 @@ import java.util.Date;
* @author stylefeng
* @since 2017-07-11
*/
@TableName
(
"login_log"
)
@TableName
(
"
sys_
login_log"
)
public
class
LoginLog
extends
Model
<
LoginLog
>
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/LoginLogController.java
View file @
8952fac0
...
...
@@ -63,7 +63,7 @@ public class LoginLogController extends BaseController {
@Permission
(
Const
.
ADMIN_NAME
)
@ResponseBody
public
Object
delLog
()
{
SqlRunner
.
db
().
delete
(
"delete from login_log"
);
SqlRunner
.
db
().
delete
(
"delete from
sys_
login_log"
);
return
super
.
SUCCESS_TIP
;
}
}
guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/LogDao.xml
View file @
8952fac0
...
...
@@ -31,7 +31,7 @@
</select>
<select
id=
"getLoginLogs"
resultType=
"map"
parameterType=
"com.baomidou.mybatisplus.plugins.Page"
>
select * from login_log where 1 = 1
select * from
sys_
login_log where 1 = 1
<if
test=
"beginTime != null and beginTime !='' and endTime != null and endTime != ''"
>
and (createTime between CONCAT(#{beginTime},' 00:00:00') and CONCAT(#{endTime},' 23:59:59'))
</if>
...
...
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