Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jgjy
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
svn
jgjy
Commits
59172c5a
提交
59172c5a
authored
5月 07, 2019
作者:
zhouzhigang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
上级
bfc1d801
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
8 行增加
和
5 行删除
+8
-5
LogController.java
...ava/com/zrqx/bg/sysuser/controller/log/LogController.java
+0
-1
logback.xml
com.zrqx.bg.sysuser/src/main/resources/logback.xml
+1
-1
Log.java
...re/src/main/java/com/zrqx/core/model/sysuser/log/Log.java
+5
-1
FgLogMapper.java
...main/java/com/zrqx/fg/sysuser/mapper/log/FgLogMapper.java
+2
-2
没有找到文件。
com.zrqx.bg.sysuser/src/main/java/com/zrqx/bg/sysuser/controller/log/LogController.java
浏览文件 @
59172c5a
...
...
@@ -8,7 +8,6 @@ import org.springframework.web.bind.annotation.RequestBody;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.zrqx.bg.sysuser.service.log.LogService
;
import
com.zrqx.core.constant.sysuser.SysUserRequestPath
;
import
com.zrqx.core.form.sysuser.bg.log.LogForm
;
...
...
com.zrqx.bg.sysuser/src/main/resources/logback.xml
浏览文件 @
59172c5a
...
...
@@ -5,7 +5,7 @@
debug=
"false"
scan=
"true"
scanPeriod=
"30 second"
>
<!--读取配置中心的属性-->
<springProperty
scope=
"context"
name=
"name"
source=
"spring.application.name"
/>
<property
name=
"ROOT"
value=
"/opt/logs/
mzy
y/sysuser/"
/>
<property
name=
"ROOT"
value=
"/opt/logs/
jgj
y/sysuser/"
/>
<property
name=
"FILESIZE"
value=
"10MB"
/>
<property
name=
"MAXHISTORY"
value=
"60"
/>
<property
name=
"DATETIME"
value=
"yyyy-MM-dd HH:mm:ss"
/>
...
...
com.zrqx.core/src/main/java/com/zrqx/core/model/sysuser/log/Log.java
浏览文件 @
59172c5a
...
...
@@ -6,7 +6,6 @@ import javax.persistence.GeneratedValue;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Transient
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -30,4 +29,9 @@ public class Log {
@Transient
@ApiModelProperty
(
"方法运行结果"
)
private
Object
result
;
/** {@link MemberTypeEnum} */
@ApiModelProperty
(
"日志类型"
)
private
String
type
;
@ApiModelProperty
(
"学校|出版社id"
)
private
String
relationId
;
}
com.zrqx.fg.sysuser/src/main/java/com/zrqx/fg/sysuser/mapper/log/FgLogMapper.java
浏览文件 @
59172c5a
...
...
@@ -17,10 +17,10 @@ public interface FgLogMapper extends BaseMapper<Log>{
+
" and m.createrAccount like concat(#{query.admin},'%') "
+
" </if> "
+
" <if test = '"
+
NOTBLANK
+
"(query.beginTime)'> "
+
" and m.
send
Time <![CDATA[ >= ]]> #{query.beginTime} "
+
" and m.
create
Time <![CDATA[ >= ]]> #{query.beginTime} "
+
" </if> "
+
" <if test = '"
+
NOTBLANK
+
"(query.endTime)'> "
+
" and m.
send
Time <![CDATA[ <= ]]> #{query.endTime} "
+
" and m.
create
Time <![CDATA[ <= ]]> #{query.endTime} "
+
" </if> "
+
" </script> "
)
List
<
Log
>
list
(
@Param
(
"query"
)
queryFgLogForm
query
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论