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
26e21ccc
Commit
26e21ccc
authored
Dec 10, 2017
by
naan1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改operation_log的表名
parent
f2cfad64
Show 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/OperationLog.java
+1
-1
guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/LogController.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/OperationLog.java
View file @
26e21ccc
...
@@ -16,7 +16,7 @@ import java.util.Date;
...
@@ -16,7 +16,7 @@ import java.util.Date;
* @author stylefeng
* @author stylefeng
* @since 2017-07-11
* @since 2017-07-11
*/
*/
@TableName
(
"operation_log"
)
@TableName
(
"
sys_
operation_log"
)
public
class
OperationLog
extends
Model
<
OperationLog
>
{
public
class
OperationLog
extends
Model
<
OperationLog
>
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/LogController.java
View file @
26e21ccc
...
@@ -82,7 +82,7 @@ public class LogController extends BaseController {
...
@@ -82,7 +82,7 @@ public class LogController extends BaseController {
@Permission
(
Const
.
ADMIN_NAME
)
@Permission
(
Const
.
ADMIN_NAME
)
@ResponseBody
@ResponseBody
public
Object
delLog
()
{
public
Object
delLog
()
{
SqlRunner
.
db
().
delete
(
"delete from operation_log"
);
SqlRunner
.
db
().
delete
(
"delete from
sys_
operation_log"
);
return
super
.
SUCCESS_TIP
;
return
super
.
SUCCESS_TIP
;
}
}
}
}
guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/LogDao.xml
View file @
26e21ccc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<mapper
namespace=
"com.stylefeng.guns.modular.system.dao.LogDao"
>
<mapper
namespace=
"com.stylefeng.guns.modular.system.dao.LogDao"
>
<select
id=
"getOperationLogs"
resultType=
"map"
>
<select
id=
"getOperationLogs"
resultType=
"map"
>
select * from operation_log where 1 = 1
select * from
sys_
operation_log where 1 = 1
<if
test=
"beginTime != null and beginTime !='' and endTime != null and endTime != ''"
>
<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'))
and (createTime between CONCAT(#{beginTime},' 00:00:00') and CONCAT(#{endTime},' 23:59:59'))
</if>
</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