Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
log-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
log-platform
Commits
9d37f0c5
Commit
9d37f0c5
authored
Jun 20, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加设备日志类型筛选
parent
0e28a85f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
log-manager/src/main/java/com/mortals/xhx/module/access/web/AccessLogController.java
...om/mortals/xhx/module/access/web/AccessLogController.java
+1
-2
log-manager/src/main/java/com/mortals/xhx/module/biz/web/BizLogController.java
...java/com/mortals/xhx/module/biz/web/BizLogController.java
+1
-1
log-manager/src/main/java/com/mortals/xhx/module/error/web/ErrorLogController.java
.../com/mortals/xhx/module/error/web/ErrorLogController.java
+1
-1
log-manager/src/main/java/com/mortals/xhx/module/operate/web/OperateLogController.java
.../mortals/xhx/module/operate/web/OperateLogController.java
+1
-1
No files found.
log-manager/src/main/java/com/mortals/xhx/module/access/web/AccessLogController.java
View file @
9d37f0c5
...
@@ -58,8 +58,7 @@ public class AccessLogController extends BaseCRUDJsonBodyMappingController<Acces
...
@@ -58,8 +58,7 @@ public class AccessLogController extends BaseCRUDJsonBodyMappingController<Acces
@Override
@Override
protected
void
doListBefore
(
AccessLogEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
protected
void
doListBefore
(
AccessLogEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
List
<
OrderCol
>
orderColList
=
new
ArrayList
<>();
List
<
OrderCol
>
orderColList
=
new
ArrayList
<>();
orderColList
.
add
(
new
OrderCol
(
"createTime"
,
OrderCol
.
DESCENDING
));
orderColList
.
add
(
new
OrderCol
(
"id"
,
OrderCol
.
DESCENDING
));
orderColList
.
add
(
new
OrderCol
(
"spanId"
,
OrderCol
.
ASCENDING
));
query
.
setOrderColList
(
orderColList
);
query
.
setOrderColList
(
orderColList
);
super
.
doListBefore
(
query
,
model
,
context
);
super
.
doListBefore
(
query
,
model
,
context
);
}
}
...
...
log-manager/src/main/java/com/mortals/xhx/module/biz/web/BizLogController.java
View file @
9d37f0c5
...
@@ -52,7 +52,7 @@ public class BizLogController extends BaseCRUDJsonBodyMappingController<BizLogSe
...
@@ -52,7 +52,7 @@ public class BizLogController extends BaseCRUDJsonBodyMappingController<BizLogSe
@Override
@Override
protected
void
doListBefore
(
BizLogEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
protected
void
doListBefore
(
BizLogEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
List
<
OrderCol
>
orderColList
=
new
ArrayList
<>();
List
<
OrderCol
>
orderColList
=
new
ArrayList
<>();
orderColList
.
add
(
new
OrderCol
(
"
createTime
"
,
OrderCol
.
DESCENDING
));
orderColList
.
add
(
new
OrderCol
(
"
id
"
,
OrderCol
.
DESCENDING
));
query
.
setOrderColList
(
orderColList
);
query
.
setOrderColList
(
orderColList
);
super
.
doListBefore
(
query
,
model
,
context
);
super
.
doListBefore
(
query
,
model
,
context
);
}
}
...
...
log-manager/src/main/java/com/mortals/xhx/module/error/web/ErrorLogController.java
View file @
9d37f0c5
...
@@ -54,7 +54,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
...
@@ -54,7 +54,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
@Override
@Override
protected
void
doListBefore
(
ErrorLogEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
protected
void
doListBefore
(
ErrorLogEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
List
<
OrderCol
>
orderColList
=
new
ArrayList
<>();
List
<
OrderCol
>
orderColList
=
new
ArrayList
<>();
orderColList
.
add
(
new
OrderCol
(
"
createTime
"
,
OrderCol
.
DESCENDING
));
orderColList
.
add
(
new
OrderCol
(
"
id
"
,
OrderCol
.
DESCENDING
));
query
.
setOrderColList
(
orderColList
);
query
.
setOrderColList
(
orderColList
);
super
.
doListBefore
(
query
,
model
,
context
);
super
.
doListBefore
(
query
,
model
,
context
);
}
}
...
...
log-manager/src/main/java/com/mortals/xhx/module/operate/web/OperateLogController.java
View file @
9d37f0c5
...
@@ -60,7 +60,7 @@ public class OperateLogController extends BaseCRUDJsonBodyMappingController<Oper
...
@@ -60,7 +60,7 @@ public class OperateLogController extends BaseCRUDJsonBodyMappingController<Oper
@Override
@Override
protected
void
doListBefore
(
OperateLogEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
protected
void
doListBefore
(
OperateLogEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
List
<
OrderCol
>
orderColList
=
new
ArrayList
<>();
List
<
OrderCol
>
orderColList
=
new
ArrayList
<>();
orderColList
.
add
(
new
OrderCol
(
"
createTime
"
,
OrderCol
.
DESCENDING
));
orderColList
.
add
(
new
OrderCol
(
"
id
"
,
OrderCol
.
DESCENDING
));
query
.
setOrderColList
(
orderColList
);
query
.
setOrderColList
(
orderColList
);
super
.
doListBefore
(
query
,
model
,
context
);
super
.
doListBefore
(
query
,
model
,
context
);
}
}
...
...
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